Hi Robert,

On 10/25/2010 at 8:20 AM, Robert Muir wrote:
> it is deprecated in trunk, because you can index binary terms (your
> own byte[]) directly if you want. To do this, you need to use a custom
> AttributeFactory.

It's not actually deprecated yet.

> See src/test/org/apache/lucene/index/Test2BTerms or
> https://issues.apache.org/jira/browse/LUCENE-2551 for examples of how
> to do this.

AFAICT, Test2BTerms only deals with the indexing side of this issue, and 
doesn't test searching.

LUCENE-2551 does, however, test searching.  Why hasn't this been committed yet? 
 I had just assumed that it was because fully indexable/searchable binary terms 
were not yet ready for prime time.

I hadn't realized that native binary terms were fully functional - is there any 
reason why integers (for example) could not be directly indexable/searchable?

Steve

Reply via email to