Re: Get all matching terms of an OR query

2012-07-05 Thread Michael Jakl
Thank you! On 4 July 2012 17:37, Jack Krupansky wrote: > What exactly is it that is too slow? I was comparing Queries with "debugQuery" enabled and disabled. The difference was 60 seconds to 30 seconds for some (unusual) large Queries (many Terms over a large set of documents chosen by filter qu

Re: Get all matching terms of an OR query

2012-07-04 Thread Jack Krupansky
dnesday, July 04, 2012 10:09 AM To: solr-user@lucene.apache.org Subject: Re: Get all matching terms of an OR query Hi! On 4 July 2012 17:01, Jack Krupansky wrote: First, "OR -ipod" needs to be written as "OR (*:* -ipod)" due to an ongoing deficiency in Lucene query parsin

Re: Get all matching terms of an OR query

2012-07-04 Thread Michael Jakl
Hi! On 4 July 2012 17:01, Jack Krupansky wrote: > First, "OR -ipod" needs to be written as "OR (*:* -ipod)" due to an ongoing > deficiency in Lucene query parsing, but I wonder what you really think you > are OR'ing in that clause - all documents that don't contain "ipod"? That > seems odd. Maybe

Re: Get all matching terms of an OR query

2012-07-04 Thread Jack Krupansky
want to constrain the preceding query to exclude ipod? That would be: (android OR google OR apple OR iphone) -ipod -- Jack Krupansky -Original Message- From: Michael Jakl Sent: Wednesday, July 04, 2012 8:29 AM To: solr-user@lucene.apache.org Subject: Get all matching terms of an OR qu

Get all matching terms of an OR query

2012-07-04 Thread Michael Jakl
Hi, is there an easy way to get the matches of an OR query? If I'm searching for "android OR google OR apple OR iphone OR -ipod", I'd like to know which of these terms document X contains. I've been using debugQuery and tried to extract the info from the explain information, unfortunately this is