[ 
https://issues.apache.org/jira/browse/LUCENE-3001?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13012689#comment-13012689
 ] 

Michael McCandless commented on LUCENE-3001:
--------------------------------------------

With stored fields we are free to store flags w/ each stored field.  Meaning, 
each doc has its own "private schema".

EG we can record that "this field is a NumericField" and store it in binary 
format.

Then, we can also provide a NumericField at search time (instead of "normal" 
field from converting the numeric value from indexing time, to a string).

Does that help?  Is the binary format better/preferred (because it's more 
compact)?

> Add TrieFieldHelper lucene so we can write solr compatible Trie* fields w/o 
> solr dependency
> -------------------------------------------------------------------------------------------
>
>                 Key: LUCENE-3001
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3001
>             Project: Lucene - Java
>          Issue Type: New Feature
>            Reporter: Ryan McKinley
>            Priority: Minor
>         Attachments: LUCENE-3001-TrieFieldHelper.patch
>
>
> The solr support for numeric fields writes the stored value as binary vs the 
> lucene NumericField
> We should move this logic to a helper class in lucene core so that libraries 
> that do not depend on solr can write TrieFields that solr can read.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to