[ 
https://issues.apache.org/jira/browse/SOLR-10921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16060204#comment-16060204
 ] 

Steve Rowe commented on SOLR-10921:
-----------------------------------

This doesn't reproduce for me but seems worthy of mention 
[https://jenkins.thetaphi.de/job/Lucene-Solr-master-MacOSX/4096/]:

{noformat}
Checking out Revision ae01113472378093462e88b90e6e07a2cd863f8f 
(refs/remotes/origin/master)
[...]
   [junit4]   2> 1861432 ERROR 
(TEST-TestSolrQueryParser.testManyClauses-seed#[48DB078C2CAE9CBD]) [    ] 
o.a.s.SolrTestCaseJ4 REQUEST FAILED: 
q=id:(z0+z1+z2+z3+z4+z5+z6+z7+z8+z9+z10+z11+z12+z13+z14+z15+z16+z17+z18+z19+z20+z21+z22+z23+z24+z25+z26+z27+z28+z29+z30+z31+z32+z33+z34+z35+z36+z37+z38+z39+z40+z41+z42+z43+z44+z45+z46+z47+z48+z49+z50+z51+z52+z53+z54+z55+z56+z57+z58+z59+z60+z61+z62+z63+z64+z65+z66+z67+z68+z69+z70+z71+z72+z73+z74+z75+z76+z77+z78+z79+z80+z81+z82+z83+z84+z85+z86+z87+z88+z89+z90+z91+z92+z93+z94+z95+z96+z97+z98+z99+z100+z101+z102+z103+z104+z105+z106+z107+z108+z109+z110+z111+z112+z113+z114+z115+z116+z117+z118+z119+z120+z121+z122+z123+z124+z125+z126+z127+z128+z129+z130+z131+z132+z133+z134+z135+z136+z137+z138+z139+z140+z141+z142+z143+z144+z145+z146+z147+z148+z149+z150+z151+z152+z153+z154+z155+z156+z157+z158+z159+z160+z161+z162+z163+z164+z165+z166+z167+z168+z169+z170+z171+z172+z173+z174+z175+z176+z177+z178+z179+z180+z181+z182+z183+z184+z185+z186+z187+z188+z189+z190+z191+z192+z193+z194+z195+z196+z197+z198+z199+z200+z201+z202+z203+z204+z205+z206+z207+z208+z209+z210+z211+z212+z213+z214+z215+z216+z217+z218+z219+z220+z221+z222+z223+z224+z225+z226+z227+z228+z229+z230+z231+z232+z233+z234+z235+z236+z237+z238+z239+z240+z241+z242+z243+z244+z245+z246+z247+z248+z249+z250+z251+z252+z253+z254+z255+z256+z257+z258+z259+z260+z261+z262+z263+z264+z265+z266+z267+z268+z269+z270+z271+z272+z273+z274+z275+z276+z277+z278+z279+z280+z281+z282+z283+z284+z285+z286+z287+z288+z289+z290+z291+z292+z293+z294+z295+z296+z297+z298+z299+z300+z301+z302+z303+z304+z305+z306+z307+z308+z309+z310+z311+z312+z313+z314+z315+z316+z317+z318+z319+z320+z321+z322+z323+z324+z325+z326+z327+z328+z329+z330+z331+z332+z333+z334+z335+z336+z337+z338+z339+z340+z341+z342+z343+z344+z345+z346+z347+z348+z349+z350+z351+z352+z353+z354+z355+z356+z357+z358+z359+z360+z361+z362+z363+z364+z365+z366+z367+z368+z369+z370+z371+z372+z373+z374+z375+z376+z377+z378+z379+z380+z381+z382+z383+z384+z385+z386+z387+z388+z389+z390+z391+z392+z393+z394+z395+z396+z397+z398+z399+z400+z401+z402+z403+z404+z405+z406+z407+z408+z409+z410+z411+z412+z413+z414+z415+z416+z417+z418+z419+z420+z421+z422+z423+z424+z425+z426+z427+z428+z429+z430+z431+z432+z433+z434+z435+z436+z437+z438+z439+z440+z441+z442+z443+z444+z445+z446+z447+z448+z449+z450+z451+z452+z453+z454+z455+z456+z457+z458+z459+z460+z461+z462+z463+z464+z465+z466+z467+z468+z469+z470+z471+z472+z473+z474+z475+z476+z477+z478+z479+z480+z481+z482+z483+z484+z485+z486+z487+z488+z489+z490+z491+z492+z493+z494+z495+z496+z497+z498+z499+z500+z501+z502+z503+z504+z505+z506+z507+z508+z509+z510+z511+z512+z513+z514+z515+z516+z517+z518+z519+z520+z521+z522+z523+z524+z525+z526+z527+z528+z529+z530+z531+z532+z533+z534+z535+z536+z537+z538+z539+z540+z541+z542+z543+z544+z545+z546+z547+z548+z549+z550+z551+z552+z553+z554+z555+z556+z557+z558+z559+z560+z561+z562+z563+z564+z565+z566+z567+z568+z569+z570+z571+z572+z573+z574+z575+z576+z577+z578+z579+z580+z581+z582+z583+z584+z585+z586+z587+z588+z589+z590+z591+z592+z593+z594+z595+z596+z597+z598+z599+z600+z601+z602+z603+z604+z605+z606+z607+z608+z609+z610+z611+z612+z613+z614+z615+z616+z617+z618+z619+z620+z621+z622+z623+z624+z625+z626+z627+z628+z629+z630+z631+z632+z633+z634+z635+z636+z637+z638+z639+z640+z641+z642+z643+z644+z645+z646+z647+z648+z649+z650+z651+z652+z653+z654+z655+z656+z657+z658+z659+z660+z661+z662+z663+z664+z665+z666+z667+z668+z669+z670+z671+z672+z673+z674+z675+z676+z677+z678+z679+z680+z681+z682+z683+z684+z685+z686+z687+z688+z689+z690+z691+z692+z693+z694+z695+z696+z697+z698+z699+z700+z701+z702+z703+z704+z705+z706+z707+z708+z709+z710+z711+z712+z713+z714+z715+z716+z717+z718+z719+z720+z721+z722+z723+z724+z725+z726+z727+z728+z729+z730+z731+z732+z733+z734+z735+z736+z737+z738+z739+z740+z741+z742+z743+z744+z745+z746+z747+z748+z749+z750+z751+z752+z753+z754+z755+z756+z757+z758+z759+z760+z761+z762+z763+z764+z765+z766+z767+z768+z769+z770+z771+z772+z773+z774+z775+z776+z777+z778+z779+z780+z781+z782+z783+z784+z785+z786+z787+z788+z789+z790+z791+z792+z793+z794+z795+z796+z797+z798+z799+z800+z801+z802+z803+z804+z805+z806+z807+z808+z809+z810+z811+z812+z813+z814+z815+z816+z817+z818+z819+z820+z821+z822+z823+z824+z825+z826+z827+z828+z829+z830+z831+z832+z833+z834+z835+z836+z837+z838+z839+z840+z841+z842+z843+z844+z845+z846+z847+z848+z849+z850+z851+z852+z853+z854+z855+z856+z857+z858+z859+z860+z861+z862+z863+z864+z865+z866+z867+z868+z869+z870+z871+z872+z873+z874+z875+z876+z877+z878+z879+z880+z881+z882+z883+z884+z885+z886+z887+z888+z889+z890+z891+z892+z893+z894+z895+z896+z897+z898+z899+z900+z901+z902+z903+z904+z905+z906+z907+z908+z909+z910+z911+z912+z913+z914+z915+z916+z917+z918+z919+z920+z921+z922+z923+z924+z925+z926+z927+z928+z929+z930+z931+z932+z933+z934+z935+z936+z937+z938+z939+z940+z941+z942+z943+z944+z945+z946+z947+z948+z949+z950+z951+z952+z953+z954+z955+z956+z957+z958+z959+z960+z961+z962+z963+z964+z965+z966+z967+z968+z969+z970+z971+z972+z973+z974+z975+z976+z977+z978+z979+z980+z981+z982+z983+z984+z985+z986+z987+z988+z989+z990+z991+z992+z993+z994+z995+z996+z997+z998+z999+z1000+z1001+z1002+z1003+z1004+z1005+z1006+z1007+z1008+z1009+z1010+z1011+z1012+z1013+z1014+z1015+z1016+z1017+z1018+z1019+z1020+z1021+z1022+z1023+1+a+2+b+3+c+10+d+11+12+)&wt=xml
   [junit4]   2> 1861433 INFO  
(TEST-TestSolrQueryParser.testManyClauses-seed#[48DB078C2CAE9CBD]) [    ] 
o.a.s.SolrTestCaseJ4 ###Ending testManyClauses
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestSolrQueryParser 
-Dtests.method=testManyClauses -Dtests.seed=48DB078C2CAE9CBD -Dtests.slow=true 
-Dtests.locale=sq -Dtests.timezone=GMT -Dtests.asserts=true 
-Dtests.file.encoding=UTF-8
   [junit4] FAILURE 0.01s J1 | TestSolrQueryParser.testManyClauses <<<
   [junit4]    > Throwable #1: java.lang.AssertionError
   [junit4]    >        at 
__randomizedtesting.SeedInfo.seed([48DB078C2CAE9CBD:16D51D19E715222]:0)
   [junit4]    >        at 
org.apache.solr.search.TestSolrQueryParser.testManyClauses(TestSolrQueryParser.java:368)
{noformat}

> Make boolean query clause limit configurable per-query
> ------------------------------------------------------
>
>                 Key: SOLR-10921
>                 URL: https://issues.apache.org/jira/browse/SOLR-10921
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Yonik Seeley
>            Assignee: Yonik Seeley
>             Fix For: master (7.0)
>
>         Attachments: SOLR-10921.patch, SOLR-10921.patch
>
>
> This is the Solr version of LUCENE-7880
> Background: The removal of the arbitrary maxBooleanClauses has been blocked 
> in SOLR-4586, and there were objections to adding the ability to override 
> maxBooleanClauses at the Lucene level in LUCENE-7880.
> That leaves us with this last option of implementing the check in solr by 
> raising the lucene limit and then using the maxBooleanClauses from 
> solrconfig.xml to throw an exception when the limit is exceeded.  Solr 
> QParsers have access to the request object, which knows the 
> schema/core/config.  This should fix the last-core-wins behavior due to the 
> lucene limit being a static.
> Although this enables controlling the limit on a per-query basis, this issue 
> is not about adding any user API to do so.  The capability will only be used 
> to make the current Solr maxBooleanClauses setting truly per-solr-core rather 
> than last-core-wins.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to