Hi,
the previous version of Lucene I was on was 4.4.0. On upgrading to 6.5.1 I
found some issues (normal). However for taxanomy, I was relying then on an
experimental class "org.apache.lucene.facet.index.FacetFields" which also
took "org.apache.lucene.facet.params.FacetIndexingParams". Both seem t
I have a DrillDownQuery for taxonomy Search (Category path based search)
The following works beautifully:
However there is no Constructor or method arguments to allow sorting; so I
did:
...which throws some rubbish.
I have followed all the rules for Indexing for sorting etc. (On a Numeric
Field
ok managed to FIX it! :)
Too a Q from
http://lucene.472066.n3.nabble.com/sort-by-field-and-score-td4022541.html
So without sort the code that always worked was:
Assume : facetsCollector - Defined
With Sort: (Use *TopFieldCollector*)
--
View this message in context:
http://lucene.472066.n3
Thanks
In other words does that imply "tokenized" property is ignored for Numbers?
..if so, would it be technically correct (atleast from a correctness
standpoint), to have it set as "false" in the FieldType definitions then ?
--
View this message in context:
http://lucene.472066.n3.nabble.
Ah .. Sorry i think i got it.
It is still tokenized for purposes u mentioned.
Only for sort there is an exception to the rule.
ok cool
thanks !! :)
--
View this message in context:
http://lucene.472066.n3.nabble.com/Why-Numeric-IntField-tokenized-true-by-Default-tp4067738p4067790.html
Sent fr
I have also observed, that when using the TopDocsCollector version of the
Query, if the hits exceed the the number of actual results, it returns
nothing.
In the case of of plain .search(query, hits, sort); the damn thing keeps
going on n on. If i give an absurd number of hits, it wont stop.
--
This post was updated on Jun 03, 2013; 3:48am.
If One refers to the JavaDoc for Sort it states that INDEX and and the field
should NOT be TOKENIZED.
Its a common use case for Numbers to be Sorted.
Am curious to find the default values of say IntField as :
TYPE_NOT_STORED.setTokenized(true);
A