20 mar 2007 kl. 07.40 skrev thomas arni:
You can adapt the source code of StopAnalyzer.java in the analysis
package, or I suppose you can use the default constructor with a
empty stop word list (but please check this).
I often do this:
analyzer = new ...Analyzer(Collection.EMPTY_SET);
an
any word.How to do this?. And also doing this will afffect any performance or
not?
Thanks...
- Original Message
From: Grant Ingersoll <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Monday, 19 March, 2007 5:47:40 PM
Subject: Re: Common Words ignoring problem
O
: java-user@lucene.apache.org
Sent: Monday, 19 March, 2007 5:47:40 PM
Subject: Re: Common Words ignoring problem
One of the constructors for StandardAnalyzer allows you to set your
stop words. If you use the default constructor, you get the default
set of stop words, which is in StopAnalyzer.ENGLISH_STOP_WOR
One of the constructors for StandardAnalyzer allows you to set your
stop words. If you use the default constructor, you get the default
set of stop words, which is in StopAnalyzer.ENGLISH_STOP_WORDS.
-Grant
On Mar 19, 2007, at 6:14 AM, aslam bari wrote:
Hello All,
I am using StandarAnalyz
Hello All,
I am using StandarAnalyzer for indexing documents. Then i make a query to
search some words with And query.
For example I need to search for a document which contains followings all words
" this is garden".
I think when lucene index the document , it ignores some common words like
"