panjiwa10028 / solr-php-client

Automatically exported from code.google.com/p/solr-php-client
Other
0 stars 0 forks source link

Patch: Implement spelling correction feature #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Apache Solr has an option to query the index for spelling suggestions. The
suggested patch builds out functionality in solr-php-client to make use of
this feature.

Notable changes are at lines 121, 299, and 979-1028

Original issue reported on code.google.com by robert.e...@gmail.com on 28 Apr 2010 at 5:58

Attachments:

GoogleCodeExporter commented 8 years ago
any chances this patch will be applied to trunk?

Original comment by r.gruend...@gmail.com on 16 Nov 2010 at 9:47

GoogleCodeExporter commented 8 years ago
Hi, 
I know I am writing this almost a year late and all, but could you enlighten me 
as to what special thing are you adding by this ? 

The spell check could be achieved without this patch by adding parameters to 
regular query right ? For example, I use this :  
$additionalParameters = array("spellcheck" => "true" , "spellcheck.collate" => 
"true");

What more advantage is this patch giving ?

Original comment by shrinath...@gtempaccount.com on 3 Mar 2011 at 5:12

GoogleCodeExporter commented 8 years ago
Wow, haven't seen this lately. 

To comment 2: yup, you're right. This should be updated to access a separate 
request handler for spelling, at the best case. I'd say that this one can 
actually be resolved.

Original comment by robert.e...@gmail.com on 10 May 2012 at 1:54