Re: Spelling suggestions.
I think the issue is that you are trying to use WordBreakSolrSpellChecker (which was introduced in Solr 4.x version) in your Solr App of 3.5 version. You need to correct that. -- View this message in context: http://lucene.472066.n3.nabble.com/Spelling-suggestions-tp4083519p4083816.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Spelling suggestions.
Actually I don't have much knowledge about the files and configuring something with solr. Using apache-solr 3.5.0 and requesting the following URL I got the result as shown in the attachment: http://localhost:8983/solr/spell?q=delll ultrasharspellcheck=truespellcheck.collate=truespellcheck.build=true On editing solrconfig.xml, as given in the above link, restarting solr given the error: http://tny.cz/cccf5c8f Running http://localhost:8983/solr/ gives the error: http://tny.cz/0c533931 Here is my solrconfig.xml: http://tny.cz/4855ed9f Where is the problem? -- View this message in context: http://lucene.472066.n3.nabble.com/Spelling-suggestions-tp4083519p4083715.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Spelling suggestions.
The majority of the behavior outlined in that wiki page should work quite sufficiently for 3.5.0. Note that there are only a few items that are marked Solr4.0 only (DirectSolrSpellChecker and WordBreakSolrSpellChecker, for example). On Aug 9, 2013, at 6:26 AM, Kamaljeet Kaur kamal.kaur...@gmail.com wrote: Hello, I have just configured apache-solr with my django project. And its working fine with a very simple and basic searching. I want to add spelling suggestions, if user misspell any word in the string entered. In this particular mailing-list, I searched for it. Many have give the link: http://wiki.apache.org/solr/SpellCheckComponent#head-78f5afcf43df544832809abc68dd36b98152670c But I am using the version 3.5.0, Its for the version 1.3 Should i follow this tutorial or they are available for solr version 3.5.0 ? Thanks Kamaljeet Kaur -- View this message in context: http://lucene.472066.n3.nabble.com/Spelling-suggestions-tp4083519.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.
Re: Spelling Suggestions vs Correction
I have just been playing around with spell check and from what I can tell it does not do that automatically, you would need to program that in your application yourself, basically run a search, check the spellcheck, run the search again if needed, and present the results to the user, not all that complicated and you could do that recursively since you would not get a spellcheck back on the second pass. Cheers François On Jan 1, 2011, at 9:23 AM, TxCSguy wrote: 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.
Re: Spelling Suggestions vs Correction
Ah, didn't tumble to that Not that I know of. I suspect that the way to handle this would be to catch the response and inspect it and then fire off a second query yourself in the middleware layer. That gives you the chance to form the response page that the user sees and clearly show that that you did something other than what they requested, even though what they requested was nonsense. Best Erick On Sat, Jan 1, 2011 at 9:23 AM, TxCSguy markefonte...@gmail.com wrote: 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.
Re: Spelling Suggestions vs Correction
Here's a discussion of the difference between them, does that answer? http://lucene.472066.n3.nabble.com/spell-check-vs-terms-component-td1870214.html Best Erick On Fri, Dec 31, 2010 at 8:55 AM, TxCSguy markefonte...@gmail.com wrote: 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.