Re: hl.usePhraseHighlighter defaults to true but Query form and wiki suggest otherwise
It was def intentional to make it default to true, but I believe that was changed at one point from initially defaulting to false - the doc was probably not updated and that slipped into he UI. Thanks for looking into this. - Mark On Apr 3, 2013, at 8:50 PM, Timothy Potter thelabd...@gmail.com wrote: Minor issues - It seems that the hl.usePhraseHighlighter is enabled by default, which definitely makes sense but the wiki says it's default value is false and the checkbox is unchecked by default on the Query form. This gives the impression this parameter defaults to false. I'm assuming the code is right in this case and we just need a JIRA to bring the Query form in-sync with the code. I can update the wiki ... just want to make sure that having this field enabled by default is the correct behavior before I update things. Cheers, Tim
Re: hl.usePhraseHighlighter
: Subject: hl.usePhraseHighlighter : References: 1281125904548-1031951.p...@n3.nabble.com : 960560.55971...@web52904.mail.re2.yahoo.com : In-Reply-To: 960560.55971...@web52904.mail.re2.yahoo.com http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email. Even if you change the subject line of your email, other mail headers still track which thread you replied to and your question is hidden in that thread and gets less attention. It makes following discussions in the mailing list archives particularly difficult. See Also: http://en.wikipedia.org/wiki/User:DonDiego/Thread_hijacking -Hoss
RE: hl.usePhraseHighlighter
Thanks so much for your help! It works. I really appreciate it. -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Monday, August 09, 2010 6:05 PM To: solr-user@lucene.apache.org Subject: RE: hl.usePhraseHighlighter I used text type and found the following in schema.xml. I don't know which ones I should remove. *** You should remove filter class=solr.EnglishPorterFilterFactory protected=protwords.txt/ from both index and query time.
Re: hl.usePhraseHighlighter
I am trying to do exactly match. For example, I hope only get study highlighted if I search study, not others (studies, studied and so on). This has nothing to do with highlighting and its parameters. You need to remove stem filter factory (porter, snowball) from your analyzer chain. Re-start solr and re-index is also necessary.
RE: hl.usePhraseHighlighter
Thanks so much for your help! I used text type and found the following in schema.xml. I don't know which ones I should remove. *** fieldType name=text class=solr.TextField positionIncrementGap=100 analyzer type=index tokenizer class=solr.WhitespaceTokenizerFactory/ !-- in this example, we will only use synonyms at query time filter class=solr.SynonymFilterFactory synonyms=index_synonyms.txt ignoreCase=true expand=false/ -- filter class=solr.StopFilterFactory ignoreCase=true words=stopwords.txt/ filter class=solr.WordDelimiterFilterFactory generateWordParts=1 generateNumberParts=1 catenateWords=1 catenateNumbers=1 catenateAll=0 splitOnCaseChange=1/ filter class=solr.LowerCaseFilterFactory/ filter class=solr.EnglishPorterFilterFactory protected=protwords.txt/ filter class=solr.RemoveDuplicatesTokenFilterFactory/ /analyzer analyzer type=query tokenizer class=solr.WhitespaceTokenizerFactory/ filter class=solr.SynonymFilterFactory synonyms=synonyms.txt ignoreCase=true expand=true/ filter class=solr.StopFilterFactory ignoreCase=true words=stopwords.txt/ filter class=solr.WordDelimiterFilterFactory generateWordParts=1 generateNumberParts=1 catenateWords=0 catenateNumbers=0 catenateAll=0 splitOnCaseChange=1/ filter class=solr.LowerCaseFilterFactory/ filter class=solr.EnglishPorterFilterFactory protected=protwords.txt/ filter class=solr.RemoveDuplicatesTokenFilterFactory/ /analyzer /fieldType *** -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com] Sent: Monday, August 09, 2010 4:32 PM To: solr-user@lucene.apache.org Subject: Re: hl.usePhraseHighlighter I am trying to do exactly match. For example, I hope only get study highlighted if I search study, not others (studies, studied and so on). This has nothing to do with highlighting and its parameters. You need to remove stem filter factory (porter, snowball) from your analyzer chain. Re-start solr and re-index is also necessary.
RE: hl.usePhraseHighlighter
I used text type and found the following in schema.xml. I don't know which ones I should remove. *** You should remove filter class=solr.EnglishPorterFilterFactory protected=protwords.txt/ from both index and query time.