Re: Solr search with Auto Spellchecker

2009-03-17 Thread Ingo Renner


Am 17.03.2009 um 14:39 schrieb Shyamsunder Reddy:

I have the same question in mind. How can I configure the same  
standard request handler to handle the spell check for given query?
I mean instead of calling http://localhost:8983/solr/spellCheckCompRH?q=*:*&spellcheck.q=globl 
 for spelling checking the following query request

should take care of both querying and spell checking:
http://localhost:8983/solr/select?q=globl


in your solrconfig.xml add the spellchecker component to your standard  
request handler.


  default="true">


 
   explicit
   
 
 
   spellcheck
 
  


best
Ingo

--
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2





Re: Solr search with Auto Spellchecker

2009-03-17 Thread Shyamsunder Reddy
I have the same question in mind. How can I configure the same standard request 
handler to handle the spell check for given query?
I mean instead of calling 
http://localhost:8983/solr/spellCheckCompRH?q=*:*&spellcheck.q=globl for 
spelling checking the following query request
should take care of both querying and spell checking:
http://localhost:8983/solr/select?q=globl


--- On Wed, 3/11/09, Shalin Shekhar Mangar  wrote:

From: Shalin Shekhar Mangar 
Subject: Re: Solr search with Auto Spellchecker
To: solr-user@lucene.apache.org
Date: Wednesday, March 11, 2009, 9:33 AM

On Wed, Mar 11, 2009 at 7:00 PM, Narayanan, Karthikeyan <
karthikeyan.naraya...@gs.com> wrote:

> Is it possible get the search results from the spell corrected word in a
> single solr search query?.  Like I search for the word "globl" and the
> correct spelling is "global".. The query should return results matching
> with the word "global".  Would appreciate any ideas..
>
>
No, you'll need to make two queries.

-- 
Regards,
Shalin Shekhar Mangar.



  

RE: Solr search with Auto Spellchecker

2009-03-11 Thread Narayanan, Karthikeyan
Shalin,
Thanks for info... 


Thanks.
  
Karthik


-Original Message-
From: Shalin Shekhar Mangar [mailto:shalinman...@gmail.com] 
Sent: Wednesday, March 11, 2009 9:33 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr search with Auto Spellchecker

On Wed, Mar 11, 2009 at 7:00 PM, Narayanan, Karthikeyan <
karthikeyan.naraya...@gs.com> wrote:

> Is it possible get the search results from the spell corrected word in
a
> single solr search query?.  Like I search for the word "globl" and the
> correct spelling is "global".. The query should return results
matching
> with the word "global".  Would appreciate any ideas..
>
>
No, you'll need to make two queries.

-- 
Regards,
Shalin Shekhar Mangar.


Re: Solr search with Auto Spellchecker

2009-03-11 Thread Shalin Shekhar Mangar
On Wed, Mar 11, 2009 at 7:00 PM, Narayanan, Karthikeyan <
karthikeyan.naraya...@gs.com> wrote:

> Is it possible get the search results from the spell corrected word in a
> single solr search query?.  Like I search for the word "globl" and the
> correct spelling is "global".. The query should return results matching
> with the word "global".  Would appreciate any ideas..
>
>
No, you'll need to make two queries.

-- 
Regards,
Shalin Shekhar Mangar.


RE: Solr search with Auto Spellchecker

2009-03-11 Thread Narayanan, Karthikeyan
Is it possible get the search results from the spell corrected word in a
single solr search query?.  Like I search for the word "globl" and the
correct spelling is "global".. The query should return results matching
with the word "global".  Would appreciate any ideas.. 


Thanks.
Karthik



> _ 
> From: Narayanan, Karthikeyan  
> Sent: Tuesday, March 10, 2009 9:43 AM
> To:   'solr-user@lucene.apache.org'
> Subject:  Solr search with Auto Spellchecker 
> 
> 
>   Hello All,
>  Am trying to implement spell checker in
> the Solr search.  I am able to get the suggestions by passing
> 'spellcheck=true'.  But I want the search results  from the spell
> corrected word.
>   How do I achieve that?.  Thanks in Advance.
> 
>   Thanks.
>   Karthik
> 
>