lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-3187) Store NumericField precisionStep in fnx file
Date Thu, 09 Jun 2011 10:18:58 GMT
Store NumericField precisionStep in fnx file
--------------------------------------------

                 Key: LUCENE-3187
                 URL: https://issues.apache.org/jira/browse/LUCENE-3187
             Project: Lucene - Java
          Issue Type: Improvement
          Components: core/index
    Affects Versions: 3.2, 3.1, 3.0, 2.9
            Reporter: Uwe Schindler


This is a similar problem like LUCENE-3186:

The following question was sent to user list: [http://mail-archives.apache.org/mod_mbox/lucene-java-user/201106.mbox/%3C614C529D389A5944B351F7DFB7594F24012AA214@uksrpblkexb01.detica.com%3E]

The main problem is that you have to pass the precision step and must knwo the field type
of numeric fields before doing a query, else you get wrong results. We can maybe store the
type and precision step in fnx file (like we do for stored numeric fields in FieldsWriter).

I am not sure whats the best way to do it (without too much code specialization), but it seems
a good idea. On the other hand, we don't store references to the Analyzer in the fnx file,
so why for numeric field (it's just like an analyzer - if you change it, results are wrong)?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message