RE: Performance impact of searching across multiple fields

2015-07-28 Thread aurelien . mazoyer
: aurelien.mazo...@francelabs.com [mailto:aurelien.mazo...@francelabs.com] Sent: Tuesday, July 28, 2015 5:05 PM To: java-user@lucene.apache.org Subject: Performance impact of searching across multiple fields Hi, I am wondering about the real performance impact of searching across multiple fields

RE: Performance impact of searching across multiple fields

2015-07-28 Thread Uwe Schindler
://www.thetaphi.de eMail: u...@thetaphi.de > -Original Message- > From: aurelien.mazo...@francelabs.com > [mailto:aurelien.mazo...@francelabs.com] > Sent: Tuesday, July 28, 2015 5:05 PM > To: java-user@lucene.apache.org > Subject: Performance impact of searching across multiple fields

Performance impact of searching across multiple fields

2015-07-28 Thread aurelien . mazoyer
Hi, I am wondering about the real performance impact of searching across multiple fields instead of using a catch-all field. I know that Lucene is optimized to do that and that there are mechanisms to mitigate the overhead but does anybody know if there are performance benchmarks related to

Re: Searching across multiple fields

2008-11-17 Thread prabin meitei
Hi, Try using Boolean Query. You can effectively use boolean operators using it. make seperate queries for each field. Boolean query is meant for having a series of queries with boolean operators defined. For eg. lets say you have 3 diff queries A, B, C and you want a final query which behav

Searching across multiple fields

2008-11-17 Thread Aditi Goyal
Hi, Lets say I have an index with the following fields: field1, field2, field3 and field4 where all the fields can have same values. Now I want to search a document where "basket" and "apple" are part of the whole document but "orange" is not. I have tried using MultiFieldQueryParser but it is n

Searching across multiple fields

2008-11-17 Thread Aditi Goyal
Hi, Lets say I have an index with the following fields: field1, field2, field3 and field4 where all the fields can have same values. Now I want to search a document where "basket" and "apple" are part of the whole document but "orange" is not. I have tried using MultiFieldQueryParser but it is n