lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Otis Gospodnetic <otis_gospodne...@yahoo.com>
Subject Re: Numbers in the Query String
Date Thu, 03 Feb 2005 22:29:13 GMT
Using different analyzers for indexing and searching is not
recommended.
Your numbers are not even in the index because you are using
StandardAnalyzer.  Use Luke to look at your index.

Otis


--- Hetan Shah <Hetan.Shah@Sun.COM> wrote:

> Hello,
> 
> How can one search for a document based on the query which has
> numbers 
> in the query srting.
> 
> e.g. query = Java 2 Platform J2EE
> 
> What do I need to do so that the numbers do not get neglected.
> 
> I am using StandardAnalyzer to index the pages and using StopAnalyzer
> to 
> search the documents. Would the use of two different analyzers cause
> any 
> trouble for the results?
> 
> Thanks.
> -H
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org
> 
> 


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


Mime
View raw message