Re: Max length of solr query

2017-01-12 Thread Erick Erickson
Also, consider using TermsQueryParser for your very large OR clauses. That avoids the "too many boolean clauses" error and is more efficient than a large OR clause. It'll also reduce the size of your query somewhat since using it substitutes a space or perhaps comma for " OR ". Best, Erick On Thu

Re: Max length of solr query

2017-01-12 Thread Noriyuki TAKEI
Hi,all.I got it.Thanks a lot!! 2017年1月13日(金) 1:56 Shawn Heisey-2 [via Lucene] < ml-node+s472066n4313737...@n3.nabble.com>: > > > > > On 1/12/2017 9:36 AM, 武井宜行 wrote: > > > > My Application throws too large query to solr server with solrj > > > > client.(Http Method is Post) > > > > > > > > I hav

Re: Max length of solr query

2017-01-12 Thread Shawn Heisey
On 1/12/2017 9:36 AM, 武井宜行 wrote: > My Application throws too large query to solr server with solrj > client.(Http Method is Post) > > I have two questions. > > At first,I would like to know the limit of clauses of Boolean Query.I Know > the number is restricted to 1024 by default, and I can incre

Re: Max length of solr query

2017-01-12 Thread Scott Stults
That doesn't seem like an efficient use of a search engine. Maybe what you want to do is use streaming expressions to process some data: https://cwiki.apache.org/confluence/display/solr/Streaming+Expressions k/r, Scott On Thu, Jan 12, 2017 at 11:36 AM, 武井宜行 wrote: > Hi,all > > My Application