Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing Flat Facets on Primary #199

Open
karthikalle opened this issue Nov 12, 2020 · 0 comments
Open

Failing Flat Facets on Primary #199

karthikalle opened this issue Nov 12, 2020 · 0 comments
Assignees

Comments

@karthikalle
Copy link
Member

Error on adding documents to Primary:

Nov 04, 2020 1:54:26 AM com.yelp.nrtsearch.server.grpc.LuceneServer$LuceneServerImpl$1 onCompletedForIndex
WARNING: error while trying to addDocuments
java.util.concurrent.ExecutionException: java.lang.IllegalStateException: a non-null TaxonomyWriter must be provided when indexing FacetField or AssociationFacetField
	at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
	at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
	at com.yelp.nrtsearch.server.grpc.LuceneServer$LuceneServerImpl$1.onCompletedForIndex(LuceneServer.java:622)
	at com.yelp.nrtsearch.server.grpc.LuceneServer$LuceneServerImpl$1.onCompleted(LuceneServer.java:652)
	at io.grpc.stub.ServerCalls$StreamingServerCallHandler$StreamingServerCallListener.onHalfClose(ServerCalls.java:262)
	at io.grpc.PartialForwardingServerCallListener.onHalfClose(PartialForwardingServerCallListener.java:35)
	at io.grpc.ForwardingServerCallListener.onHalfClose(ForwardingServerCallListener.java:23)
	at io.grpc.internal.ServerCallImpl$ServerStreamListenerImpl.halfClosed(ServerCallImpl.java:331)
	at io.grpc.internal.ServerImpl$JumpToApplicationThreadServerStreamListener$1HalfClosed.runInContext(ServerImpl.java:820)
	at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
	at io.grpc.internal.SerializingExecutor.run(SerializingExecutor.java:123)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
	at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.IllegalStateException: a non-null TaxonomyWriter must be provided when indexing FacetField or AssociationFacetField
	at org.apache.lucene.facet.FacetsConfig.checkTaxoWriter(FacetsConfig.java:495)
	at org.apache.lucene.facet.FacetsConfig.processFacetFields(FacetsConfig.java:336)
	at org.apache.lucene.facet.FacetsConfig.build(FacetsConfig.java:300)
	at com.yelp.nrtsearch.server.luceneserver.AddDocumentHandler$DocumentIndexer.handleFacets(AddDocumentHandler.java:201)
	at com.yelp.nrtsearch.server.luceneserver.AddDocumentHandler$DocumentIndexer.updateDocuments(AddDocumentHandler.java:166)
	at com.yelp.nrtsearch.server.luceneserver.AddDocumentHandler$DocumentIndexer.runIndexingJob(AddDocumentHandler.java:142)
	at com.yelp.nrtsearch.server.luceneserver.AddDocumentHandler$DocumentIndexer.call(AddDocumentHandler.java:212)
	at com.yelp.nrtsearch.server.luceneserver.AddDocumentHandler$DocumentIndexer.call(AddDocumentHandler.java:110)
	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
	... 3 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant