You're really mixing text and numeric concepts here:
numeric types are pretty much completely unanalyzed.
The notion of subjecting them to an analysis chain hasn't
been done at all.
You could consider adding an update processor to
your update chain, I suspect the script update processor
is likely
Thank for replaying. I have tried with Geo Search, but I cannot managed to
query documents using edismax, because in GeoSearch one has to use
Contains, Intersect etc. keywords and I don't know how to put it in edismax
query...
In my case I just drop prefix from my ranges and it happened to fit Int
TrieLongField should be the other way around, you can index Long data, in
the perspective of running efficient range queries on it.
But you want to actually index a range, and query for values ( matching
only the docs which have valid ranges for that field).
Not sure there's something like that Ou
Thanks for replying.
I'm not sure if I can do something like this with TrieLongField.
My solr document:
{
"myRange": "[100 TO 200]"
}
And then query it like this:
"myRange":101
It would fail at importing the document, am I missing something?
MichaĆ
2015-09-23 3:25 GMT+
It sounds like you want a TrieLongField, to me. Check it out in the field
types here -
https://cwiki.apache.org/confluence/display/solr/Field+Types+Included+with+Solr
On Tue, Sep 22, 2015 at 6:31 PM, Michal Fijolek
wrote:
> Hi,
> I wanted to use something like DateRangeField, but only for numeri
Hi,
I wanted to use something like DateRangeField, but only for numerical
ranges, not dates, so I'm looking something like NumericalRangeField.
I see that DateRangeField works with some numbers up to Integer.MAX_VALUE.
It's kind of hack, because parsing a year in a method
DateRangePrefixTree.parseC
Hi,
I wanted to use something like DateRangeField, but only for numerical
ranges, not dates, so I'm looking something like NumericalRangeField.
I see that DateRangeField works with some numbers up to Integer.MAX_VALUE.
It's kind of hack, because parsing a year in a method
DateRangePrefixTree.parseC