Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default precision step, modulo tests #5908

Closed
wants to merge 4 commits into from

Conversation

rmuir
Copy link
Contributor

@rmuir rmuir commented Apr 22, 2014

See #5905

@@ -34,6 +34,16 @@ org.apache.lucene.index.IndexWriter#forceMergeDeletes(boolean) @ use Merges#forc
@defaultMessage QueryWrapperFilter is cachable by default - use Queries#wrap instead
org.apache.lucene.search.QueryWrapperFilter#<init>(org.apache.lucene.search.Query)

@defaultMessage Pass the precision step from the mappings explicitly instead
org.apache.lucene.search.NumericRangeQuery#newDoubleRange(java.lang.String,java.lang.Double,java.lang.Double,boolean,boolean)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

man those seem to be trappy - maybe we should deprecate them in Lucene as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@s1monw
Copy link
Contributor

s1monw commented Apr 22, 2014

I left some comments - looks good to me so far....

@rmuir
Copy link
Contributor Author

rmuir commented Apr 23, 2014

OK, I think this is ready.

One change i made: was to actually set the precisionStep in the fieldType passed to Lucene. This was just for consistency, so if something like https://issues.apache.org/jira/browse/LUCENE-5605 happens, it wont break.

@s1monw
Copy link
Contributor

s1monw commented Apr 23, 2014

LGTM please squash and push to 1.x & master. Can you make sure you have a nice commit message that explains the content with a headline and a footer that says Closes #5905

@rmuir rmuir closed this Apr 23, 2014
@clintongormley clintongormley added >enhancement v2.0.0-beta1 v1.2.0 :Search/Mapping Index mappings, including merging and defining field types labels Jun 7, 2015
@clintongormley clintongormley changed the title update default precision step, modulo tests Update default precision step, modulo tests Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Mapping Index mappings, including merging and defining field types v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants