Forums / Extensions / eZ Find / no results in ez find 2.0

no results in ez find 2.0

Author Message

Patrice Brun

Friday 14 August 2009 2:22:10 am

Hello dear community,
I have a problem with the extension eZ Find 2.0.
My setup is as follows:
wamp server
php 5.2.9-2
ezpublish 4.3

I followed the instruction manual (pdf) but when I did a search on my site I get no results.
Yet my SOLR server is started, I execute the file updatesearchindexsolr.php, my extension is enabled.

I do not have an idea Thank you

Mirko Battisti

Friday 14 August 2009 2:34:51 am

Hi.
After launching the updatesearchindex script, you should see the indexes created inside the folder specified in your solrconfig.xml file (ezfind/java/solr/conf/solrconfig.xml) on the line that goes: <dataDir>${solr.data.dir:/srv/solr}</dataDir>

if you have no indexes, search will not work.
If you do, we'll have to think of something else.

Also there's the solr admin interface that can be useful:
http://yourserver:8983/solr/admin/

Hope it helps,
Mirko.

Gaetano Giunta

Friday 14 August 2009 7:32:34 am

In the solr admin page, click on "statistics" and in the irst table named "core" look at the cell named "stats". The "numDocs" in there is the number of objects currently indexed in solr.

You can of ourse also use the solr interface to test queries...

Principal Consultant International Business
Member of the Community Project Board

Patrice Brun

Monday 17 August 2009 3:40:57 am

Hello and thank you for your responses.
Mirko: my $ file <dataDir> (solr.data.dir: / srv / SOLR) </ datadir> is located in this
location "C: \ srv \ SOLR" and there are about forty of files in the folder
index ( "C: \ srv \ SOLR \ index").

Gaetano: SOLR In the admin page, on "statistics" and
"core" in the cell named "stats." The "numDocs" is 11.

but during my research still no results.
Another ideas?

Jason Calhoun

Saturday 13 February 2010 4:14:57 pm

I was able to get mult-core installed with the instructions above. But the search did not work for my sites. My check list looked like this.

Solr running: OK,
Solr Administration Pages working: OK,
Index with updatesearchindexsolr.php: OK,?
Synchronize from site_admin: FAILED,
Search results from site: FAILED,

[SOLUTION]

Make a change to each sites extension/ezfind/settings/solr.ini . add /<corename> to the end of each SearchServerURI like below:

[SolrBase]
# Base URI of the Solr server
SearchServerURI=http://localhost:8983/solr/site1

You must then re-index each site with php extension/ezfind/bin/php/updatesearchindexsolr.php -s site_admin