Re: query rewriting

2017-03-07 Thread Tim Casey
Hendrik, I would recommend attempting to stick to the query syntax, as it is in lucene, as close as possible. However, if you do your own query parse build up, you can use a Lucene Query object. I don't know where this bolts into solr, exactly. But I have done this extensively with lucene. The

query rewriting

2017-03-05 Thread Hendrik Haddorp
Hi, I would like to dynamically modify a query, for example by replacing a field name with a different one. Given how complex the query parsing is it does look error prone to duplicate that so I would like to work on the Lucene Query object model instead. The subclasses of Query look relative