lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon McDuff <smcd...@hotmail.com>
Subject RE: Indexed BytesRef
Date Wed, 18 Jul 2012 16:09:39 GMT

Thank you Robert,



Thank you! 

It solves my problems!


> From: rcmuir@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/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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message