Re: How can I check if a more complex query condition matched?

2011-12-29 Thread Chris Hostetter
: I have a more complex query condition like this: : : (city:15 AND country:60)^4 OR city:15^2 OR country:60^2 : : What I want to achive with this query is basically if a document has : city = 15 AND country = 60 it is more important then another document : which only has city = 15 OR country =

Re: How can I check if a more complex query condition matched?

2011-12-28 Thread Max
Thanks for your reply, I thought about using the debug mode, too, but the information is not easy to parse and doesnt contain everything I want. Furthermore I dont want to enable debug mode in production. Is there anything else I could try? On Tue, Dec 27, 2011 at 12:48 PM, Ahmet Arslan

Re: How can I check if a more complex query condition matched?

2011-12-28 Thread Erick Erickson
There's no easy/efficient way that I know of to do this. Perhaps a good question is what value-add this is going to make for your app and is there a better way to convey this information. For instance, would highlighting convey enough information to your user? You're right that you don't want to

Re: How can I check if a more complex query condition matched?

2011-12-27 Thread Ahmet Arslan
I have a more complex query condition like this: (city:15 AND country:60)^4 OR city:15^2 OR country:60^2 What I want to achive with this query is basically if a document has city = 15 AND country = 60 it is more important then another document which only has city = 15 OR country = 60

How can I check if a more complex query condition matched?

2011-12-27 Thread Max
I have a more complex query condition like this: (city:15 AND country:60)^4 OR city:15^2 OR country:60^2 What I want to achive with this query is basically if a document has city = 15 AND country = 60 it is more important then another document which only has city = 15 OR country = 60