Fwd: index rich data with solarium php solr Client

2015-12-01 Thread kostali hassan
I get this Error Invalid character encoding detected after position 79 of query string / form data (while parsing as UTF-8) this is my function to index rich data from direct

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
Dear all gurus, I'm having problem with trying to use spell checker for my suggestion and I'm using PHP Solr client. So I tried to code like this ===PHP=== $config = array ( 'hostname' => 'localhost',

AW: PHP + Solr

2014-01-28 Thread Alexander Golubowitsch
[mailto:cad_fpa...@uolinc.com] Gesendet: Dienstag, 28. Januar 2014 19:55 An: solr-user@lucene.apache.org Betreff: PHP + Solr ‎Hi Folks, I would like to know what is the best way to integrate PHP and Apache Solr. Until now I've found two options: 1) http://www.php.net/manual/en/intro.solr.php 2)

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

PHP + Solr

2014-01-28 Thread Felipe Dantas de Souza Paiva
‎Hi Folks, I would like to know what is the best way to integrate PHP and Apache Solr. Until now I've found two options: 1) http://www.php.net/manual/en/intro.solr.php 2) http://www.solarium-project.org/ What do you guys say? Cheers, Felipe AVISO: A informa

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

PHP/Solr library

2012-01-04 Thread Brian Lamb
Hi all, I've been exploring http://www.php.net/manual/en/book.solr.php as a way to maintain my index. I already have a PHP script that I use to update a database so I was hoping to be able to update the database at the same time I am updating the index. However, I've been getting the following er

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-10-26 Thread alex
ted Israel a while ago to integrate this into the package, but he hasn't answered yet. Cheers, Alex -- View this message in context: http://lucene.472066.n3.nabble.com/ANNOUNCEMENT-PHP-Solr-Extension-1-0-1-Stable-Has-Been-Released-tp3024040p3450788.html Sent from the Solr - User mailin

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-10-25 Thread alex
his into the package, but he hasn't answered yet. Cheers, Alex -- View this message in context: http://lucene.472066.n3.nabble.com/ANNOUNCEMENT-PHP-Solr-Extension-1-0-1-Stable-Has-Been-Released-tp3024040p3450881.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-06-23 Thread Israel Ekpo
I am working on that, I hope to have an answer within a month or so. On Tue, Jun 21, 2011 at 9:51 AM, roySolr wrote: > Are you working on some changes to support earlier versions of PHP? > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/ANNOUNCEMENT-PHP

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-06-21 Thread roySolr
Are you working on some changes to support earlier versions of PHP? -- View this message in context: http://lucene.472066.n3.nabble.com/ANNOUNCEMENT-PHP-Solr-Extension-1-0-1-Stable-Has-Been-Released-tp3024040p3090702.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-06-11 Thread Israel Ekpo
ERROR: `make' failed > > I have php version 5.2.17. > > How can i fix this? > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/ANNOUNCEMENT-PHP-Solr-Extension-1-0-1-Stable-Has-Been-Released-tp3024040p3034350.html > Sent from the Solr - User

Re: [ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-06-07 Thread roySolr
n i fix this? -- View this message in context: http://lucene.472066.n3.nabble.com/ANNOUNCEMENT-PHP-Solr-Extension-1-0-1-Stable-Has-Been-Released-tp3024040p3034350.html Sent from the Solr - User mailing list archive at Nabble.com.

[ANNOUNCEMENT] PHP Solr Extension 1.0.1 Stable Has Been Released

2011-06-04 Thread Israel Ekpo
The new PECL package solr-1.0.1 (stable) has been released at http://pecl.php.net/. Release notes - - Added support for json response writer in SolrClient - Removed final bit from classes so that they can be mocked in unit tests - Changed from beta to stable - Included phpdoc stubs in

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

PHP Solr API

2010-09-30 Thread Scott Yeadon
Hi, I have inherited an application which uses Solr search and the PHP Solr API (http://pecl.php.net/package/solr). While the list of search results with appropriate highlighting is all good, when selecting a result that navigates to an individual article the users want to have all the hits

[NEWS] New Response Writer for Native PHP Solr Client

2010-06-22 Thread Israel Ekpo
Hi Solr users, If you are using Apache Solr via PHP, I have some good news for you. There is a new response writer for the PHP native extension, currently available as a plugin. This new feature adds a new response writer class to the org.apache.solr.request package. This class is used by the P

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

PhP, Solr and Delta Imports

2009-11-16 Thread Pablo Ferrari
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/class.solrclient.php For now on, every time I want to edit a doc