Re: Query String Limit
Thanks for the info Shawn. Regards, Edwin On 10 May 2016 at 11:27, Shawn Heiseywrote: > On 5/9/2016 8:31 PM, Zheng Lin Edwin Yeo wrote: > > Would like to check, for the increasing of maxBooleanClauses to a large > > values, if there are 50 collections in my core, I will have to increase > > that in the solrconfig.xml for all the 50 collections, before it will > work? > > The maxBooleanClauses is a global Lucene setting across the entire JVM. > The last core that gets started (the order is not completely > controllable) will set the value, so if that core's config doesn't have > a value set, it will go back to the default of 1024. > > Which means that yes, you must set it in EVERY core's configuration. > > Thanks, > Shawn > >
Re: Query String Limit
On 5/9/2016 8:31 PM, Zheng Lin Edwin Yeo wrote: > Would like to check, for the increasing of maxBooleanClauses to a large > values, if there are 50 collections in my core, I will have to increase > that in the solrconfig.xml for all the 50 collections, before it will work? The maxBooleanClauses is a global Lucene setting across the entire JVM. The last core that gets started (the order is not completely controllable) will set the value, so if that core's config doesn't have a value set, it will go back to the default of 1024. Which means that yes, you must set it in EVERY core's configuration. Thanks, Shawn
Re: Query String Limit
Hi Prasanna Would like to check, for the increasing of maxBooleanClauses to a large values, if there are 50 collections in my core, I will have to increase that in the solrconfig.xml for all the 50 collections, before it will work? Regards, Edwin On 6 May 2016 at 23:42, Erick Erickson <erickerick...@gmail.com> wrote: > By the way, this is the use-case for the TermsQueryParser > rather than a standard clause, see: > > https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-TermsQueryParser > > I _think_ that this doesn't trip the maxBooleanClauses bits... > > Best, > Erick > > On Fri, May 6, 2016 at 5:01 AM, Prasanna S. Dhakephalkar > <prasann...@merajob.in> wrote: > > Hi, > > > > This got resolved. Needed to do 2 things > > > > 1. maxBooleanClauses needed to be set to large value from 1024 in > solrconfig.xml for all cores. > > 2. In jetty.xml file solr.jetty.request.header.size needed to be set to > higher value from 8192 > > > > Thanks all for giving pointers to come to a solution. > > > > Regards, > > > > Prasanna. > > > > -Original Message- > > From: Susmit Shukla [mailto:shukla.sus...@gmail.com] > > Sent: Thursday, May 5, 2016 11:31 AM > > To: solr-user@lucene.apache.org > > Subject: Re: Query String Limit > > > > Hi Prasanna, > > > > What is the exact number you set it to? > > What error did you get on solr console and in the solr logs? > > Did you reload the core/restarted solr after bumping up the solrconfig? > > > > Thanks, > > Susmit > > > > On Wed, May 4, 2016 at 9:45 PM, Prasanna S. Dhakephalkar < > prasann...@merajob.in> wrote: > > > >> Hi > >> > >> We had increased theto a large number, but it did > >> not work > >> > >> Here is the query > >> > >> > >> http://localhost:8983/solr/collection1/select?fq=record_id%3A(604929+5 > >> 04197+ > >> > >> > 500759+510957+624719+524081+544530+375687+494822+468221+553049+441998+495212 > >> > >> > +462613+623866+344379+462078+501936+189274+609976+587180+620273+479690+60601 > >> > >> > 8+487078+496314+497899+374231+486707+516582+74518+479684+1696152+1090711+396 > >> > >> > 784+377205+600603+539686+550483+436672+512228+1102968+600604+487699+612271+4 > >> > >> > 87978+433952+479846+492699+380838+412290+487086+515836+487957+525335+495426+ > >> > >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+1 > >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+1 > >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+0 > >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+8 > >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+2 > >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+9 > >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+9 > >> > >> > +498818+528683+530270+595087+468595+585998+487888+600612+515884+455568+60643 > >> > >> > 8+526281+497992+460147+587530+576456+526021+790508+486148+469160+365923+4846 > >> > >> > 54+510829+488792+610933+254610+632700+522376+594418+514817+439283+1676569+52 > >> > >> > 4031+431557+521628+609255+627205+1255921+57+477017+519675+548373+350309+ > >> > >> > 491176+524276+570935+549458+495765+512814+494722+382249+619036+477309+487718 > >> > >> > +470604+514622+1240902+570607+613830+519130+479708+630293+496994+623870+5706 > >> > >> > 72+390434+483496+609115+490875+443859+292168+522383+501802+606498+596773+479 > >> > >> > 881+486020+488654+490422+512636+495512+489480+626269+614618+498967+476988+47 > >> > >> > 7608+486568+270095+295480+478367+607120+583892+593474+494373+368030+484522+5 > >> > >> > 01183+432822+448109+553418+584084+614868+486206+481014+495027+501880+479113+ > >> > >> > 615208+488161+512278+597663+569409+139097+489490+584000+493619+607479+281080 > >> > >> > +518617+518803+487896+719003+584153+484341+505689+278177+539722+548001+62529 > >> > >> > 6+1676456+507566+619039+501882+530385+474125+293642+612857+568418+640839+519 > >> > >> > 893+524335+612859+618762+479460+479719+593700+573677+525991+610965+462087+52 > >> > >> > 1251+501197+443642+1684784+533972+510695+475499+490644+613829+613893+479467+ > >> > >> > 5424
Re: Query String Limit
By the way, this is the use-case for the TermsQueryParser rather than a standard clause, see: https://cwiki.apache.org/confluence/display/solr/Other+Parsers#OtherParsers-TermsQueryParser I _think_ that this doesn't trip the maxBooleanClauses bits... Best, Erick On Fri, May 6, 2016 at 5:01 AM, Prasanna S. Dhakephalkar <prasann...@merajob.in> wrote: > Hi, > > This got resolved. Needed to do 2 things > > 1. maxBooleanClauses needed to be set to large value from 1024 in > solrconfig.xml for all cores. > 2. In jetty.xml file solr.jetty.request.header.size needed to be set to > higher value from 8192 > > Thanks all for giving pointers to come to a solution. > > Regards, > > Prasanna. > > -Original Message- > From: Susmit Shukla [mailto:shukla.sus...@gmail.com] > Sent: Thursday, May 5, 2016 11:31 AM > To: solr-user@lucene.apache.org > Subject: Re: Query String Limit > > Hi Prasanna, > > What is the exact number you set it to? > What error did you get on solr console and in the solr logs? > Did you reload the core/restarted solr after bumping up the solrconfig? > > Thanks, > Susmit > > On Wed, May 4, 2016 at 9:45 PM, Prasanna S. Dhakephalkar < > prasann...@merajob.in> wrote: > >> Hi >> >> We had increased theto a large number, but it did >> not work >> >> Here is the query >> >> >> http://localhost:8983/solr/collection1/select?fq=record_id%3A(604929+5 >> 04197+ >> >> 500759+510957+624719+524081+544530+375687+494822+468221+553049+441998+495212 >> >> +462613+623866+344379+462078+501936+189274+609976+587180+620273+479690+60601 >> >> 8+487078+496314+497899+374231+486707+516582+74518+479684+1696152+1090711+396 >> >> 784+377205+600603+539686+550483+436672+512228+1102968+600604+487699+612271+4 >> >> 87978+433952+479846+492699+380838+412290+487086+515836+487957+525335+495426+ >> >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+1 >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+1 >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+0 >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+8 >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+2 >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+9 >> 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+9 >> >> +498818+528683+530270+595087+468595+585998+487888+600612+515884+455568+60643 >> >> 8+526281+497992+460147+587530+576456+526021+790508+486148+469160+365923+4846 >> >> 54+510829+488792+610933+254610+632700+522376+594418+514817+439283+1676569+52 >> >> 4031+431557+521628+609255+627205+1255921+57+477017+519675+548373+350309+ >> >> 491176+524276+570935+549458+495765+512814+494722+382249+619036+477309+487718 >> >> +470604+514622+1240902+570607+613830+519130+479708+630293+496994+623870+5706 >> >> 72+390434+483496+609115+490875+443859+292168+522383+501802+606498+596773+479 >> >> 881+486020+488654+490422+512636+495512+489480+626269+614618+498967+476988+47 >> >> 7608+486568+270095+295480+478367+607120+583892+593474+494373+368030+484522+5 >> >> 01183+432822+448109+553418+584084+614868+486206+481014+495027+501880+479113+ >> >> 615208+488161+512278+597663+569409+139097+489490+584000+493619+607479+281080 >> >> +518617+518803+487896+719003+584153+484341+505689+278177+539722+548001+62529 >> >> 6+1676456+507566+619039+501882+530385+474125+293642+612857+568418+640839+519 >> >> 893+524335+612859+618762+479460+479719+593700+573677+525991+610965+462087+52 >> >> 1251+501197+443642+1684784+533972+510695+475499+490644+613829+613893+479467+ >> >> 542478+1102898+499230+436921+458632+602303+488468+1684407+584373+494603+4992 >> >> 45+548019+600436+606997+59+503156+440428+518759+535013+548023+494273+649 >> >> 062+528704+469282+582249+511250+496466+497675+505937+489504+600444+614240+19 >> >> 35577+464232+522398+613809+1206232+607149+607644+498059+506810+487115+550976 >> >> +638174+600849+525655+625011+500082+606336+507156+487887+333601+457209+60111 >> >> 0+494927+1712081+601280+486061+501558+600451+263864+527378+571918+472415+608 >> >> 130+212386+380460+590400+478850+631886+486782+608013+613824+581767+527023+62 >> >> 3207+607013+505819+485418+486786+537626+507047+92+527473+495520+553141+5 >> >> 17837+497295+563266+495506+532725+267057+497321+453249+524341+429654+720001+ >> >> 539946+490813+479491+479628+479630+1125985+351147+524296+565077+439949+61241 >> >
RE: Query String Limit
Hi, This got resolved. Needed to do 2 things 1. maxBooleanClauses needed to be set to large value from 1024 in solrconfig.xml for all cores. 2. In jetty.xml file solr.jetty.request.header.size needed to be set to higher value from 8192 Thanks all for giving pointers to come to a solution. Regards, Prasanna. -Original Message- From: Susmit Shukla [mailto:shukla.sus...@gmail.com] Sent: Thursday, May 5, 2016 11:31 AM To: solr-user@lucene.apache.org Subject: Re: Query String Limit Hi Prasanna, What is the exact number you set it to? What error did you get on solr console and in the solr logs? Did you reload the core/restarted solr after bumping up the solrconfig? Thanks, Susmit On Wed, May 4, 2016 at 9:45 PM, Prasanna S. Dhakephalkar < prasann...@merajob.in> wrote: > Hi > > We had increased theto a large number, but it did > not work > > Here is the query > > > http://localhost:8983/solr/collection1/select?fq=record_id%3A(604929+5 > 04197+ > > 500759+510957+624719+524081+544530+375687+494822+468221+553049+441998+495212 > > +462613+623866+344379+462078+501936+189274+609976+587180+620273+479690+60601 > > 8+487078+496314+497899+374231+486707+516582+74518+479684+1696152+1090711+396 > > 784+377205+600603+539686+550483+436672+512228+1102968+600604+487699+612271+4 > > 87978+433952+479846+492699+380838+412290+487086+515836+487957+525335+495426+ > > 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+1 > 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+1 > 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+0 > 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+8 > 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+2 > 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+9 > 619724+49726+444558+67422+368749+630542+473638+613887+1679503+509367+9 > > +498818+528683+530270+595087+468595+585998+487888+600612+515884+455568+60643 > > 8+526281+497992+460147+587530+576456+526021+790508+486148+469160+365923+4846 > > 54+510829+488792+610933+254610+632700+522376+594418+514817+439283+1676569+52 > > 4031+431557+521628+609255+627205+1255921+57+477017+519675+548373+350309+ > > 491176+524276+570935+549458+495765+512814+494722+382249+619036+477309+487718 > > +470604+514622+1240902+570607+613830+519130+479708+630293+496994+623870+5706 > > 72+390434+483496+609115+490875+443859+292168+522383+501802+606498+596773+479 > > 881+486020+488654+490422+512636+495512+489480+626269+614618+498967+476988+47 > > 7608+486568+270095+295480+478367+607120+583892+593474+494373+368030+484522+5 > > 01183+432822+448109+553418+584084+614868+486206+481014+495027+501880+479113+ > > 615208+488161+512278+597663+569409+139097+489490+584000+493619+607479+281080 > > +518617+518803+487896+719003+584153+484341+505689+278177+539722+548001+62529 > > 6+1676456+507566+619039+501882+530385+474125+293642+612857+568418+640839+519 > > 893+524335+612859+618762+479460+479719+593700+573677+525991+610965+462087+52 > > 1251+501197+443642+1684784+533972+510695+475499+490644+613829+613893+479467+ > > 542478+1102898+499230+436921+458632+602303+488468+1684407+584373+494603+4992 > > 45+548019+600436+606997+59+503156+440428+518759+535013+548023+494273+649 > > 062+528704+469282+582249+511250+496466+497675+505937+489504+600444+614240+19 > > 35577+464232+522398+613809+1206232+607149+607644+498059+506810+487115+550976 > > +638174+600849+525655+625011+500082+606336+507156+487887+333601+457209+60111 > > 0+494927+1712081+601280+486061+501558+600451+263864+527378+571918+472415+608 > > 130+212386+380460+590400+478850+631886+486782+608013+613824+581767+527023+62 > > 3207+607013+505819+485418+486786+537626+507047+92+527473+495520+553141+5 > > 17837+497295+563266+495506+532725+267057+497321+453249+524341+429654+720001+ > > 539946+490813+479491+479628+479630+1125985+351147+524296+565077+439949+61241 > > 3+495854+479493+1647796+600259+229346+492571+485638+596394+512112+477237+600 > > 459+263780+704068+485934+450060+475944+582280+488031+1094010+1687904+539515+ > > 525820+539516+505985+600461+488991+387733+520928+362967+351847+531586+616101 > > +479925+494156+511292+515729+601903+282655+491244+610859+486081+325500+43639 > > 7+600708+523445+480737+486083+614767+486278+1267655+484845+495145+562624+493 > > 381+8060+638731+501347+565979+325132+501363+268866+614113+479646+1964487+631 > > 934+25717+461612+376451+513712+527557+459209+610194+1938903+488861+426305+47 > > 7676+1222682+1246647+567986+501908+791653+325802+498354+435156+484862+533068 > > +339875+395827+475148+331094+528741+540715+623480+416601+516419+600473+62563 > > 2+480570+447412+449778+503316+492365+56329
Re: Query String Limit
+526049+614817+589065+603307+491990+467339+264 > 426+487907+492982+589067+487674+487820+492983+486708+504140+1216198+625736+4 > 92984+530116+615663+503248+1896822+600588+518139+494994+621846+599669+488207 > +640923+487580+539856+603968+444717+492991+614824+491735+492992+495149+52117 > 2+365778+261681+600502+479682+597464+492997+587172+624381+482355+1246338+593 > 642+492000+494707+620137+493000+20617+585199+587176+587177+1877064+587179+53 > 3478+606061+647089+612257+558521+612259+612261+612264+612266+612268+612273+6 > 12274+612275+612276+612278+612279+1414843+883571+206887+147419+617296+547518 > +547519+524791+541892+541895+541943+541945+541947+34708+638171+589724+602793 > +593074+614611+570608+614612+606821+614613+614614+490421+614615+619479+61461 > 6+1898943+1898942+1898945+614619+1898944+614620+614621+614622+614624+615204+ > 614625+615205+615206+615207+529065+293239+615209+623525+526605+610560+610562 > +531607+615211+561824+615212+618273+490249+588274+615213+618275+547994+18802 > 58+613635+615214+618276+547996+1880257+613637+615215+1451989+613638+615402+5 > 47999+197256+613639+616476+519885+612854+613640+616672+548837+612855+613641+ > 241894+548003+519887+522804+612856+613642+613643+548292+612858+613644+501654 > +548006+548293+613645+569583+548007+584199+612860+613646+569584+548008+54829 > 6+612861+613647+612862+613648+519902+613649+548013+1487095+548014+548015+548 > 016+548017+503154+548021+548022+557140+603003+553093+529386+606112+541660+54 > 1864+39955+178701+537375+537380+542005+537627+542006+537628+542007+537390+53 > 7629+536454+537630+541618+242068+525399+530034+542221+533885+508971+533895+5 > 91070+591071+591072+539592+539667+713068+54+525562+515732+550043+524234+ > 585002+580723+584828+614165+614166+584833+590508+584834+567988+1893155+61416 > 9+1893156+614170+614171+588269+614172+588270+614173+614175+446148+614176+614 > 177+588271+614178+614179+514723+514740+514742+485852+222588+535750+539508+48 > 5862+593655+826158+487474+114666+535759+422948+585677+585679+625868+585740+5 > 85681+585683+585685+585688+160459+539591+585693+548850+585696+539761+611518+ > 585700+611522+585702+611524+585706+481016+611528+585709+585710+512999+600761 > +611530+600762+611531+611532+482610+611533+575200+520115+611535+589066+61153 > 6+621843+611538+621844+492985+611539+507414+621845+611540+1659825+738795+792 > 811+522593+510951+492994+510953+539674+587173+587174+520252+587175+510958+53 > 1677+584350+496316+507545+490737+507553+481713+561933+474239+346161+474100+5 > 14407+580641+474109+476732+474110+521966+473246+474114+483679+262067+487530+ > 474119+479717+548002+548004+503110+590202+613900+517798+474130+482605+278177 > +474134+528525+527371+515287+613923+613889+513286+479477+541661+511650+59341 > 6+550646+491686+543280+474153+510616+533892+508970+508972+515727+510887+4436 > 26+520618+523453+474183+474854+628524+485439+456324+536432+475159+522720+510 > 938+514721+517220+485851+514744+512970+485863+567602+593656+474206+477699+48 > 0787+523366+487479+585007+605280+526354+474096+480261+611526+280221+551600+6 > 11534+614125+520122+520132+522598+587171+507508+475637+520244+487622+502613+ > 529599+510060+509181+473940+547228+584796+483487+507518+525359+490076+525359 > +573773+510628+324901+486707+491740+492002+493004+576449+538687+507521+50809 > 6+142104+549201+524274+532988+541580+498372+446727+561414+366244+371090+4900 > 42+490886+492006+521025+514370+481202+528293+535687+465504+516107+534990+344 > 142+546481+613876+524278+488781+492917+471136+507546+512772+476038+553508+51 > 8938+488916+498995+584135+572298+437085+387800+432390+284849+536676+550591+3 > 07709+507558+530182+55056+212462+548434+507562+475191+612277+431654+486062+5 > 36118+489600+520217+494597+497168+519682+568891+561337+495428+452291+543535+ > 464053+517446+549939+381269+612280+586355+500385+550828+301065+505318+507577 > +433812+519066+430972+519067+553452+437926+583162+505300+518429+445216+47187 > 7+499383+611206+473954+417321+111073+623141+517089+470170+528283+476527+6032 > 11+359505+526058+453250+456542+471970+494166+491307+498072+305874+571096+460 > 223+564062+534996+524107+544633+474098+562170+492644+506847+545141+525844+48 > 8003+594914+516739+550923+517166+545028+520186+479287+439972+347013+485467+5 > 25138+488651+560186+433262+524332+502336+562491+560520+390712+344053+489754+ > 370397+576336+466820+591967+562531+607053+511525+518898+486735+521917+520494 > +526975+562522+455350+298645+623728+342949+564645+541898+355825+393097+50575 > 9+516007+531184+584368+48+539630+475024+624460+377107+496841+610926+5117 > 15+508477)=json =*%3A*=0=50 > > Regards, > > Prasanna. > > > > -Original Message- > From: Mugeesh Husain [mailto:muge...@gmail.com] > Sent: Tuesday, May 3, 2016 6:27 PM > To: solr-user@lucene.apache.org > Subject: Re: Query String Limit > > hi, > > Please share your query ? > > I think you should increase maxBooleanClauses from solrconfig file. > as below > 1024 > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Query-String-Limit-tp4274161p4274236.html > Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query String Limit
547519+524791+541892+541895+541943+541945+541947+34708+638171+589724+602793 +593074+614611+570608+614612+606821+614613+614614+490421+614615+619479+61461 6+1898943+1898942+1898945+614619+1898944+614620+614621+614622+614624+615204+ 614625+615205+615206+615207+529065+293239+615209+623525+526605+610560+610562 +531607+615211+561824+615212+618273+490249+588274+615213+618275+547994+18802 58+613635+615214+618276+547996+1880257+613637+615215+1451989+613638+615402+5 47999+197256+613639+616476+519885+612854+613640+616672+548837+612855+613641+ 241894+548003+519887+522804+612856+613642+613643+548292+612858+613644+501654 +548006+548293+613645+569583+548007+584199+612860+613646+569584+548008+54829 6+612861+613647+612862+613648+519902+613649+548013+1487095+548014+548015+548 016+548017+503154+548021+548022+557140+603003+553093+529386+606112+541660+54 1864+39955+178701+537375+537380+542005+537627+542006+537628+542007+537390+53 7629+536454+537630+541618+242068+525399+530034+542221+533885+508971+533895+5 91070+591071+591072+539592+539667+713068+54+525562+515732+550043+524234+ 585002+580723+584828+614165+614166+584833+590508+584834+567988+1893155+61416 9+1893156+614170+614171+588269+614172+588270+614173+614175+446148+614176+614 177+588271+614178+614179+514723+514740+514742+485852+222588+535750+539508+48 5862+593655+826158+487474+114666+535759+422948+585677+585679+625868+585740+5 85681+585683+585685+585688+160459+539591+585693+548850+585696+539761+611518+ 585700+611522+585702+611524+585706+481016+611528+585709+585710+512999+600761 +611530+600762+611531+611532+482610+611533+575200+520115+611535+589066+61153 6+621843+611538+621844+492985+611539+507414+621845+611540+1659825+738795+792 811+522593+510951+492994+510953+539674+587173+587174+520252+587175+510958+53 1677+584350+496316+507545+490737+507553+481713+561933+474239+346161+474100+5 14407+580641+474109+476732+474110+521966+473246+474114+483679+262067+487530+ 474119+479717+548002+548004+503110+590202+613900+517798+474130+482605+278177 +474134+528525+527371+515287+613923+613889+513286+479477+541661+511650+59341 6+550646+491686+543280+474153+510616+533892+508970+508972+515727+510887+4436 26+520618+523453+474183+474854+628524+485439+456324+536432+475159+522720+510 938+514721+517220+485851+514744+512970+485863+567602+593656+474206+477699+48 0787+523366+487479+585007+605280+526354+474096+480261+611526+280221+551600+6 11534+614125+520122+520132+522598+587171+507508+475637+520244+487622+502613+ 529599+510060+509181+473940+547228+584796+483487+507518+525359+490076+525359 +573773+510628+324901+486707+491740+492002+493004+576449+538687+507521+50809 6+142104+549201+524274+532988+541580+498372+446727+561414+366244+371090+4900 42+490886+492006+521025+514370+481202+528293+535687+465504+516107+534990+344 142+546481+613876+524278+488781+492917+471136+507546+512772+476038+553508+51 8938+488916+498995+584135+572298+437085+387800+432390+284849+536676+550591+3 07709+507558+530182+55056+212462+548434+507562+475191+612277+431654+486062+5 36118+489600+520217+494597+497168+519682+568891+561337+495428+452291+543535+ 464053+517446+549939+381269+612280+586355+500385+550828+301065+505318+507577 +433812+519066+430972+519067+553452+437926+583162+505300+518429+445216+47187 7+499383+611206+473954+417321+111073+623141+517089+470170+528283+476527+6032 11+359505+526058+453250+456542+471970+494166+491307+498072+305874+571096+460 223+564062+534996+524107+544633+474098+562170+492644+506847+545141+525844+48 8003+594914+516739+550923+517166+545028+520186+479287+439972+347013+485467+5 25138+488651+560186+433262+524332+502336+562491+560520+390712+344053+489754+ 370397+576336+466820+591967+562531+607053+511525+518898+486735+521917+520494 +526975+562522+455350+298645+623728+342949+564645+541898+355825+393097+50575 9+516007+531184+584368+48+539630+475024+624460+377107+496841+610926+5117 15+508477)=json =*%3A*=0=50 Regards, Prasanna. -Original Message- From: Mugeesh Husain [mailto:muge...@gmail.com] Sent: Tuesday, May 3, 2016 6:27 PM To: solr-user@lucene.apache.org Subject: Re: Query String Limit hi, Please share your query ? I think you should increase maxBooleanClauses from solrconfig file. as below 1024 -- View this message in context: http://lucene.472066.n3.nabble.com/Query-String-Limit-tp4274161p4274236.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query String Limit
On 5/4/2016 10:45 PM, Prasanna S. Dhakephalkar wrote: > We had increased the maxBooleanClauses to a large number, but it did not > work It looks like you have 1161 values here, so maxBooleanClauses does need to be increased beyond the default, but the error message would be different if that limit were being reached. The problem seems to be that this URL is 8251 bytes long, counting the extra space after json, which a browser would likely expand to three characters, making it 8253 bytes long. Every webserver I have ever looked at has a default 8192 byte limit on HTTP headers -- the actual header here would have "GET " before the URL and " HTTP/1.1" after it, so there's a potential header size of 8266 bytes here -- which won't work if the server config is left alone. You have two choices. You must either bump up the max header size in the Jetty config, or change to a POST request instead of a GET request, and put the query parameters in the POST body. In 5.x and 6.x, the server/etc/jetty.xml config already has a line for the requestHeaderSize, you just need to change the number. This is from my config -- we have queries up to 20K in size: As you can see, this config uses a property. You could add "-Dsolr.jetty.request.header.size=32768" to your Solr startup options and achieve the same result. Personally, I just edit jetty.xml -- which I need to remember to do again when I upgrade Solr. I need to check whether we are using POST in our code or not. That would solve the entire issue. Thanks, Shawn
Re: Query String Limit
8+1896822+600588+518139+494994+621846+599669+488207 > > +640923+487580+539856+603968+444717+492991+614824+491735+492992+495149+52117 > > 2+365778+261681+600502+479682+597464+492997+587172+624381+482355+1246338+593 > > 642+492000+494707+620137+493000+20617+585199+587176+587177+1877064+587179+53 > > 3478+606061+647089+612257+558521+612259+612261+612264+612266+612268+612273+6 > > 12274+612275+612276+612278+612279+1414843+883571+206887+147419+617296+547518 > > +547519+524791+541892+541895+541943+541945+541947+34708+638171+589724+602793 > > +593074+614611+570608+614612+606821+614613+614614+490421+614615+619479+61461 > > 6+1898943+1898942+1898945+614619+1898944+614620+614621+614622+614624+615204+ > > 614625+615205+615206+615207+529065+293239+615209+623525+526605+610560+610562 > > +531607+615211+561824+615212+618273+490249+588274+615213+618275+547994+18802 > > 58+613635+615214+618276+547996+1880257+613637+615215+1451989+613638+615402+5 > > 47999+197256+613639+616476+519885+612854+613640+616672+548837+612855+613641+ > > 241894+548003+519887+522804+612856+613642+613643+548292+612858+613644+501654 > > +548006+548293+613645+569583+548007+584199+612860+613646+569584+548008+54829 > > 6+612861+613647+612862+613648+519902+613649+548013+1487095+548014+548015+548 > > 016+548017+503154+548021+548022+557140+603003+553093+529386+606112+541660+54 > > 1864+39955+178701+537375+537380+542005+537627+542006+537628+542007+537390+53 > > 7629+536454+537630+541618+242068+525399+530034+542221+533885+508971+533895+5 > > 91070+591071+591072+539592+539667+713068+54+525562+515732+550043+524234+ > > 585002+580723+584828+614165+614166+584833+590508+584834+567988+1893155+61416 > > 9+1893156+614170+614171+588269+614172+588270+614173+614175+446148+614176+614 > > 177+588271+614178+614179+514723+514740+514742+485852+222588+535750+539508+48 > > 5862+593655+826158+487474+114666+535759+422948+585677+585679+625868+585740+5 > > 85681+585683+585685+585688+160459+539591+585693+548850+585696+539761+611518+ > > 585700+611522+585702+611524+585706+481016+611528+585709+585710+512999+600761 > > +611530+600762+611531+611532+482610+611533+575200+520115+611535+589066+61153 > > 6+621843+611538+621844+492985+611539+507414+621845+611540+1659825+738795+792 > > 811+522593+510951+492994+510953+539674+587173+587174+520252+587175+510958+53 > > 1677+584350+496316+507545+490737+507553+481713+561933+474239+346161+474100+5 > > 14407+580641+474109+476732+474110+521966+473246+474114+483679+262067+487530+ > > 474119+479717+548002+548004+503110+590202+613900+517798+474130+482605+278177 > > +474134+528525+527371+515287+613923+613889+513286+479477+541661+511650+59341 > > 6+550646+491686+543280+474153+510616+533892+508970+508972+515727+510887+4436 > > 26+520618+523453+474183+474854+628524+485439+456324+536432+475159+522720+510 > > 938+514721+517220+485851+514744+512970+485863+567602+593656+474206+477699+48 > > 0787+523366+487479+585007+605280+526354+474096+480261+611526+280221+551600+6 > > 11534+614125+520122+520132+522598+587171+507508+475637+520244+487622+502613+ > > 529599+510060+509181+473940+547228+584796+483487+507518+525359+490076+525359 > > +573773+510628+324901+486707+491740+492002+493004+576449+538687+507521+50809 > > 6+142104+549201+524274+532988+541580+498372+446727+561414+366244+371090+4900 > > 42+490886+492006+521025+514370+481202+528293+535687+465504+516107+534990+344 > > 142+546481+613876+524278+488781+492917+471136+507546+512772+476038+553508+51 > > 8938+488916+498995+584135+572298+437085+387800+432390+284849+536676+550591+3 > > 07709+507558+530182+55056+212462+548434+507562+475191+612277+431654+486062+5 > > 36118+489600+520217+494597+497168+519682+568891+561337+495428+452291+543535+ > > 464053+517446+549939+381269+612280+586355+500385+550828+301065+505318+507577 > > +433812+519066+430972+519067+553452+437926+583162+505300+518429+445216+47187 > > 7+499383+611206+473954+417321+111073+623141+517089+470170+528283+476527+6032 > > 11+359505+526058+453250+456542+471970+494166+491307+498072+305874+571096+460 > > 223+564062+534996+524107+544633+474098+562170+492644+506847+545141+525844+48 > > 8003+594914+516739+550923+517166+545028+520186+479287+439972+347013+485467+5 > > 25138+488651+560186+433262+524332+502336+562491+560520+390712+344053+489754+ > > 370397+576336+466820+591967+562531+607053+511525+518898+486735+521917+520494 > > +526975+562522+455350+298645+623728+342949+564645+541898+355825+393097+50575 > > 9+516007+531184+584368+48+539630+475024+624460+377107+496841+610926+5117 > 15+508477)=json =*%3A*=0=50 > > Regards, > > Prasanna. > > > -Original Message- > From: Mugeesh Husain [mailto:muge...@gmail.com] > Sent: Tuesday, May 3, 2016 6:27 PM > To: solr-user@lucene.apache.org > Subject: Re: Query String Limit > > hi, > > Please share your query ? > > I think you should increase maxBooleanClauses from solrconfig file. > as below > 1024 > > > > -- > View this message in context: > > http://lucene.472066.n3.nabble.com/Query-String-Limit-tp4274161p4274236.html > Sent from the Solr - User mailing list archive at Nabble.com. > >
RE: Query String Limit
+615215+1451989+613638+615402+5 47999+197256+613639+616476+519885+612854+613640+616672+548837+612855+613641+ 241894+548003+519887+522804+612856+613642+613643+548292+612858+613644+501654 +548006+548293+613645+569583+548007+584199+612860+613646+569584+548008+54829 6+612861+613647+612862+613648+519902+613649+548013+1487095+548014+548015+548 016+548017+503154+548021+548022+557140+603003+553093+529386+606112+541660+54 1864+39955+178701+537375+537380+542005+537627+542006+537628+542007+537390+53 7629+536454+537630+541618+242068+525399+530034+542221+533885+508971+533895+5 91070+591071+591072+539592+539667+713068+54+525562+515732+550043+524234+ 585002+580723+584828+614165+614166+584833+590508+584834+567988+1893155+61416 9+1893156+614170+614171+588269+614172+588270+614173+614175+446148+614176+614 177+588271+614178+614179+514723+514740+514742+485852+222588+535750+539508+48 5862+593655+826158+487474+114666+535759+422948+585677+585679+625868+585740+5 85681+585683+585685+585688+160459+539591+585693+548850+585696+539761+611518+ 585700+611522+585702+611524+585706+481016+611528+585709+585710+512999+600761 +611530+600762+611531+611532+482610+611533+575200+520115+611535+589066+61153 6+621843+611538+621844+492985+611539+507414+621845+611540+1659825+738795+792 811+522593+510951+492994+510953+539674+587173+587174+520252+587175+510958+53 1677+584350+496316+507545+490737+507553+481713+561933+474239+346161+474100+5 14407+580641+474109+476732+474110+521966+473246+474114+483679+262067+487530+ 474119+479717+548002+548004+503110+590202+613900+517798+474130+482605+278177 +474134+528525+527371+515287+613923+613889+513286+479477+541661+511650+59341 6+550646+491686+543280+474153+510616+533892+508970+508972+515727+510887+4436 26+520618+523453+474183+474854+628524+485439+456324+536432+475159+522720+510 938+514721+517220+485851+514744+512970+485863+567602+593656+474206+477699+48 0787+523366+487479+585007+605280+526354+474096+480261+611526+280221+551600+6 11534+614125+520122+520132+522598+587171+507508+475637+520244+487622+502613+ 529599+510060+509181+473940+547228+584796+483487+507518+525359+490076+525359 +573773+510628+324901+486707+491740+492002+493004+576449+538687+507521+50809 6+142104+549201+524274+532988+541580+498372+446727+561414+366244+371090+4900 42+490886+492006+521025+514370+481202+528293+535687+465504+516107+534990+344 142+546481+613876+524278+488781+492917+471136+507546+512772+476038+553508+51 8938+488916+498995+584135+572298+437085+387800+432390+284849+536676+550591+3 07709+507558+530182+55056+212462+548434+507562+475191+612277+431654+486062+5 36118+489600+520217+494597+497168+519682+568891+561337+495428+452291+543535+ 464053+517446+549939+381269+612280+586355+500385+550828+301065+505318+507577 +433812+519066+430972+519067+553452+437926+583162+505300+518429+445216+47187 7+499383+611206+473954+417321+111073+623141+517089+470170+528283+476527+6032 11+359505+526058+453250+456542+471970+494166+491307+498072+305874+571096+460 223+564062+534996+524107+544633+474098+562170+492644+506847+545141+525844+48 8003+594914+516739+550923+517166+545028+520186+479287+439972+347013+485467+5 25138+488651+560186+433262+524332+502336+562491+560520+390712+344053+489754+ 370397+576336+466820+591967+562531+607053+511525+518898+486735+521917+520494 +526975+562522+455350+298645+623728+342949+564645+541898+355825+393097+50575 9+516007+531184+584368+48+539630+475024+624460+377107+496841+610926+5117 15+508477)=json =*%3A*=0=50 Regards, Prasanna. -Original Message- From: Mugeesh Husain [mailto:muge...@gmail.com] Sent: Tuesday, May 3, 2016 6:27 PM To: solr-user@lucene.apache.org Subject: Re: Query String Limit hi, Please share your query ? I think you should increase maxBooleanClauses from solrconfig file. as below 1024 -- View this message in context: http://lucene.472066.n3.nabble.com/Query-String-Limit-tp4274161p4274236.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query String Limit
hi, Please share your query ? I think you should increase maxBooleanClauses from solrconfig file. as below 1024 -- View this message in context: http://lucene.472066.n3.nabble.com/Query-String-Limit-tp4274161p4274236.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: Query String Limit
Hi, Post method should do the trick. Can you give an example of your query string, may be there is a way to shorten it? ahmet On Tuesday, May 3, 2016 9:30 AM, Prasanna S. Dhakephalkarwrote: Hi, I have a solr 5.3.1 standalone installation. When a query is fired on the browser, If the number of characters in the url is 6966, then I get the result, but if it is increased by 1 character, making the URL 6967 then solr does not return any result and screen goes blank. I am not sure if these numbers mean anything. We were trying through PHP application using Solr Library, The query string was long, Tried using GET and POST methods, but were not getting result. The query string was about 16000+ characters. Hence tried to see it on browser that is when we got to the character limit of query. Is it due to reaching memory limit ? Can I increase the limit ? If so How ? Any help in resolving the issue is much appreciated. Regards, Prasanna.