Stemming and Phonetic highlighting does not work in Solr
up vote
0
down vote
favorite
I am using Stemming and phonetic in Solr. Search works perfectly fine it searches required documents and give results but highlighting does not work in case of stemming and phonetic.it gives my required stemming and phonetic words in search.
It highlights word like "run" but not running however it search the document which have word "running"
Please suggest
For this i have three fields -
1.Content (stored = true)
2.Content_Stemming (stored = false)
3.Content_phonetic (stored = false)
My url looks like -
http://example.com/solr/dev/select?q=content_stemming:run&hl=on&hl.simple.pre=%3Cem%3E
&hl.simple.post=%3C/em%3E&hl.field=content
Solr schema.xml
<field name="content" type="text_general" indexed="true" stored="true" multiValued="true"/>
<field name="content_phonetic" type="gaits_phonetic" indexed="true" stored="false" multiValued="true"/>
<field name="content_stemming" type="gaits_stemming" indexed="true" stored="false" multiValued="true"/></w:t>
<filter class="solr.KeywordRepeatFilterFactory" />
<filter class="solr.SnowballPorterFilterFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
c# solr stemming phonetics
add a comment |
up vote
0
down vote
favorite
I am using Stemming and phonetic in Solr. Search works perfectly fine it searches required documents and give results but highlighting does not work in case of stemming and phonetic.it gives my required stemming and phonetic words in search.
It highlights word like "run" but not running however it search the document which have word "running"
Please suggest
For this i have three fields -
1.Content (stored = true)
2.Content_Stemming (stored = false)
3.Content_phonetic (stored = false)
My url looks like -
http://example.com/solr/dev/select?q=content_stemming:run&hl=on&hl.simple.pre=%3Cem%3E
&hl.simple.post=%3C/em%3E&hl.field=content
Solr schema.xml
<field name="content" type="text_general" indexed="true" stored="true" multiValued="true"/>
<field name="content_phonetic" type="gaits_phonetic" indexed="true" stored="false" multiValued="true"/>
<field name="content_stemming" type="gaits_stemming" indexed="true" stored="false" multiValued="true"/></w:t>
<filter class="solr.KeywordRepeatFilterFactory" />
<filter class="solr.SnowballPorterFilterFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
c# solr stemming phonetics
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using Stemming and phonetic in Solr. Search works perfectly fine it searches required documents and give results but highlighting does not work in case of stemming and phonetic.it gives my required stemming and phonetic words in search.
It highlights word like "run" but not running however it search the document which have word "running"
Please suggest
For this i have three fields -
1.Content (stored = true)
2.Content_Stemming (stored = false)
3.Content_phonetic (stored = false)
My url looks like -
http://example.com/solr/dev/select?q=content_stemming:run&hl=on&hl.simple.pre=%3Cem%3E
&hl.simple.post=%3C/em%3E&hl.field=content
Solr schema.xml
<field name="content" type="text_general" indexed="true" stored="true" multiValued="true"/>
<field name="content_phonetic" type="gaits_phonetic" indexed="true" stored="false" multiValued="true"/>
<field name="content_stemming" type="gaits_stemming" indexed="true" stored="false" multiValued="true"/></w:t>
<filter class="solr.KeywordRepeatFilterFactory" />
<filter class="solr.SnowballPorterFilterFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
c# solr stemming phonetics
I am using Stemming and phonetic in Solr. Search works perfectly fine it searches required documents and give results but highlighting does not work in case of stemming and phonetic.it gives my required stemming and phonetic words in search.
It highlights word like "run" but not running however it search the document which have word "running"
Please suggest
For this i have three fields -
1.Content (stored = true)
2.Content_Stemming (stored = false)
3.Content_phonetic (stored = false)
My url looks like -
http://example.com/solr/dev/select?q=content_stemming:run&hl=on&hl.simple.pre=%3Cem%3E
&hl.simple.post=%3C/em%3E&hl.field=content
Solr schema.xml
<field name="content" type="text_general" indexed="true" stored="true" multiValued="true"/>
<field name="content_phonetic" type="gaits_phonetic" indexed="true" stored="false" multiValued="true"/>
<field name="content_stemming" type="gaits_stemming" indexed="true" stored="false" multiValued="true"/></w:t>
<filter class="solr.KeywordRepeatFilterFactory" />
<filter class="solr.SnowballPorterFilterFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
c# solr stemming phonetics
c# solr stemming phonetics
edited Nov 7 at 22:01
asked Nov 7 at 21:35
user662285
1,384155584
1,384155584
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53198187%2fstemming-and-phonetic-highlighting-does-not-work-in-solr%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown