Re: Which Lucene search syntax is faster

2014-04-30 Thread Shawn Heisey
On 4/30/2014 3:47 PM, johnmu...@aol.com wrote: > Thank you Shawn and Erick for the quick response. > > > A follow up question. > > > Basedon > https://cwiki.apache.org/confluence/display/solr/Common+Query+Parameters#CommonQueryParameters-Thefq%28FilterQuery%29Parameter,I > see the "fl" (field lis

Re: Which Lucene search syntax is faster

2014-04-30 Thread johnmunir
-Original Message- From: Erick Erickson To: solr-user Sent: Wed, Apr 30, 2014 5:33 pm Subject: Re: Which Lucene search syntax is faster I'd add that I think you're worrying about the wrong thing. 10M documents is not very many by modern Solr standards. I rather suspect that you

Re: Which Lucene search syntax is faster

2014-04-30 Thread Erick Erickson
I'd add that I think you're worrying about the wrong thing. 10M documents is not very many by modern Solr standards. I rather suspect that you won't notice much difference in performance due to how you construct the query. Shawn's suggestion to use fq clauses is spot on, though. fq clauses are re-

Re: Which Lucene search syntax is faster

2014-04-30 Thread Shawn Heisey
On 4/30/2014 2:29 PM, johnmu...@aol.com wrote: > My question is this: what Lucene search syntax will give meback result the > fastest? If my user is interestedin finding data within “title” and “owner” > fields only “doc_type” “DOC”, shouldI build my Lucene search syntax as: > > 1) skyfall ian

Which Lucene search syntax is faster

2014-04-30 Thread johnmunir
Hi, Given the following Lucene document that I’m adding to my index(and I expect to have over 10 million of them, each with various sizes from 1 Kbto 50 Kb: PDF Some name Some summary Who owns this 10 1234567890 DOC Some name Some summary Who