Re: Auto Correction of Solr Query

2013-07-31 Thread Otis Gospodnetic
Hi Siva,

I think I mention this several days ago... DYM ReSearcher will do that:
http://sematext.com/products/dym-researcher/index.html

Otis


On Tuesday, July 30, 2013, sivaprasad wrote:

> Hi,
>
> Is there any way to "auto correct" the Solr query and get the results? For
> example, user tries to search for "beats by dre" , but by mistake , he
> typed
> "beats bt dre". In this case, Solr should correct the query and return the
> results for "beats by dre".
>
> Is there any suggestions, how we can achieve this?
>
> -Siva
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Auto-Correction-of-Solr-Query-tp4081220.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>


-- 
Otis
--
Solr & ElasticSearch Support -- http://sematext.com/
Performance Monitoring -- http://sematext.com/spm


Re: Auto Correction of Solr Query

2013-07-30 Thread Jack Krupansky
Not at this time. It is a reasonable request, but Solr doesn't yet have that 
feature.


You might want to search Jira to see if it has been filed it. If not, file a 
request.


-- Jack Krupansky

-Original Message- 
From: sivaprasad

Sent: Tuesday, July 30, 2013 5:40 AM
To: solr-user@lucene.apache.org
Subject: Re: Auto Correction of Solr Query

Thank you for the quick response.

I checked the document on spellcheck.collate. Looks like, it is going to
return the suggestion to the client and the client need to make one more
request to the server with the suggestion.

Is there any way to "auto correct" at the server end?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Correction-of-Solr-Query-tp4081220p4081243.html
Sent from the Solr - User mailing list archive at Nabble.com. 



Re: Auto Correction of Solr Query

2013-07-30 Thread sivaprasad
Thank you for the quick response.

I checked the document on spellcheck.collate. Looks like, it is going to
return the suggestion to the client and the client need to make one more
request to the server with the suggestion.

Is there any way to "auto correct" at the server end?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Correction-of-Solr-Query-tp4081220p4081243.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto Correction of Solr Query

2013-07-30 Thread Artem Karpenko

Hi Siva,

you might want to consider spell check component: 
http://wiki.apache.org/solr/SpellCheckComponent. Parameter 
"collate=true" can be used to automatically replace query with the top 
suggestions.


Best,
Artem.

30.07.2013 10:31, sivaprasad пишет:

Hi,

Is there any way to "auto correct" the Solr query and get the results? For
example, user tries to search for "beats by dre" , but by mistake , he typed
"beats bt dre". In this case, Solr should correct the query and return the
results for "beats by dre".

Is there any suggestions, how we can achieve this?

-Siva



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Correction-of-Solr-Query-tp4081220.html
Sent from the Solr - User mailing list archive at Nabble.com.




Auto Correction of Solr Query

2013-07-30 Thread sivaprasad
Hi,

Is there any way to "auto correct" the Solr query and get the results? For
example, user tries to search for "beats by dre" , but by mistake , he typed
"beats bt dre". In this case, Solr should correct the query and return the
results for "beats by dre".

Is there any suggestions, how we can achieve this?

-Siva



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Auto-Correction-of-Solr-Query-tp4081220.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Auto Correction?

2012-10-11 Thread Ahmet Arslan
> 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?

2012-10-10 Thread deniz
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?

2012-10-09 Thread Otis Gospodnetic
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  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  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?

2012-10-09 Thread Amit Nithian
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  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?

2012-10-09 Thread Ahmet Arslan
> 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


Auto Correction?

2012-10-09 Thread deniz
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.