Glad that works for you. Saves me from having to suggest you use 2.0 :) Eric
On Aug 10, 2014, at 4:25 PM, tele <[email protected]> wrote: > Hi, > > I have a simple solr document like this: > > <?xml version="1.0" ?> > <add> > <doc> > <field name="city">Oslo</field> > <field name="name">Bob</field> > <field name="age_int">34</field> > </doc> > </add> > > As "id" i use an email addr added to a 'users' index. > I've defined age as Int field. > > I can now query the index with: > > # search-cmd search users "name:Bob" > :: Searching for 'name:Bob' / '' in users... > ------------------------------ > index/id: users/[email protected] > p -> [0] > score -> 0.35355339059327373 > ------------------------------ > :: Found 1 results. > > If i do search-cmd search users "age:34" > It works. > > If i try the range > > search-cmd search users "age:[20 TO 40]" > > It just gives me the Usage of "search-cmd" again without saying anything > like if the syntax is wrong. > > Uing the HTTP solr interface basically is the same i get no results.. > > curl "http://localhost:8098/solr/users/select?q=age:%7B20 TO 50%7D" > curl: (52) Empty reply from server > > curl 'http://localhost:8098/solr/users/select?q=age:{20 TO 50}' > curl: (52) Empty reply from server > > What i am doing wrong? please note i have other data in the index > > My riak version is 1.4.10 > > Thanks > > :tele > > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
