Hi,
We are facing issue with Match or Text Phrase with Slop value 5.
We have documents with below mentioned text and i am doing Match Phrase
query for "organize house" with slop value 5. And i have Snow Ball filter
for tokens.
So it should have matched only (1) as per the definition of Match Phrase
with order as organize first and house after organize in the sentence. I
feel something wrong because of Slop.
*(1) *Ever since I was girl my mom taught me the domestic work.I can to
cook cakes, cookies, to wash, to clean, Every Friday organize the house.
to care my sister, bring to school to my sister and help her do homework.I
like to keep clean my house, it's nice to be home. (It should have matched
this)
*(2) *In the time that I wasn't working and when I lives outside my house,
I was responsible to do some household duties like cook and clean the house,
organizing everything, make the bed and wash the dishes. (It should not
match this)
Can someone please explain it? Is there anything missing from my side?
Any idea or suggestion would be really appreciated.
Thanks
Ankur
On Friday, July 12, 2013 5:23:52 PM UTC+2, Ankur Gandhi wrote:
Hi,
We are facing issue with Match or Text Phrase with Slop value 5.
We have documents with below mentioned text and i am doing Match Phrase
query for "organize house" with slop value 5. And i have Snow Ball filter
for tokens.
So it should have matched only (1) as per the definition of Match Phrase
with order as organize first and house after organize in the sentence. I
feel something wrong because of Slop.
*(1) *Ever since I was girl my mom taught me the domestic work.I can to
cook cakes, cookies, to wash, to clean, Every Friday organize the house.
to care my sister, bring to school to my sister and help her do homework.I
like to keep clean my house, it's nice to be home. (It should have
matched this)
*(2) *In the time that I wasn't working and when I lives outside my
house, I was responsible to do some household duties like cook and clean
the house, organizing everything, make the bed and wash the dishes. (It
should not match this)
Can someone please explain it? Is there anything missing from my side?
Slop is like the Levenshtein edit distance but for word positions. It
doesn't preserve order (and it doesn't support deletions, ie all words must
be present).
Given the phrase query "quick brown fox", the document "brown quick jumping
fox" has a slop of 2:
Any idea or suggestion would be really appreciated.
Thanks
Ankur
On Friday, July 12, 2013 5:23:52 PM UTC+2, Ankur Gandhi wrote:
Hi,
We are facing issue with Match or Text Phrase with Slop value 5.
We have documents with below mentioned text and i am doing Match Phrase
query for "organize house" with slop value 5. And i have Snow Ball filter
for tokens.
So it should have matched only (1) as per the definition of Match Phrase
with order as organize first and house after organize in the sentence. I
feel something wrong because of Slop.
*(1) *Ever since I was girl my mom taught me the domestic work.I can to
cook cakes, cookies, to wash, to clean, Every Friday *organize the house
*. to care my sister, bring to school to my sister and help her do
homework.I like to keep clean my house, it's nice to be home. (It
should have matched this)
*(2) *In the time that I wasn't working and when I lives outside my
house, I was responsible to do some household duties like cook and clean
the house, organizing everything, make the bed and wash the dishes. (It
should not match this)
Can someone please explain it? Is there anything missing from my side?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.