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
Yes, when I load the doc plainly using IndexSearcher, I got the doc,
but without special faceted fields::
name = firstDoc (stored,indexed,tokenized,omitNorms,indexOptions=DOCS)
category = cars (stored,indexed,tokenized)
But I need all those faceted fields somehow, such as when I was saving
the do
Right, you just need another line like this:
doc.add(new StoredField("storedcategory", category));
Though, since your TextField category is marked as Field.Store.YES, it
should have been in the document when you loaded it at search time. Are
you sure it's not there?
Mike McCandless
http://bl
... too quick typing. Of course the highlander principle is at work -
there can only be one.
Am Samstag, den 02.09.2017, 09:27 +0200 schrieb Matthias Müller:
> (lucene 6.6.0)
>
> Hi,
>
> is there a reason why LongRange only provides array-based
> constructors
> and queries, while LongPoint featu
(lucene 6.6.0)
Hi,
is there a reason why LongRange only provides array-based constructors
and queries, while LongPoint features varargs?
-Matthias
-
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional