Re: Issue with Function Query on Field Names with a Hyphen

2009-08-20 Thread Chris Hostetter
: So, it looks like it is trying to parse the "-" in the field name as an : operator instead of as part of the field name. Is it bad form to include a : hyphen in a field name... I've never had issues with it anywhere else in the : past. FYI, I've confirmed this behavior on 1.4 nightly builds fr

Issue with Function Query on Field Names with a Hyphen

2009-08-12 Thread Solr Trey
Hey Everyone, So, I was experimenting with some function queries today, and came across something disturbing: The following query works fine (field name: rank_i): /solr/select/?q.op=AND&start=0&rows=10&fl=*%2cscore&q={!func}product(rank_i,2) But the following query (field name: rank-i) throws a