RE: Indexed BytesRef

2012-07-18 Thread Simon McDuff
Thank you Robert, Thank you! It solves my problems! > From: rcm...@gmail.com > Date: Wed, 18 Jul 2012 10:40:08 -0400 > Subject: Re: Indexed BytesRef > To: java-user@lucene.apache.org > > Here's a test indexing some binary terms > > http://svn.apache.org/repo

Re: Indexed BytesRef

2012-07-18 Thread Robert Muir
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.ja

Indexed BytesRef

2012-07-18 Thread Simon McDuff
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 fiel