eZ Community » Forums » Extensions » eZ Find » SOLR issue - no results returned on...
expandshrink

SOLR issue - no results returned on searchable attribute

SOLR issue - no results returned on searchable attribute

Tuesday 14 August 2012 12:29:07 pm - 2 replies

Hello,
I am experiencing a problem with SOLR and the search functionnality in the ez backoffice.
I am working on a website which has many registered users, and I would like to allow the search of users matching on their name in the backoffice.
This doesn't work, no results are returned.
I checked the user class, the first name and last name are searchable.
I use the following script to reindex the SOLR search engine : usr/bin/php bin/php/updatesearchindex.php --clean
Starting object re-indexing
{eZSearchEngine: Cleaning up search data}
...................................................................... 1.40%
........................................ 86.77%
...................................................................... 88.16%
...................................................................... 89.56%
...................................................................... 90.96%
...................................................................... 92.36%
...................................................................... 93.76%
...................................................................... 95.16%
...................................................................... 96.56%
...................................................................... 97.96%
...................................................................... 99.36%
................................                                       100.00%
Done
But this has no effect !
There is also something strange, when I create a new user, the search engine works, the new user is well returned but this doesn't work for all my old registered users.
Does anybody can help me ?
greetings,
ben

 

Tuesday 14 August 2012 3:16:55 pm

When using solr, it is better to use the dedicated script which you will find inside the solr extension itself for executing full reindexation. Not sure it will help...

Tuesday 14 August 2012 6:15:06 pm

In addition to Gaetano's answer, use the following scripts:

* eZ Find update solr search index
php extension/ezfind/bin/php/updatesearchindexsolr.php -s <admin siteaccess here> --php-exec=php --conc=2

 * eZ Find index new objects
php runcronjobs.php ezfindexcontent 

* eZ Find optimize index
php runcronjobs.php ezfoptimizeindex

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from