Understanding Index Analyzers


(Yooz) #1

Hi all,

We recently ran into an issue where querying for common words (and, or,
not, are, etc) with a text phrase query was necessary. Unfortunately, we
used the default analyzers and presumably removed all of these [english]
stop words. (Stop Token Filter). Is there any way to query for the common
words with the current index, or do we have to reindex our data with the
correct analyzers configured (i.e. simple analyzer).

Thanks!
--young

--


(Sang Dang) #2

Hi,
I think you could try with lowercase tokenizer.

On Tuesday, September 18, 2012 3:40:46 AM UTC+7, Yooz wrote:

Hi all,

We recently ran into an issue where querying for common words (and, or,
not, are, etc) with a text phrase query was necessary. Unfortunately, we
used the default analyzers and presumably removed all of these [english]
stop words. (Stop Token Filter). Is there any way to query for the common
words with the current index, or do we have to reindex our data with the
correct analyzers configured (i.e. simple analyzer).

Thanks!
--young

--


(Chris Male) #3

Hi,

Unfortunately if you have removed stop words then you will need to re-index
to get them back.

On Tuesday, September 18, 2012 8:40:46 AM UTC+12, Yooz wrote:

Hi all,

We recently ran into an issue where querying for common words (and, or,
not, are, etc) with a text phrase query was necessary. Unfortunately, we
used the default analyzers and presumably removed all of these [english]
stop words. (Stop Token Filter). Is there any way to query for the common
words with the current index, or do we have to reindex our data with the
correct analyzers configured (i.e. simple analyzer).

Thanks!
--young

--


(system) #4