Hi all,
Does anybody know, how to query integers with wildcards and ranges?
Currently I can get result with exact match only.
I've definded keynames with suffix *_int* (price_int).
I use integer_analyzer_factory:
...
{dynamic_field, [
{name, "*_int"},
{type, integer},
{analyzer_factory, {erlang, text_analyzers,
integer_analyzer_factory}}
]},
...
I use curl for:
$: curl --globoff -v "
http://localhost:8098/solr/bucket/select?wt=json&start=0&rows=0&*q=price_int:[100
TO 200]*" - no results.
$: curl --globoff -v "
http://localhost:8098/solr/bucket/select?wt=json&start=0&rows=0&*
q=price_int:20**" - no results.
But if I change query to "*q=price_int:200"* I get result as expected.
$: curl --globoff -v "
http://localhost:8098/solr/bucket/select?wt=json&start=0&rows=0&*
q=price_int:200*" - is available.
So there is definitelly a key with price:200 stored.
Could someone tell me what I'm doing wrong and how to deal with integers in
riak-context correctly?
Thanks a lot in advance!
Vladimir
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com