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: Searching Query !!!
Date Fri, 13 Aug 2004 14:10:59 GMT
You need to keep a list of common words (aka stop words) somewhere. 
Then you can tokenize your input query, and check each token (each
query word) against your list.  You should probably use the same list
of stop/common words as the one that you are likely feeding into your
Analyzer at index and search time.

Otis

--- "Natarajan.T" <natarajant@crimsonlogic.co.in> wrote:

> FYI,
>  
>  User enter the search query is like "What is java" 
>  
>  Here "is" a common word  how can I find out common words.
>  
>  I need the result like 
>  
>  "is" a common word and not include your search.
>  
>  
>  
> Thanks,
> Natarajan.
>  
> 


---------------------------------------------------------------------
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