Just making sure I understand this: you are correctly seeing highlights of
synonyms but incorrectly seeing highlights on the word after the synonym?
You never searched the word "forest" but it is highlighted any way, correct?
Before you file it I'd try searching for "forest" with an term filter on
just that "large forest in large" document's id to see what it highlights.
It ought to just highlight forest. If it doesn't then there is either a
problem with the wordnet file or how it is parsed.
Searching forest , i am getting the below highlight -
large forest in large
And for searching big or large
large forest in large
So conclusion is that on matching a term which don't have a synonym ,
things work fine
But while doing it on a term with synonym , every indexed term is getting
highlighting.
Few more example -
Text - the lake was frozen and high , all my team was at their best. Lets
do the best then
Search word - lake
Result - the lake was frozen and high , all my team was at
their best. Lets do the best then
Search word - high
Result - the lake was frozen and high , all
my team was at their best. Lets do the best then
Question - How did the term "all" , "my" and "best" got highlighted ?
Conclusion - Seems every indexed term is not getting highlighted. But there
is no pattern in which terms are highlighted. May be all terms having
synonym in the text are highlighted !!!
Search word - my
Result - the lake was frozen and high , all my team was at
their best. Lets do the best then
Conclusion - Above conclusion is wrong. If all terms with synonyms were
highlighted on any synonym match , it should have happened for my also.
Also i don't find any issue with analyser or the wordnet. You can see the
analyser output for the text "large forest" here -
As far as i can see , all the tokens are correctly identified and placed. I
feel this is a bug with highlighter.
Conclusion - I am not finding a pattern to this bug. Can i go ahead and
file an issue ?
Thanks
Vineeth
On Fri, Oct 25, 2013 at 7:02 PM, Nikolas Everett nik9000@gmail.com wrote:
Just making sure I understand this: you are correctly seeing highlights of
synonyms but incorrectly seeing highlights on the word after the synonym?
You never searched the word "forest" but it is highlighted any way, correct?
Before you file it I'd try searching for "forest" with an term filter on
just that "large forest in large" document's id to see what it highlights.
It ought to just highlight forest. If it doesn't then there is either a
problem with the wordnet file or how it is parsed.
Searching forest , i am getting the below highlight -
large forest in large
And for searching big or large
large forest in large
So conclusion is that on matching a term which don't have a synonym , things work fine
But while doing it on a term with synonym , every indexed term is getting highlighting.
Few more example -
Text - the lake was frozen and high , all my team was at their best. Lets do the best then
Search word - lake
Result - the lake was frozen and high , all my team was at their best. Lets do the best then
Search word - high
Result - the lake was frozen and high , all my team was at their best. Lets do the best then
Question - How did the term "all" , "my" and "best" got highlighted ?
Conclusion - Seems every indexed term is not getting highlighted. But there is no pattern in which terms are highlighted. May be all terms having synonym in the text are highlighted !!!
Search word - my
Result - the lake was frozen and high , all my team was at their best. Lets do the best then
Conclusion - Above conclusion is wrong. If all terms with synonyms were highlighted on any synonym match , it should have happened for my also.
Also i don't find any issue with analyser or the wordnet. You can see the analyser output for the text "large forest" here - gist:7165559 · GitHub
As far as i can see , all the tokens are correctly identified and placed. I feel this is a bug with highlighter.
Conclusion - I am not finding a pattern to this bug. Can i go ahead and file an issue ?
Thanks
Vineeth
On Fri, Oct 25, 2013 at 7:02 PM, Nikolas Everett nik9000@gmail.com wrote:
Just making sure I understand this: you are correctly seeing highlights of synonyms but incorrectly seeing highlights on the word after the synonym? You never searched the word "forest" but it is highlighted any way, correct?
Before you file it I'd try searching for "forest" with an term filter on just that "large forest in large" document's id to see what it highlights. It ought to just highlight forest. If it doesn't then there is either a problem with the wordnet file or how it is parsed.
Nik
On Thu, Oct 24, 2013 at 1:23 PM, vineeth mohan vm.vineethmohan@gmail.com wrote:
Hi , I strongly feel this as a bug.
Should i open a bug in the rep ?
Searching forest , i am getting the below highlight -
large forest in large
And for searching big or large
large forest in large
So conclusion is that on matching a term which don't have a synonym ,
things work fine
But while doing it on a term with synonym , every indexed term is getting
highlighting.
Few more example -
Text - the lake was frozen and high , all my team was at their best. Lets
do the best then
Search word - lake
Result - the lake was frozen and high , all my team was at
their best. Lets do the best then
Search word - high
Result - the lake was frozen and high , all
my team was at their best. Lets do the best then
Question - How did the term "all" , "my" and "best" got highlighted ?
Conclusion - Seems every indexed term is not getting highlighted. But
there is no pattern in which terms are highlighted. May be all terms having
synonym in the text are highlighted !!!
Search word - my
Result - the lake was frozen and high , all my team was at
their best. Lets do the best then
Conclusion - Above conclusion is wrong. If all terms with synonyms were
highlighted on any synonym match , it should have happened for my also.
Also i don't find any issue with analyser or the wordnet. You can see the
analyser output for the text "large forest" here - gist:7165559 · GitHub
As far as i can see , all the tokens are correctly identified and placed.
I feel this is a bug with highlighter.
Conclusion - I am not finding a pattern to this bug. Can i go ahead and
file an issue ?
Thanks
Vineeth
On Fri, Oct 25, 2013 at 7:02 PM, Nikolas Everett nik9000@gmail.comwrote:
Just making sure I understand this: you are correctly seeing highlights
of synonyms but incorrectly seeing highlights on the word after the
synonym? You never searched the word "forest" but it is highlighted any
way, correct?
Before you file it I'd try searching for "forest" with an term filter on
just that "large forest in large" document's id to see what it highlights.
It ought to just highlight forest. If it doesn't then there is either a
problem with the wordnet file or how it is parsed.
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.