lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert A. Decker" <dec...@robdecker.com>
Subject Re: is this possible in a query?
Date Thu, 01 Aug 2002 02:34:33 GMT
I think this may be what I end up doing... Unfortunately this means
reindexing the documents...

thanks,
rob

http://www.robdecker.com/
http://www.planetside.com/

On Wed, 31 Jul 2002 DMGoodstein@lbl.gov wrote:

> if you make the product name a type Field.Keyword, it will still be
> indexed and searchable, but will not be tokenized.
> --dmg
> 
> 
> ----- Original Message -----
> From: "Robert A. Decker" <decker@robdecker.com>
> Date: Wednesday, July 31, 2002 5:07 pm
> Subject: is this possible in a query?
> 
> > I have a Text Field named product. Two of the products are:
> > Cathflo OrthoMed
> > OrthoMed
> > 
> > When I search for "Cathflo OrthoMed", I correctly only get items 
> > that have
> > the product "Cathflo OrthoMed". However, when I search for 
> > "OrthoMed", not
> > only do I get all "OrthoMed" products, but I also get all "Cathflo
> > OrthoMed" products.
> > 
> > Is there a way, when searching on a Field.Text type, to limit the 
> > above"OrthoMed" search to only "OrthoMed", and to exclude "Cathflo
> > OrthoMed"? The solution has to be generic enough to work with any
> > combination of product names.
> > 
> > thanks,
> > rob
> > 
> > http://www.robdecker.com/
> > http://www.planetside.com/
> > 
> > 
> > --
> > To unsubscribe, e-mail:   <mailto:lucene-user-
> > unsubscribe@jakarta.apache.org>For additional commands, e-mail: 
> > <mailto:lucene-user-help@jakarta.apache.org>
> > 
> > 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>
> 


--
To unsubscribe, e-mail:   <mailto:lucene-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:lucene-user-help@jakarta.apache.org>


Mime
View raw message