YaCy-Bugtracker - YaCy
View Issue Details
0000715YaCy[All Projects] Generalpublic2016-12-18 19:242017-03-19 22:17
kroo 
administrator 
highmajorsometimes
resolvedfixed 
none 
LinuxDebian8
 
 
0000715: UNRESOLVED_PATTERN when searching.
Often I get this when searching.
   1-34 of -UNRESOLVED_PATTERN- ; (-UNRESOLVED_PATTERN- local, -UNRESOLVED_PATTERN- remote), -UNRESOLVED_PATTERN- from -UNRESOLVED_PATTERN- remote YaCy peers.

Seems to be happening more often if I for example have crawler monitor open in another tab.

Running an homebuilt version of Yacy, compiled from source some months ago.
The following was in the log was in the log when I had the issue, hopefully it is of some interest.

E 2016/12/18 18:14:38 org.apache.solr.handler.RequestHandlerBase org.apache.solr.common.SolrException: Exception during facet.field: author_sxt
    at org.apache.solr.request.SimpleFacets$3.call(SimpleFacets.java:721)
    at org.apache.solr.request.SimpleFacets$3.call(SimpleFacets.java:706)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.apache.solr.request.SimpleFacets$2.execute(SimpleFacets.java:660)
    at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:731)
    at org.apache.solr.handler.component.FacetComponent.getFacetCounts(FacetComponent.java:294)
    at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:256)
    at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:272)
    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:155)
    at org.apache.solr.core.SolrCore.execute(SolrCore.java:2102)
    at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:178)
    at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
    at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:942)
    at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:957)
    at net.yacy.cora.federate.solr.connector.EmbeddedSolrConnector.getResponseByParams(EmbeddedSolrConnector.java:339)
    at net.yacy.cora.federate.solr.connector.MirrorSolrConnector.getResponseByParams(MirrorSolrConnector.java:272)
    at net.yacy.cora.federate.solr.connector.ConcurrentUpdateSolrConnector.getResponseByParams(ConcurrentUpdateSolrConnector.java:317)
    at net.yacy.peers.Protocol.solrQuery(Protocol.java:1053)
    at net.yacy.peers.RemoteSearch$2.run(RemoteSearch.java:349)
Caused by: org.apache.lucene.index.ExitableDirectoryReader$ExitingReaderException: Interrupted while iterating over terms. TermsEnum=org.apache.lucene.codecs.blocktree.SegmentTermsEnum@332be502
    at org.apache.lucene.index.ExitableDirectoryReader$ExitableTermsEnum.checkAndThrow(ExitableDirectoryReader.java:171)
    at org.apache.lucene.index.ExitableDirectoryReader$ExitableTermsEnum.next(ExitableDirectoryReader.java:178)
    at org.apache.lucene.index.MultiTermsEnum.pushTop(MultiTermsEnum.java:275)
    at org.apache.lucene.index.MultiTermsEnum.next(MultiTermsEnum.java:301)
    at org.apache.solr.request.SimpleFacets.getFacetTermEnumCounts(SimpleFacets.java:935)
    at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:442)
    at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:382)
    at org.apache.solr.request.SimpleFacets$3.call(SimpleFacets.java:715)
    ... 18 more

I 2016/12/18 18:14:38 YACY SEARCH failed (solr), localpeer (Error executing query)
java.io.IOException: Error executing query
    at net.yacy.cora.federate.solr.connector.EmbeddedSolrConnector.getResponseByParams(EmbeddedSolrConnector.java:346)
    at net.yacy.cora.federate.solr.connector.MirrorSolrConnector.getResponseByParams(MirrorSolrConnector.java:272)
    at net.yacy.cora.federate.solr.connector.ConcurrentUpdateSolrConnector.getResponseByParams(ConcurrentUpdateSolrConnector.java:317)
    at net.yacy.peers.Protocol.solrQuery(Protocol.java:1053)
    at net.yacy.peers.RemoteSearch$2.run(RemoteSearch.java:349)
Caused by: org.apache.solr.common.SolrException: Exception during facet.field: author_sxt
    at org.apache.solr.request.SimpleFacets$3.call(SimpleFacets.java:721)
    at org.apache.solr.request.SimpleFacets$3.call(SimpleFacets.java:706)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at org.apache.solr.request.SimpleFacets$2.execute(SimpleFacets.java:660)
    at org.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:731)
    at org.apache.solr.handler.component.FacetComponent.getFacetCounts(FacetComponent.java:294)
    at org.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:256)
    at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:272)
    at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:155)
    at org.apache.solr.core.SolrCore.execute(SolrCore.java:2102)
    at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:178)
    at org.apache.solr.client.solrj.SolrRequest.process(SolrRequest.java:149)
    at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:942)
    at org.apache.solr.client.solrj.SolrClient.query(SolrClient.java:957)
    at net.yacy.cora.federate.solr.connector.EmbeddedSolrConnector.getResponseByParams(EmbeddedSolrConnector.java:339)
    ... 4 more
Caused by: org.apache.lucene.index.ExitableDirectoryReader$ExitingReaderException: Interrupted while iterating over terms. TermsEnum=org.apache.lucene.codecs.blocktree.SegmentTermsEnum@332be502
    at org.apache.lucene.index.ExitableDirectoryReader$ExitableTermsEnum.checkAndThrow(ExitableDirectoryReader.java:171)
    at org.apache.lucene.index.ExitableDirectoryReader$ExitableTermsEnum.next(ExitableDirectoryReader.java:178)
    at org.apache.lucene.index.MultiTermsEnum.pushTop(MultiTermsEnum.java:275)
    at org.apache.lucene.index.MultiTermsEnum.next(MultiTermsEnum.java:301)
    at org.apache.solr.request.SimpleFacets.getFacetTermEnumCounts(SimpleFacets.java:935)
    at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:442)
    at org.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:382)
    at org.apache.solr.request.SimpleFacets$3.call(SimpleFacets.java:715)
    ... 18 more
No tags attached.
related to 0000385new  ConcurrentLog Processing of multipartform-data request failed 
Issue History
2016-12-18 19:24krooNew Issue
2017-01-06 06:55BuBuNote Added: 0001371
2017-01-06 07:07BuBuRelationship addedrelated to 0000385
2017-01-06 07:38BuBuNote Added: 0001372
2017-03-19 22:17BuBuNote Added: 0001384
2017-03-19 22:17BuBuStatusnew => resolved
2017-03-19 22:17BuBuResolutionopen => fixed
2017-03-19 22:17BuBuAssigned To => administrator

Notes
(0001371)
BuBu   
2017-01-06 06:55   
In general, every issue which can be reproduced and fixed within YaCy is sure of interest.
The log you provided points to a Solr (underlaying index) issue or a problem with the query or content of the result in author_sxt field. This is likely not possible to fix within YaCy, I guess. To reproduce one would need the query term and the results you got.
So in this instance it seems to be a very individual issue (according to log snippet).
(0001372)
BuBu   
2017-01-06 07:38   
fyi: after digging deeper I found one possible YaCy related reason (with the author_sxt facets).
I'll follow-up on it.
(0001384)
BuBu   
2017-03-19 22:17   
fixed by @luc
https://github.com/yacy/yacy_search_server/commit/8e77fe38607bf19e3f7d19c4a4f3cabf4946ee19 [^]