Hello,
I'm trying to implement standard pagination with sorting and faceting, and I
have some
code like the following:
// Convert user supplied sorts to Lucene Sort, or use Sort.RELEVANCE if none
provided
Sort sort = ...;
FacetsCollector facetsCollector = new FacetsCollector();
TopField
I came across this same exception when I performed a query that faceted on a
field that had no documents in the index with that field. One simple case was
attempting to perform faceting on an empty index.
Is it possible that no documents in your index have a value for
"facet_category" at the ti
I was reading this blog post about Lucene transactions (thank you to
Mike for writing this):
http://blog.mikemccandless.com/2012/03/transactional-lucene.html
I'm interested in the part that references distributed transactions and says:
"if Lucene completed its 2nd phase commit but the database's
Are you specifying a sort clause on your query?
I'm not totally sure, but I think having a sort clause might be a
requirement for efficient deep paging.
I know Solr's cursorMark feature uses the searchAfter API, and a
cursorMark is essentially the sort values of the last document from
the previou