lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Muir <rcm...@gmail.com>
Subject Re: Indexed BytesRef
Date Wed, 18 Jul 2012 14:40:08 GMT
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 <smcduff@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message