On my xwiki 8.4.4, it seem that solr didn’t find some page anymore.
Pages starts with “SMQ-P1” name. My xwiki doesn’t found page named “SMQ-P1 : Présentation xxx”
I fix temporaly my issue by deleting /data_xwiki/solr and restart my tomcat server but this issue coming again after 4 days…
Reindexing from xwiki in XWiki Preferences didn’t fix my issue
And now quick search displayed these red popup messages: “Impossible d’extraire des suggestions: 403"”
Do you know how can I debug my issue?
Or maybe reinit solr index without restart Tomcat (with command line on debian server)?
403 means “Forbidden”. Maybe you have an access rights issue. You can look at the AJAX requests that retrieve the search suggestions and check where they go and what’s their response, using the browser’s developer tools.
In XwikiPreference I switch on database in default search engine.
I have “Impossible d’extraire des suggestions: 403” still but quick search doesn’t found my page but Main.Search found my missing page with database search engine
2017-10-04 18:36:33,912 [XWiki Solr index thread] ERROR .DocumentSolrMetadataExtractor - Failed to retrieve the content of attachment [Attachment xwiki:Encyclopédie.xxxx@xxxx.odt]
org.apache.tika.exception.TikaException: Zip bomb detected!
odt file is open office files. I wonder if it is the cause of my corrupt solr index…
Ok you are right about “Impossible d’extraire des suggestions: 403” message issue. xwikiAllgroup couldn’t have view right on WikiManager/WikisSuggestSolrService page.
I fix this point.
Now I try to fix my solr engine I’m login with Admin account and solr didn’t found some pages:
title:“smq-p1” found 2 pages on 7 only (I cheched with Main.Alldoc live table)
ok ty.
I must wait to test your way because I fix it like few days ago: I remove xwiki_data/solr, work and temp tomcat drectory and start again Tomcat.
Thxs for the tip, I will wait that my issue occured again to post here (I hope not anyway)
“SMQ-P1 : Présentation du processus” missing in search result.
I modified this one
and now this doc is not missing anymore in search result…
(I have other SMQ-P1 xxx pages with redirection but not for “SMQ-P1 : Présentation du processus”)
I didn’t found interesting logs about it but maybe I must activate debug log in some solr stuff (which one?) ?
When I started my tomcat (without /data/solr directory), I have this error:
2017-10-05 13:34:37,886 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@3a3d8e15] ERROR o.x
.s.s.i.j.IndexerJ
ob - Exception thrown during job execution
java.lang.IndexOutOfBoundsException: Index: 3, Size: 3
at java.util.LinkedList.checkElementIndex(LinkedList.java:555)
at java.util.LinkedList.get(LinkedList.java:476)
at java.util.Collections$UnmodifiableList.get(Collections.java:1309)
at org.xwiki.search.solr.internal.job.DocumentReferenceComparator.compare(DocumentReferenceComparator.java:42)
at org.xwiki.search.solr.internal.job.DiffDocumentIterator.next(DiffDocumentIterator.java:122)
at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:151)
at org.xwiki.search.solr.internal.job.IndexerJob.updateSolrIndex(IndexerJob.java:134)
at org.xwiki.search.solr.internal.job.IndexerJob.runInternal(IndexerJob.java:110)
at org.xwiki.job.AbstractJob.runInContext(AbstractJob.java:206)
at org.xwiki.job.AbstractJob.run(AbstractJob.java:189)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-10-05 13:34:37,886 [solr/indexer job group daemon thread - org.xwiki.search.solr.internal.job.IndexerJob@3a3d8e15] INFO o.x.s.s.i.j.IndexerJob - Finished job of type [solr.indexer] with identifier [[solr, indexer]]
From the stack trace it looks like DocumentReferenceComparator doesn’t support nested pages (it assumes all document references have the same number of components). Can you report the issue please?
then in XWikiPreferences in Core extension I’m looking for Lucene installed extension and found … 18 Lucene xx extension (version 6.2.1). I’m using xwiki 8.4.4 but I had some upgrade from xwiki 6.2.xx
I need to remove these core extension? If yes how?