Synonyms at index time
Hi, I'm not sure if this question is better posted in Solr - User or Solr - Dev, but I'll start here. I'm interested to find some documentation that describes in detail how synonym expansion is handled at index time. http://www.lucidimagination.com/blog/2009/03/18/exploring-lucenes-indexing-code-part-2/ This article explains what the index looks like for three example documents. However, I'm looking for some documentation about what the index (the inverted index) looks like when synonyms are thrown into the mix. Thanks in advance for your help. -Mark -- View this message in context: http://lucene.472066.n3.nabble.com/Synonyms-at-index-time-tp2232470p2232470.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Spelling Suggestions vs Correction
Thanks for the Reply Erick. I read through the link you provided as well as http://wiki.apache.org/solr/TermsComponent http://wiki.apache.org/solr/TermsComponent but that doesn't seem to be what I'm looking for. If a user searches for "pell", is there a way to have SOLR modify the query such that the highest-ranked spell correction ("dell" in this example) is search for by the query component rather than "pell". Right now, it seems that all that is happening is that "dell" is being returned as a suggestion, but the query component is still searching with "pell". Thanks in advance! -Mark -- View this message in context: http://lucene.472066.n3.nabble.com/Spelling-Suggestions-vs-Correction-tp2172572p2176048.html Sent from the Solr - User mailing list archive at Nabble.com.
Spelling Suggestions vs Correction
Hi, I am trying to clear up some confusion about SOLR's spell check functionality. Being new to SORL and Lucene as well, I was under the assumption that spellcheck would take a query entered by a user and end up actually querying the index based upon the corrections returned by the spellcheck component. For example (referring to the sample data that comes with SOLR), let's say that the user issues a search for "sell" when what they really are looking for is "dell". So the spellcheck component is returning the suggestion of "dell" (I can see this in the response) but still searching the index for "sell". So my questions are: 1) Is my example above a correct representation of what is happening by incorporating the spellcheck component in? 2) Is there a way to actually search for the corrected version (dell) rather than the original version (sell)? Thanks in advance for any help, Mark -- View this message in context: http://lucene.472066.n3.nabble.com/Spelling-Suggestions-vs-Correction-tp2172572p2172572.html Sent from the Solr - User mailing list archive at Nabble.com.