use query to set filter on fields

2011-01-04 Thread Raymi
Hi, I'm evaluating SOLR and have a question about query processing. Is it possible to set filters on fields according to the terms entered in the query? I know that I can use dismax to search in multiple fields. However, what I want to achieve for a given query is the following: - parse all

Re: use query to set filter on fields

2011-01-04 Thread Raymi
I'm evaluating SOLR and have a question about query processing. Is it possible to set filters on fields according to the terms entered in the query? I know that I can use dismax to search in multiple fields. However, what I want to achieve for a given query is the following: - parse all terms in

Re: use query to set filter on fields

2011-01-04 Thread Raymi
No, I don't. But since I'll store documents in solr having "color" set to "red", "green", "blue" and "manufacturer" set to "ford", "bmw" etc. the information is available. Okey information is available but the difficult part is recognize those things from the free form text query. There is no s

Re: use query to set filter on fields

2011-01-04 Thread Raymi
I'm not sure, whether I made myself very clear. I don't think that it is difficult to evaluate the query. Here's a (very inefficient) algorithm in pseudocode that would do, what I have in mind: query = ... foreach (term in query) foreach (field in SOLR.config.fields) result = SOLR.query(