[xwiki-users] Solr returning "no results"
Hi all, I'm running XWiki 5.1. When running a search with Solr as the default search engine, I'm getting "no results" for every search on both the main wiki and subwikis. If I switch to Lucene, things seem to work fine. I've selected "Reindex" and "Add to index" on both the main wiki and the subwiki Search Administration page, and it finds 10K+ objects and gives me a countdown of items left until it reaches zero. Afterwards there is no change in the search results, still nothing found. I've checked xwiki.cfg and xwiki.properties, and don't see anything. There also appear to be files in the solr index directory. Am I missing something obvious? I don't have much experience with Solr yet...not sure where to start troubleshooting... thanks, aaron
Is it a fresh 5.1 install or an upgrade? Thanks, Marius On Sun, Aug 18, 2013 at 5:32 AM, Aaron Hardy at AC <[email protected]> wrote:
Hi all,
I'm running XWiki 5.1. When running a search with Solr as the default search engine, I'm getting "no results" for every search on both the main wiki and subwikis. If I switch to Lucene, things seem to work fine.
I've selected "Reindex" and "Add to index" on both the main wiki and the subwiki Search Administration page, and it finds 10K+ objects and gives me a countdown of items left until it reaches zero. Afterwards there is no change in the search results, still nothing found.
I've checked xwiki.cfg and xwiki.properties, and don't see anything. There also appear to be files in the solr index directory.
Am I missing something obvious? I don't have much experience with Solr yet...not sure where to start troubleshooting...
thanks,
aaron _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
You could try to stop the server, delete the Solr index folder and then restart the server. Solr should automatically start indexing documents after the restart. Hope this helps, Marius On Mon, Aug 19, 2013 at 9:24 AM, Marius Dumitru Florea <[email protected]> wrote:
Is it a fresh 5.1 install or an upgrade?
Thanks, Marius
On Sun, Aug 18, 2013 at 5:32 AM, Aaron Hardy at AC <[email protected]> wrote:
Hi all,
I'm running XWiki 5.1. When running a search with Solr as the default search engine, I'm getting "no results" for every search on both the main wiki and subwikis. If I switch to Lucene, things seem to work fine.
I've selected "Reindex" and "Add to index" on both the main wiki and the subwiki Search Administration page, and it finds 10K+ objects and gives me a countdown of items left until it reaches zero. Afterwards there is no change in the search results, still nothing found.
I've checked xwiki.cfg and xwiki.properties, and don't see anything. There also appear to be files in the solr index directory.
Am I missing something obvious? I don't have much experience with Solr yet...not sure where to start troubleshooting...
thanks,
aaron _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
It started off with a fresh deb install around 6 weeks ago, and it has been upgraded once since then with apt-get. I tried deleting the Solr index folder and restarting - it did trigger a re-index, but I'm still getting zero results from the search page. aaron On Mon, Aug 19, 2013 at 2:27 AM, Marius Dumitru Florea < [email protected]> wrote:
You could try to stop the server, delete the Solr index folder and then restart the server. Solr should automatically start indexing documents after the restart.
Hope this helps, Marius
On Mon, Aug 19, 2013 at 9:24 AM, Marius Dumitru Florea <[email protected]> wrote:
Is it a fresh 5.1 install or an upgrade?
Thanks, Marius
On Sun, Aug 18, 2013 at 5:32 AM, Aaron Hardy at AC <[email protected]> wrote:
Hi all,
I'm running XWiki 5.1. When running a search with Solr as the default search engine, I'm getting "no results" for every search on both the main wiki and subwikis. If I switch to Lucene, things seem to work fine.
I've selected "Reindex" and "Add to index" on both the main wiki and the subwiki Search Administration page, and it finds 10K+ objects and gives me a countdown of items left until it reaches zero. Afterwards there is no change in the search results, still nothing found.
I've checked xwiki.cfg and xwiki.properties, and don't see anything. There also appear to be files in the solr index directory.
Am I missing something obvious? I don't have much experience with Solr yet...not sure where to start troubleshooting...
thanks,
aaron _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Maybe the Solr UI is not up to date for some reason.. Can you try to import the Solr UI XAR corresponding to your version http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-sol... ? Also, can you try using directly Main.SolrSearch page? I'm out of ideas.. On Mon, Aug 19, 2013 at 4:19 PM, Aaron Hardy at AC <[email protected]> wrote:
It started off with a fresh deb install around 6 weeks ago, and it has been upgraded once since then with apt-get.
I tried deleting the Solr index folder and restarting - it did trigger a re-index, but I'm still getting zero results from the search page.
aaron
On Mon, Aug 19, 2013 at 2:27 AM, Marius Dumitru Florea < [email protected]> wrote:
You could try to stop the server, delete the Solr index folder and then restart the server. Solr should automatically start indexing documents after the restart.
Hope this helps, Marius
On Mon, Aug 19, 2013 at 9:24 AM, Marius Dumitru Florea <[email protected]> wrote:
Is it a fresh 5.1 install or an upgrade?
Thanks, Marius
On Sun, Aug 18, 2013 at 5:32 AM, Aaron Hardy at AC <[email protected]> wrote:
Hi all,
I'm running XWiki 5.1. When running a search with Solr as the default search engine, I'm getting "no results" for every search on both the main wiki and subwikis. If I switch to Lucene, things seem to work fine.
I've selected "Reindex" and "Add to index" on both the main wiki and the subwiki Search Administration page, and it finds 10K+ objects and gives me a countdown of items left until it reaches zero. Afterwards there is no change in the search results, still nothing found.
I've checked xwiki.cfg and xwiki.properties, and don't see anything. There also appear to be files in the solr index directory.
Am I missing something obvious? I don't have much experience with Solr yet...not sure where to start troubleshooting...
thanks,
aaron _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
No change, still returning zero results. I imported the Solr UI XAR for 5.1 in both the main wiki and the subwiki, then deleted the solr index again and restarted. The Search admin UI shows the re-index happening (starts at ~16K in the queue size and takes 10-15 minutes to drop to zero). After that, still no results. Using Main.SolrSearch also has no results. thanks, aaron On Mon, Aug 19, 2013 at 9:28 AM, Marius Dumitru Florea < [email protected]> wrote:
Maybe the Solr UI is not up to date for some reason.. Can you try to import the Solr UI XAR corresponding to your version
http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-sol... ? Also, can you try using directly Main.SolrSearch page? I'm out of ideas..
On Mon, Aug 19, 2013 at 4:19 PM, Aaron Hardy at AC <[email protected]> wrote:
It started off with a fresh deb install around 6 weeks ago, and it has been upgraded once since then with apt-get.
I tried deleting the Solr index folder and restarting - it did trigger a re-index, but I'm still getting zero results from the search page.
aaron
On Mon, Aug 19, 2013 at 2:27 AM, Marius Dumitru Florea < [email protected]> wrote:
You could try to stop the server, delete the Solr index folder and then restart the server. Solr should automatically start indexing documents after the restart.
Hope this helps, Marius
On Mon, Aug 19, 2013 at 9:24 AM, Marius Dumitru Florea <[email protected]> wrote:
Is it a fresh 5.1 install or an upgrade?
Thanks, Marius
On Sun, Aug 18, 2013 at 5:32 AM, Aaron Hardy at AC <[email protected]> wrote:
Hi all,
I'm running XWiki 5.1. When running a search with Solr as the default search engine, I'm getting "no results" for every search on both the main wiki and subwikis. If I switch to Lucene, things seem to work fine.
I've selected "Reindex" and "Add to index" on both the main wiki and the subwiki Search Administration page, and it finds 10K+ objects and gives me a countdown of items left until it reaches zero. Afterwards there is no change in the search results, still nothing found.
I've checked xwiki.cfg and xwiki.properties, and don't see anything. There also appear to be files in the solr index directory.
Am I missing something obvious? I don't have much experience with Solr yet...not sure where to start troubleshooting...
thanks,
aaron _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
I faced exactly the same problem last week. The trouble starts as I starts the solr system via the web UI.I've recreate index and so on without any luck. Then I've rm'ed both dir /var/lib/xwiki/data/lucene and /var/lib/xwiki/data/solr . After that I've seen in the web UI that the solr index is rebuilding, after that all things are up and running. Solr search works since then without any problems. -- View this message in context: http://xwiki.475771.n2.nabble.com/Solr-returning-no-results-tp7586687p758670... Sent from the XWiki- Users mailing list archive at Nabble.com.
Just to make sure there's no UI issue, run this: {{velocity}} $services.query.createQuery('a', 'solr').setLimit(10).execute()[0].results.size() {{/velocity}} I suppose you'll get 0. On Mon, Aug 19, 2013 at 5:09 PM, Aaron Hardy at AC <[email protected]> wrote:
No change, still returning zero results.
I imported the Solr UI XAR for 5.1 in both the main wiki and the subwiki, then deleted the solr index again and restarted. The Search admin UI shows the re-index happening (starts at ~16K in the queue size and takes 10-15 minutes to drop to zero). After that, still no results.
Using Main.SolrSearch also has no results.
thanks, aaron
On Mon, Aug 19, 2013 at 9:28 AM, Marius Dumitru Florea < [email protected]> wrote:
Maybe the Solr UI is not up to date for some reason.. Can you try to import the Solr UI XAR corresponding to your version
http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-sol... ? Also, can you try using directly Main.SolrSearch page? I'm out of ideas..
On Mon, Aug 19, 2013 at 4:19 PM, Aaron Hardy at AC <[email protected]> wrote:
It started off with a fresh deb install around 6 weeks ago, and it has been upgraded once since then with apt-get.
I tried deleting the Solr index folder and restarting - it did trigger a re-index, but I'm still getting zero results from the search page.
aaron
On Mon, Aug 19, 2013 at 2:27 AM, Marius Dumitru Florea < [email protected]> wrote:
You could try to stop the server, delete the Solr index folder and then restart the server. Solr should automatically start indexing documents after the restart.
Hope this helps, Marius
On Mon, Aug 19, 2013 at 9:24 AM, Marius Dumitru Florea <[email protected]> wrote:
Is it a fresh 5.1 install or an upgrade?
Thanks, Marius
On Sun, Aug 18, 2013 at 5:32 AM, Aaron Hardy at AC <[email protected]> wrote:
Hi all,
I'm running XWiki 5.1. When running a search with Solr as the default search engine, I'm getting "no results" for every search on both the main wiki and subwikis. If I switch to Lucene, things seem to work fine.
I've selected "Reindex" and "Add to index" on both the main wiki and the subwiki Search Administration page, and it finds 10K+ objects and gives me a countdown of items left until it reaches zero. Afterwards there is no change in the search results, still nothing found.
I've checked xwiki.cfg and xwiki.properties, and don't see anything. There also appear to be files in the solr index directory.
Am I missing something obvious? I don't have much experience with Solr yet...not sure where to start troubleshooting...
thanks,
aaron _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Zzeroo's suggestion worked for me - I deleted both the entire lucene and solr directories instead of just the solr index folder and now everything appears to be working. I also get a non-zero result from Marius' snippet. Much thanks to both, aaron On Mon, Aug 19, 2013 at 10:29 AM, Marius Dumitru Florea < [email protected]> wrote:
Just to make sure there's no UI issue, run this:
{{velocity}} $services.query.createQuery('a', 'solr').setLimit(10).execute()[0].results.size() {{/velocity}}
I suppose you'll get 0.
On Mon, Aug 19, 2013 at 5:09 PM, Aaron Hardy at AC <[email protected]> wrote:
No change, still returning zero results.
I imported the Solr UI XAR for 5.1 in both the main wiki and the subwiki, then deleted the solr index again and restarted. The Search admin UI shows the re-index happening (starts at ~16K in the queue size and takes 10-15 minutes to drop to zero). After that, still no results.
Using Main.SolrSearch also has no results.
thanks, aaron
On Mon, Aug 19, 2013 at 9:28 AM, Marius Dumitru Florea < [email protected]> wrote:
Maybe the Solr UI is not up to date for some reason.. Can you try to import the Solr UI XAR corresponding to your version
http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-search-sol...
? Also, can you try using directly Main.SolrSearch page? I'm out of ideas..
On Mon, Aug 19, 2013 at 4:19 PM, Aaron Hardy at AC <[email protected]> wrote:
It started off with a fresh deb install around 6 weeks ago, and it has been upgraded once since then with apt-get.
I tried deleting the Solr index folder and restarting - it did trigger a re-index, but I'm still getting zero results from the search page.
aaron
On Mon, Aug 19, 2013 at 2:27 AM, Marius Dumitru Florea < [email protected]> wrote:
You could try to stop the server, delete the Solr index folder and then restart the server. Solr should automatically start indexing documents after the restart.
Hope this helps, Marius
On Mon, Aug 19, 2013 at 9:24 AM, Marius Dumitru Florea <[email protected]> wrote:
Is it a fresh 5.1 install or an upgrade?
Thanks, Marius
On Sun, Aug 18, 2013 at 5:32 AM, Aaron Hardy at AC <[email protected]> wrote: > Hi all, > > I'm running XWiki 5.1. When running a search with Solr as the default > search engine, I'm getting "no results" for every search on both the main > wiki and subwikis. If I switch to Lucene, things seem to work fine. > > I've selected "Reindex" and "Add to index" on both the main wiki and the > subwiki Search Administration page, and it finds 10K+ objects and gives me > a countdown of items left until it reaches zero. Afterwards there is no > change in the search results, still nothing found. > > I've checked xwiki.cfg and xwiki.properties, and don't see anything. There > also appear to be files in the solr index directory. > > Am I missing something obvious? I don't have much experience with Solr > yet...not sure where to start troubleshooting... > > thanks, > > aaron > _______________________________________________ > users mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Aaron Hardy at AC -
Marius Dumitru Florea -
zzeroo