lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BOUDOT Christian <>
Subject RE: free text search with numbers
Date Fri, 01 Jul 2005 13:31:36 GMT
Thanks for the link.



-----Original Message-----
From: Erik Hatcher [] 
Sent: 01 July 2005 15:11
Subject: Re: free text search with numbers

On Jul 1, 2005, at 8:06 AM, BOUDOT Christian wrote:
> It is the first time that I implement a search with Lucene, so  
> please don't
> laugh if my question seam trivial.
> When I enter some text in my free text search the query gets build  
> correctly
> but when I enter number (as string) the query parser seam to ignore  
> them.
> What am I doing wrong?
> Query:
> Parser: org.apache.lucene.queryParser.MultiFieldQueryParser

Chris - the answer to this dilemma is here: 

In short, the analyzer is eating the numbers as it was designed to do  
- you'll want to adjust the analyzer to achieve the indexing/ 
searching for numbers somehow.


To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message