You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by deniz <de...@gmail.com> on 2012/10/09 10:33:01 UTC
Auto Correction?
Hi all,
I would like to ask if there are any ways to correct user's queries
automatically? I know there is spellchecker which *suggests* possible
correct words... The thing i wanna do is *automatically fixing* those
queries and running instead of the original one
for example
if our query is "mlky", it should automatically search for "milky"
there is synonyms filter for these, but it has to be pre populated (correct
me if i am wrong) so it wont be that useful for my case...
is there any way to do this without suggesting-only and synonym filters? if
so please give me some details
-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: http://lucene.472066.n3.nabble.com/Auto-Correction-tp4012666.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Auto Correction?
Posted by Ahmet Arslan <io...@yahoo.com>.
> so other than commercial solutions,
> it seems like i need to have plugin
> right? i couldnt find any open source solutions yet...
Yes you need to implement custom SearchComponent (plugin). http://wiki.apache.org/solr/SearchComponent
Or alternatively you can re-search suggestions at client time.
Re: Auto Correction?
Posted by deniz <de...@gmail.com>.
so other than commercial solutions, it seems like i need to have plugin
right? i couldnt find any open source solutions yet...
-----
Zeki ama calismiyor... Calissa yapar...
--
View this message in context: http://lucene.472066.n3.nabble.com/Auto-Correction-tp4012666p4013044.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Auto Correction?
Posted by Otis Gospodnetic <ot...@gmail.com>.
Hi,
Suggestion #1 is not always the best suggestion unfortunately. DYM
ReSearcher at http://sematext.com/products/dym-researcher/index.html
that Ahmet pointed to deals with this, among other things.
Otis
On Tue, Oct 9, 2012 at 12:24 PM, Amit Nithian <an...@gmail.com> wrote:
> What's preventing you from using the spell checker and take the #1
> result and re-issue the query from a sub-class of the query component?
> It should be reasonably fast to re-execute the query from the server
> side since you are already within Solr. You can modify the response to
> indicate that the new query was used so your client can display to the
> user that it searched automatically for "milky.. click here for
> searches for mlky" or something.
>
> On Tue, Oct 9, 2012 at 8:46 AM, Ahmet Arslan <io...@yahoo.com> wrote:
>>> I would like to ask if there are any ways to correct user's
>>> queries
>>> automatically? I know there is spellchecker which *suggests*
>>> possible
>>> correct words... The thing i wanna do is *automatically
>>> fixing* those
>>> queries and running instead of the original one
>>
>> not out of the box, you need to re-run suggestions at client side. There is an commercial product though.
>> http://sematext.com/products/dym-researcher/index.html
Re: Auto Correction?
Posted by Amit Nithian <an...@gmail.com>.
What's preventing you from using the spell checker and take the #1
result and re-issue the query from a sub-class of the query component?
It should be reasonably fast to re-execute the query from the server
side since you are already within Solr. You can modify the response to
indicate that the new query was used so your client can display to the
user that it searched automatically for "milky.. click here for
searches for mlky" or something.
On Tue, Oct 9, 2012 at 8:46 AM, Ahmet Arslan <io...@yahoo.com> wrote:
>> I would like to ask if there are any ways to correct user's
>> queries
>> automatically? I know there is spellchecker which *suggests*
>> possible
>> correct words... The thing i wanna do is *automatically
>> fixing* those
>> queries and running instead of the original one
>
> not out of the box, you need to re-run suggestions at client side. There is an commercial product though.
> http://sematext.com/products/dym-researcher/index.html
Re: Auto Correction?
Posted by Ahmet Arslan <io...@yahoo.com>.
> I would like to ask if there are any ways to correct user's
> queries
> automatically? I know there is spellchecker which *suggests*
> possible
> correct words... The thing i wanna do is *automatically
> fixing* those
> queries and running instead of the original one
not out of the box, you need to re-run suggestions at client side. There is an commercial product though.
http://sematext.com/products/dym-researcher/index.html