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.
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
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
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
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
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
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
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
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
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
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
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
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
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
14 matches
Mail list logo