Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
yep, 4.3.1. The API changed after that so it’s finding the time to rewrite the entire backend that uses it On 17/06/2015 16:55, "Shalin Shekhar Mangar" wrote: >You must be using an old version of Solr. Since Solr 4.8 and beyond, >the and tags have been deprecated and you can place >the field a

Re: suggester returning stems instead of whole words

2015-06-17 Thread Shalin Shekhar Mangar
You must be using an old version of Solr. Since Solr 4.8 and beyond, the and tags have been deprecated and you can place the field and field type definitions anywhere in the schema.xml. See http://issues.apache.org/jira/browse/SOLR-5228 On Wed, Jun 17, 2015 at 9:09 PM, Alistair Young wrote: >

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
working in a tiny tmux window does have some disadvantages, such as losing one’s place in the file! the subject_autocomplete definition wasn’t inside . Now that it is, everything is working. thanks for listening Alistair -- mov eax,1 mov ebx,0 int 80h On 17/06/2015 15:17, "Alistair Young" w

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
looking at the schema browser, subject_autocomplete has a type of text_en rather than text_auto and all the terms are stemmed. Its contents are the same as the one it was copied from, dc.subject, which is text_en and stemmed. On 17/06/2015 14:58, "Erick Erickson" wrote: >Hmmm, shouldn't be happe

Re: suggester returning stems instead of whole words

2015-06-17 Thread Erick Erickson
Hmmm, shouldn't be happening that way. Spellcheck is supposed to be looking at indexed terms. If you go into the admin/schema browser page and look at the new field, what are the terms in the index? They shouldn't be stemmed. And I always get confused where this suggest is supposed to point. Do

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
yep did both of those things. Getting the same results as using dc.subject On 17/06/2015 14:44, "Shalin Shekhar Mangar" wrote: >Did you change the SpellCheckComponent's configuration to use >subject_autocomplete instead of dc.subject? After you made that >change, did you invoke spellcheck.build=

Re: suggester returning stems instead of whole words

2015-06-17 Thread Shalin Shekhar Mangar
Did you change the SpellCheckComponent's configuration to use subject_autocomplete instead of dc.subject? After you made that change, did you invoke spellcheck.build=true to re-build the spellcheck index? On Wed, Jun 17, 2015 at 7:06 PM, Alistair Young wrote: > copyField doesn¹t seem to fix the s

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
copyField doesn¹t seem to fix the suggestion stemming. Copying the field to another field of this type: but I¹m still getting stemmed suggestions after rebuilding the index. Alistair -- mov eax,1 mov ebx,0 int 80h On 17/06/2015 11:28, "Alistair Young" wrote: >ah look

Re: suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
ah looks like I need to use copyField to get a non stemmed version of the suggester field Alistair -- mov eax,1 mov ebx,0 int 80h On 17/06/2015 11:15, "Alistair Young" wrote: >I was wondering if there's a way to get the suggester to return whole >words. Instead of returning 'technology' ,

suggester returning stems instead of whole words

2015-06-17 Thread Alistair Young
I was wondering if there's a way to get the suggester to return whole words. Instead of returning 'technology' , 'temperature' and 'tutorial', it's returning 'technolog' , 'temperatur' and 'tutori' using this config: suggest org.apache.solr.spelling.suggest.Suggester org