You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@lucene.apache.org by SBS <jt...@uow.edu.au> on 2011/07/25 07:15:05 UTC
How NOT to ignore words normally considered extraneous?
It seems that Lucene is (by default at least) ignoring and therefore not
indexing words which may usually be considered extraneous such as "not",
"who", "the" etc. For our usage we really need all words to be indexed and
to be searchable. Is it possible to configure the indexing process somehow
so that this can be achieved?
Thanks,
-sbs
--
View this message in context: http://lucene.472066.n3.nabble.com/How-NOT-to-ignore-words-normally-considered-extraneous-tp3196569p3196569.html
Sent from the Lucene - General mailing list archive at Nabble.com.
Re: How NOT to ignore words normally considered extraneous?
Posted by Chris Hostetter <ho...@fucit.org>.
: It seems that Lucene is (by default at least) ignoring and therefore not
: indexing words which may usually be considered extraneous such as "not",
: "who", "the" etc. For our usage we really need all words to be indexed and
: to be searchable. Is it possible to configure the indexing process somehow
: so that this can be achieved?
You'll need to be specific about how you are using Lucene. Most likely
you are using something that is using the "StopFilter" along with a set of
common english words (possible from the default set in the StopFilter
class)
if you change the Analyzer you use to something that doesn't use
StopFilter, or change the word set used by StopFilter, you can change this
behavior.
how you do that depends on how you are using Lucene.
if you are using hte Lucene java library, please send followup questions
to the java-user@lucene mailing list. if you are using solr, please us
hte solr-user@lucene mailing list, etc...
http://lucene.apache.org/mail.html
-Hoss