Re: PHP Solr Client - spellchecker

2014-03-12 Thread rachun
Thank you very much Shawn, Now i'm trying to use prefix for my suggestion instead. Best regards, Chun -- View this message in context: http://lucene.472066.n3.nabble.com/PHP-Solr-Client-spellchecker-tp4122780p4123054.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: PHP Solr Client - spellchecker

2014-03-11 Thread Shawn Heisey
On 3/11/2014 2:40 AM, rachun wrote: > $q='macbook'; > $client = new SolrClient($config); > $query = new SolrQuery(); > $query->setQuery($q); > $query->addParam("shards.qt","/spell"); > $query->addParam("fl","product_name_th"); > > $query_response = $client->query($query); > $result = $query_respon

PHP Solr Client - spellchecker

2014-03-11 Thread rachun
org.apache.solr.core.SolrCore; [collection1] webapp=/solr path=/spell params={spellcheck=true&extendedResults=true&fl=product_name_th&spellcheck.accuracy=0.8&q=macbook&spellcheck.collate=true&qt=spellchecker} hits=4 status=0 QTime=2 At this point I can see that it