Is there some way when faceted search is executed, we can retrieve the
possible min/max values of numeric doc-values field with supplied custom
ranges in (LongRangeFacetCounts) or some other way to do it ?
As i believe this can give application hint, and next search request can be
much smarter,
Hi :)
I wrote a custom token filter which removes special characters.
Sometimes, all characters of the token are removed so the filter
procudes an empty token. I would like to remove this token from the
tokenstream but i'm not sure how to do that.
Is there something missing in my custom
When you return true from incrementToken() you tell Lucene to add your token to
the token stream. At the end of incrementToken() check for an empty token. If
it's empty then return incrementToken() to process the next token. This will
affect your positions so if you're doing phrase search you
Hi G.Long,
You can use TrimFilter+LengthFilter to remove empty/whitespace tokens.
Ahmet
On Thursday, October 9, 2014 5:54 PM, G.Long jde...@gmail.com wrote:
Hi :)
I wrote a custom token filter which removes special characters.
Sometimes, all characters of the token are removed so the filter
Hi
You cannot remove facets from the taxonomy index, but you can reindex a
single document and update its facets. This will add new facets to the
taxonomy index (if they do not already exist). You do that just like you
reindex any document, by calling IndexWriter.updateDocument(). Just make
sure
The facets translation should be done at the application level. So if you
index the dimension A w/ two facets A/A1 and A/A2, where A1 should also be
translated to B1 and A2 translated to B2, there are several options:
Index the dimensions A and B with their respective facets, and count the
This usually means that your IndexReader and TaxonomyReader are out of
sync. That is, the IndexReader sees category ordinals that the
TaxonomyReader does not yet see.
Do you use SearcherTaxonomyManager in your application? It ensures that the
two are always in sync, i.e. reopened together and
: Is there some way when faceted search is executed, we can retrieve the
: possible min/max values of numeric doc-values field with supplied custom
: ranges in (LongRangeFacetCounts) or some other way to do it ?
:
: As i believe this can give application hint, and next search request can be
:
1470356651177.jpg
--Original Message--
From: Sick Mick
To: java-user@lucene.apache.org
Subject: Wow8899
Sent: 8 Oct 2014 23:23
Sent from my iPhone
Sent from my BlackBerry® smartphone
-
To unsubscribe, e-mail: