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

Re: PHP + Solr

2014-01-28 Thread André Widhani
I have no experience with either as we have our own PHP layer to interface with Solr. If I started again from scratch today I would surely consider Solarium. The PHP extension seems outdated and no longer maintained. It says it works with Solr 3.1 and last update is from 2011. André 2014-01-28

Re: PHP + Solr

2014-01-28 Thread Jorge Luis Betancourt Gonzalez
I’ve some experience using Solarium and have been great so far. In particular we use the NelmioSolariumBundle to integrate with Symfony2. Greetings! On Jan 28, 2014, at 1:54 PM, Felipe Dantas de Souza Paiva wrote: > ‎Hi Folks, > > I would like to know what is the best way to integrate PHP an

Re: PHP/Solr library

2012-01-04 Thread Stephen Powis
I see the same error from my php/curl script when my request times out. I believe you can up your timeouts both in php/curl and in your solr configs. On Wed, Jan 4, 2012 at 3:15 PM, Brian Lamb wrote: > Hi Param, > > That's the method I'm switching over from. It seems that script works > ineffici

Re: PHP/Solr library

2012-01-04 Thread Brian Lamb
Hi Param, That's the method I'm switching over from. It seems that script works inefficiently with my set up as the data is spread out over multiple tables. I've considered creating a simple solr MySQL table just to maintain the solr data but I wanted to try out this PHP extension first. But than

Re: PHP/Solr library

2012-01-04 Thread Sethi, Parampreet
Hi Brian, Not exactly solution to your problem. But it may help, you can run Solr directly on top of your database, if your schema is simple manipulation of the database fields. This way you only need to update the database and solr index will be automatically updated with the latest data. I am us

Re: [PECL-DEV] Re: PHP Solr API

2010-12-01 Thread Stefan Matheis
oooh, sorry - used the wrong thread for my suggestion ... please, just ignore this :) On Wed, Dec 1, 2010 at 2:01 PM, Stefan Matheis < matheis.ste...@googlemail.com> wrote: > Hi again, > > actually trying to implement spellcheck on a different way, and had the > idea to access /solr/spellcheck to

Re: [PECL-DEV] Re: PHP Solr API

2010-12-01 Thread Stefan Matheis
Hi again, actually trying to implement spellcheck on a different way, and had the idea to access /solr/spellcheck to get all required data, before executing the final query to /solr/select - but, that seemed to be impossible - since there is no configuration option to change the /select part of th

Re: [PECL-DEV] Re: PHP Solr API

2010-10-06 Thread Scott Yeadon
Thanks. Not sure what the "value" should be (assume it is the servlet name, but is there a default servlet name for term vectors? - the docs don't really say much, so any guidance useful). It also looks like using the ModifiableParams returns only a single offset for each term i.e. if tf > 1

Re: [PECL-DEV] Re: PHP Solr API

2010-10-01 Thread Israel Ekpo
Scott, You can also use the SolrClient::setServlet() method with SolrClient::TERMS_SERVLET_TYPE as the type http://www.php.net/manual/en/solrclient.setservlet.php On Fri, Oct 1, 2010 at 12:57 AM, Scott Yeadon wrote: > Hi, > > Sorry, scrap that, just found that SolrQuery is a subclass of > Mo

Re: PHP Solr API

2010-09-30 Thread Scott Yeadon
Thanks, but I still need to "store" text at any rate in order to get the highlighted snippets for the search results list. This isn't a problem. The issue is how to obtain correct offsets or other mechanisms for being able to display the original HTML text plus term highlighting when navigatin

Re: PHP Solr API

2010-09-30 Thread Neil Lunn
On Fri, 2010-10-01 at 12:00 +1000, Scott Yeadon wrote: > Hi, > > The problem is that the article text is HTML and Solr appears to strip > the HTML by default. I think what you need to look at is how the fields are defined by default in your schema. If Data sent as HTML is being added to the sta

Re: PhP, Solr and Delta Imports

2009-11-16 Thread Israel Ekpo
On Mon, Nov 16, 2009 at 2:49 PM, Pablo Ferrari wrote: > Hello, > > I have an already working Solr service based un full imports connected via > php to a Zend Framework MVC (I connect it directly to the Controller). > I use the SolrClient class for php which is great: > http://www.php.net/manual/en