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 shalinman...@gmail.com wrote:

From: Shalin Shekhar Mangar shalinman...@gmail.com
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-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.


  requestHandler name=standard class=solr.SearchHandler  
default=true

!-- default values for query parameters --
 lst name=defaults
   str name=echoParamsexplicit/str
   !--
   int name=rows10/int
   str name=fl*/str
   str name=version2.1/str
--
 /lst
 arr name=last-components
   strspellcheck/str
 /arr
  /requestHandler


best
Ingo

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





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
 
 


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
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.


Solr search with Auto Spellchecker

2009-03-10 Thread Narayanan, Karthikeyan

   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
 
 


Solr search with Auto Spellchecker

2009-03-10 Thread Narayanan, Karthikeyan

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