Here's a test indexing some binary terms

http://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/TestBinaryTerms.java

It uses BinaryTokenStream
(http://svn.apache.org/repos/asf/lucene/dev/trunk/lucene/core/src/test/org/apache/lucene/index/BinaryTokenStream.java)
to index bytes directly as terms (not tokenized at all, etc).


On Wed, Jul 18, 2012 at 10:35 AM, Simon McDuff <smcd...@hotmail.com> wrote:
>
> Hi,
>
> I'm using Lucene 4.0.
>
> I would like to index String,
> but since my system required High volume I need to reuse always the
> same memory. No question to use String.
>
> My process receives bytes and I can transform it in BytesRef (representing a 
> String)
>
> At the moment, it seems that when I use field containing BytesRef, it doesn`t 
> allow me to index it. (I don`t want to store it).
>
> Thank you
>
>
>
>
>
>



-- 
lucidimagination.com

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to