CHANGES.txt 820 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412
  1. Apache Solr Release Notes
  2. Introduction
  3. ------------
  4. Apache Solr is an open source enterprise search server based on the Apache Lucene Java
  5. search library, with XML/HTTP and JSON APIs, hit highlighting, faceted search,
  6. caching, replication, and a web administration interface.
  7. See http://lucene.apache.org/solr for more information.
  8. Getting Started
  9. ---------------
  10. You need a Java 1.8 VM or later installed.
  11. In this release, there is an example Solr server including a bundled
  12. servlet container in the directory named "example".
  13. See the Solr tutorial at https://lucene.apache.org/solr/guide/solr-tutorial.html
  14. ================== 7.7.2 ==================
  15. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  16. Versions of Major Components
  17. ---------------------
  18. Apache Tika 1.19.1
  19. Carrot2 3.16.0
  20. Velocity 1.7 and Velocity Tools 2.0
  21. Apache ZooKeeper 3.4.14
  22. Jetty 9.4.14.v20181114
  23. Upgrade Notes
  24. ----------------------
  25. * SOLR-13234: The Prometheus Metric Exporter now collects metrics from Solr at a fixed schedule that is controlled
  26. by the exporter itself. The default interval is 60s but it can be changed by specifying the --scrape-interval
  27. command line parameter to the tool. The collected metrics are cached and returned for any requests coming in before
  28. the next scheduled collection. This can impact the freshness of the metrics if prometheus is configured to query the
  29. tool more frequently.
  30. * SOLR-12708: When requesting the status of an async request via REQUESTSTATUS collections API, the response will
  31. include the list of internal async requests (if any) in the "success" or "failed" keys (in addition
  32. to them being included outside those keys for backwards compatibility). See SOLR-12708 for more
  33. details
  34. Bug fixes
  35. ----------------------
  36. * SOLR-13234: Prometheus Metric Exporter not threadsafe. This changes the prometheus exporter to collect metrics
  37. from Solr on a fixed interval controlled by this tool and prevents concurrent collections. This change also improves
  38. performance slightly by using the cluster state instead of sending multiple HTTP requests to each node to lookup
  39. all the cores.
  40. (Danyal Prout via shalin)
  41. * SOLR-12708: Async collection actions should not hide internal failures (Mano Kovacs, Varun Thacker, Tomás Fernández Löbbe)
  42. * SOLR-11876: In-place update fails when resolving from Tlog if schema has a required field (Justin Deoliveira, janhoy,
  43. Ishan Chattopadhyaya)
  44. * SOLR-13349: High CPU usage in Solr due to Java 8 bug (Erick Erickson)
  45. * SOLR-13355: 'all' permission ignored by RuleBasedAuthorizationPlugin in most cases (Jason Gerlowski, janhoy)
  46. * SOLR-13344: Admin UI inaccessible with RuleBasedAuthorizationPlugin (janhoy, Jason Gerlowski)
  47. * SOLR-12860: MetricsHistoryHandler now uses PKI Auth for metrics collection in background thread (janhoy, Lorenzo)
  48. * SOLR-13331: Atomic Update 'remove' operations broken for certain field types in SolrJ (Thomas Wockinger via Jason Gerlowski)
  49. * SOLR-13285: Updates with enum fields and javabin cause ClassCastException (noble)
  50. * SOLR-12371: Editing authorization config via REST API now works in standalone mode (janhoy)
  51. * SOLR-13281: Fixed NPE in DocExpirationUpdateProcessorFactory (Munendra S N, Tomás Fernández Löbbe)
  52. * SOLR-13409: Disable HTML directory listings in admin interface to prevent possible security issues (Uwe Schindler)
  53. * SOLR-13126: Query boosts were not being combined correctly for documents where not all boost queries
  54. matched (Alan Woodward, Mikhail Khludnev)
  55. * SOLR-13414: SolrSchema - Avoid NPE if Luke returns field with no type defined (Kevin Risden)
  56. * SOLR-12833: Avoid unnecessary memory cost when DistributedUpdateProcessor timed-out lock is not used. (ab)
  57. * SOLR-13449: SolrClientNodeStateProvider always retries on requesting metrics from other nodes (Cao Manh Dat)
  58. * SOLR-13112: Upgrade jackson to 2.9.8 (Kevin Risden)
  59. * SOLR-13410: Designated overseer wasn't able to rejoin election queue at head upon restart (Ishan Chattopadhyaya,
  60. Kesharee Nandan Vishwakarma)
  61. * SOLR-13254: Correct message that is logged in solrj's ConnectionManager when an exception
  62. occurred while reconnecting to ZooKeeper. (hu xiaodong via Christine Poerschke)
  63. * SOLR-13252: Fix an NPE when setting a "policy" property for an existing collection (ab)
  64. * SOLR-13398: Move log line "Processing SSL Credential Provider chain..." from INFO to DEBUG (janhoy)
  65. * SOLR-13386: OverseerTaskQueue#remove should not throw an exception when no node exists after an exists
  66. check and the Overseer work loop should not allow free spinning the loop when it hits a KeeperException.
  67. (Mark Miller, Fernandez-Lobbe, Mike Drob)
  68. * SOLR-13366: Clarify 'Invalid stage name' warning logging in AutoScalingConfig (Christine Poerschke)
  69. * SOLR-13352: Remove risk of deadlock/threadleak when shutting down an Overseer(TriggerThread). (hossman)
  70. * SOLR-13229: Cleanup replicasMetTragicEvent after all types of exception (Tomás Fernández Löbbe)
  71. Other Changes
  72. ----------------------
  73. * SOLR-13363: Upgrade to ZooKeeper 3.4.14 (Erick Erickson)
  74. ================== 7.7.1 ==================
  75. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  76. Versions of Major Components
  77. ---------------------
  78. Apache Tika 1.19.1
  79. Carrot2 3.16.0
  80. Velocity 1.7 and Velocity Tools 2.0
  81. Apache ZooKeeper 3.4.13
  82. Jetty 9.4.14.v20181114
  83. Upgrade Notes
  84. ----------------------
  85. * SOLR-13248: The default replica placement strategy used in Solr has been reverted to the 'legacy' policy used by Solr
  86. 7.4 and previous versions. This is due to multiple bugs in the autoscaling based replica placement strategy that was
  87. made default in Solr 7.5 which causes multiple replicas of the same shard to be placed on the same node in addition
  88. to the maxShardsPerNode and createNodeSet parameters being ignored. Although the default has changed, autoscaling
  89. will continue to be used if a cluster policy or preference is specified or a collection level policy is in use.
  90. The default replica placement strategy can be changed to use autoscaling again by setting a cluster property:
  91. curl -X POST -H 'Content-type:application/json' --data-binary '
  92. {
  93. "set-obj-property": {
  94. "defaults" : {
  95. "cluster": {
  96. "useLegacyReplicaAssignment":false
  97. }
  98. }
  99. }
  100. }' http://$SOLR_HOST:$SOLR_PORT/api/cluster
  101. Bug Fixes
  102. ----------------------
  103. * SOLR-13255 : ClasscastException when URPs try to read a String field which returns a ByteArrayUTF8CHarSequence . This is a regression
  104. in release 7.7 (noble)
  105. * SOLR-13248: Autoscaling based replica placement is broken out of the box. Solr 7.5 enabled autoscaling based replica
  106. placement by default but in the absence of default cluster policies, autoscaling can place more than 1 replica of the
  107. same shard on the same node. Also, the maxShardsPerNode and createNodeSet was not respected. Due to these reasons,
  108. this issue reverts the default replica placement policy to the 'legacy' assignment policy that was the default until
  109. Solr 7.4. (Gus Heck, Andrzej Bialecki, Bram Van Dam, shalin)
  110. * SOLR-13408: Cannot start/stop DaemonStream repeatedly, other API improvements (Erick Erickson)
  111. ================== 7.7.0 ==================
  112. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  113. Versions of Major Components
  114. ---------------------
  115. Apache Tika 1.19.1
  116. Carrot2 3.16.0
  117. Velocity 1.7 and Velocity Tools 2.0
  118. Apache ZooKeeper 3.4.13
  119. Jetty 9.4.14.v20181114
  120. Upgrade Notes
  121. ----------------------
  122. * SOLR-12770: The 'shards' parameter handling logic changes to use a new config element to determine what hosts can be
  123. requested. Please see Apache Solr Reference Guide chapter "Distributed Requests" for details, as well as SOLR-12770.
  124. New Features
  125. ----------------------
  126. * SOLR-12839: JSON 'terms' Faceting now supports a 'prelim_sort' option to use when initially selecting
  127. the top ranking buckets, prior to the final 'sort' option used after refinement. (hossman)
  128. * SOLR-7896: Add a login page to Admin UI, with initial support for Basic Auth (janhoy)
  129. * SOLR-13116: Add Admin UI login support for Kerberos (janhoy, Jason Gerlowski)
  130. * SOLR-12770: Make it possible to configure a host whitelist for distributed search
  131. (Christine Poerschke, janhoy, Erick Erickson, Tomás Fernández Löbbe)
  132. * SOLR-12373: Add a "tombstoneConfig" option to DocBasedVersionConstraintsProcessor that allows
  133. users to configure which fields/values to add to tombstone documents. This can be useful to
  134. make sure tombstone documents include fields that are marked as required in the schema
  135. (Tomás Fernández Löbbe)
  136. * SOLR-12984: The search Streaming Expression should properly support and push down paging
  137. when using the /select handler (Joel Bernstein)
  138. * SOLR-13088: Add zplot Stream Evaluator to plot math expressions in Apache Zeppelin (Joel Bernstein)
  139. Bug Fixes
  140. ----------------------
  141. * SOLR-12546: CVSResponseWriter omits useDocValuesAsStored=true field when fl=*
  142. (Munendra S N via Mikhail Khludnev)
  143. * SOLR-6117: Fix 'status' of ReplicationHandler commands (Shalin Mangar, Jason Gerlowski)
  144. * SOLR-12933: Fix SolrCloud distributed commit. (Mark Miller)
  145. * SOLR-13014: URI Too Long with large streaming expressions in SolrJ (janhoy)
  146. * SOLR-13066: A failure while reloading a SolrCore can result in the SolrCore not being closed. (Mark Miller)
  147. * SOLR-13058: Fix block that was synchronizing on the wrong collection in OverseerTaskProcessor (Gus Heck)
  148. * SOLR-11296: Spellcheck parameters not working in new UI (Matt Pearce via janhoy)
  149. * SOLR-10975: New Admin UI Query does not URL-encode the query produced in the URL box (janhoy)
  150. * SOLR-13072: Management of markers for nodeLost / nodeAdded events is broken. This bug could have caused
  151. some events to be lost if they coincided with an Overseer leader crash. (ab)
  152. * SOLR-13080: The "terms" QParser's "automaton" method semi-required that the input terms/IDs be sorted. This
  153. query parser now does this. Unclear if this is a perf issue or actual bug. (Daniel Lowe, David Smiley)
  154. * SOLR-13082: A trigger that creates trigger events more frequently than the cool down period can starve other triggers.
  155. This is mitigated to some extent by randomly choosing the trigger to resume after cool down. It is recommended that
  156. scheduled triggers not be used for very frequent operations to avoid this problem.
  157. (ab, shalin)
  158. * SOLR-12514: Rule-base Authorization plugin skips authorization if querying node does not have collection replica (noble)
  159. * SOLR-11853: Solr installer fails on SuSE linux (Markus Mandalka via janhoy)
  160. * SOLR-12237: Fix incorrect SOLR_SSL_KEYSTORE_TYPE variable in solr start script (janhoy, Joel Bernstein)
  161. * SOLR-13053: NodeAddedTrigger and NodeLostTrigger do not reserve added/removed time populated by restoreState
  162. (Cao Manh Dat)
  163. * SOLR-13137: NPE when /admin/zookeeper/status endpoint hit in standalone mode (janhoy)
  164. * SOLR-13091: REBALANCELEADERS is broken (Erick Erickson)
  165. * SOLR-11998: RebalanceLeaders API broken response format with wt=JSON (Erick Erickson)
  166. * SOLR-9735: Fix v2 API for AutoscalingHistoryHandler. (ab)
  167. * SOLR-13168: Fixed a bug in TestInjection that caused test only code to be invoked when TLOG replicas
  168. recieved commits if java assertions were enabled. (hossman)
  169. Improvements
  170. ----------------------
  171. * SOLR-12881: Remove unneeded import statements (Peter Somogyi via Erick Erickson)
  172. * SOLR-12992: When using binary format, ExportWriter to directly copy BytesRef instead of
  173. creating new String (noble)
  174. * SOLR-12898: Replace cluster state polling with ZkStateReader#waitFor. (Mark Miller)
  175. * SOLR-12897: Introduce AlreadyClosedException to clean up silly close / shutdown logging. (Mark Miller)
  176. * SOLR-12896: Introduce more checks for shutdown and closed to improve clean close and shutdown. (Mark Miller)
  177. * SOLR-12804: Remove static modifier from Overseer queue access. (Mark Miller)
  178. * SOLR-12833: Add configurable timeout to VersionBucket lock. (Jeffery Yuan, Mark Miller)
  179. * SOLR-12885: BinaryResponseWriter (javabin format) should directly copy from BytesRef to output (noble)
  180. * SOLR-12973: Admin UI "Nodes" view support for replica* replica names. (Daniel Collins, Christine Poerschke, janhoy)
  181. * SOLR-13090: All shipped configurations still have `maxBooleanClauses` default to 1024. But if the
  182. `solr.max.booleanClauses` sysprop is specified, that will override the 1024 default. This enables users to
  183. update this property across the board more easily. (Jason Gerlowski)
  184. * SOLR-12983: JavabinLoader should avoid creating String Objects and create UTF8CharSequence fields from byte[] (noble)
  185. * SOLR-13016: Computing suggestions when policy have "#EQUAL" or "#ALL" rules take too long (noble)
  186. * SOLR-13029: solr.hdfs.buffer.size can be configured for HdfsBackupRepository for better performance (Tim Owen via Mikhail Khludnev)
  187. * SOLR-13156: support facet.sort for facet.field={!terms=foo,bar}field. (Konstantin Perikov via Mikhail Khludnev)
  188. * SOLR-13146: Allow derivatives to be computed for the oscillate Stream Evaluator (Joel Bernstein)
  189. Other Changes
  190. ----------------------
  191. * SOLR-12981: SolrJ's QueryResponse now has a method `getJsonFacetingResponse()`,
  192. which allows easier access to the response information for the JSON faceting API. (Jason Gerlowski)
  193. * SOLR-12972: deprecate unused SolrIndexConfig.luceneVersion (Christine Poerschke)
  194. * SOLR-12801: Make massive improvements to the tests. (Mark Miller)
  195. * SOLR-12923: The new AutoScaling tests are way too flaky and need special attention. (Mark Miller)
  196. * SOLR-12932: ant test (without badapples=false) should pass easily for developers. (Mark Miller)
  197. * SOLR-13036: Fix retry logic in JettySolrRunner (Gus Heck)
  198. * SOLR-12727: Upgrade ZooKeeper dependency to 3.4.13 (Kevin Risden, Erick Erickson)
  199. * SOLR-13086: Improve the error message reported by DocumentObjectBinder when a setter is not found (Gus Heck)
  200. ================== 7.6.0 ==================
  201. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  202. Versions of Major Components
  203. ---------------------
  204. Apache Tika 1.19.1
  205. Carrot2 3.16.0
  206. Velocity 1.7 and Velocity Tools 2.0
  207. Apache ZooKeeper 3.4.11
  208. Jetty 9.4.11.v20180605
  209. Upgrade Notes
  210. ----------------------
  211. * SOLR-12767: The min_rf parameter is no longer needed, Solr will always return the achieved replication factor (rf)
  212. in the response header.
  213. * SOLR-12827: The cluster wide defaults structure has changed from {collectionDefaults: {nrtReplicas : 2}} to
  214. {defaults : {collection : {nrtReplicas : 2}}}. The old format continues to be supported and can be read from
  215. ZK as well as written using the V2 set-obj-property syntax but it is deprecated and will be removed in Solr 9.
  216. We recommend that users change their API calls to use the new format going forward.
  217. * SOLR-12739: Autoscaling policy framework is now used as the default strategy to select the nodes on which
  218. new replicas or replicas of new collections are created. Previously, the maxShardsPerNode parameter was not allowed
  219. on collections when autoscaling policy was configured. Also if an autoscaling policy was configured then the default
  220. was to set an unlimited maxShardsPerNode automatically. Now the maxShardsPerNode parameter is always
  221. allowed during collection creation and maxShardsPerNode should be set correctly (if required) regardless of whether
  222. autoscaling policies are in effect or not. The default value of maxShardsPerNode continues to be 1 as before. It can
  223. be set to -1 during collection creation to fall back to the old behavior of unlimited maxShardsPerNode when using
  224. autoscaling policy.
  225. * SOLR-12861: Added a Solr factory for ByteBuffersDirectory, which will replace deprecated RAMDirectory in Solr 9.0.
  226. New Features
  227. ----------------------
  228. * SOLR-6280: {!collapse}: if you attempt to use CollapseQParser on a field that is multi-valued, you will now get an
  229. error. Previously, the collapsing behavior was unreliable and undefined despite no explicit error.
  230. (Munendra S N, David Smiley)
  231. * SOLR-9317: ADDREPLICA command should be able to add more than one replica to a collection,shard at a time.
  232. The API now supports 'nrtReplicas', 'tlogReplicas', 'pullReplicas' parameters as well 'createNodeSet' parameter.
  233. As part of this change, the CREATESHARD API now delegates placing replicas entirely to the ADDREPLICA command
  234. and uses the new parameters to add all the replicas in one API call. (shalin)
  235. * SOLR-11522: /autoscaling/suggestions now include rebalance options as well even if there are no violations (noble)
  236. * SOLR-12822: /autoscaling/suggestions to include suggestion to add-replica for lost replicas (noble)
  237. * SOLR-12815: Implement maxOps limit for IndexSizeTrigger. (ab)
  238. * SOLR-12843: Implement a MultiContentWriter in SolrJ to post multiple files/payload at once (noble)
  239. * SOLR-12780: Add support for Leaky ReLU and TanH activations in contrib/ltr NeuralNetworkModel class.
  240. (Kamuela Lau, Christine Poerschke)
  241. * SOLR-12846: Added support for "host" variable in autoscaling policy rules (noble)
  242. * SOLR-5004: Splitshard collections API now supports splitting into more than 2 sub-shards directly i.e. by providing a
  243. numSubShards parameter (Christine Poerschke, Anshum Gupta)
  244. * SOLR-12754: The UnifiedHighlighter has a new hl.weightMatches param defaulting to false (will be true in 8.0). It's
  245. the highest query accuracy mode, and furthermore phrase queries are highlighted as one. (David Smiley)
  246. * SOLR-12828: Add oscillate Stream Evaluator to support sine wave analysis. (Joel Bernstein)
  247. * SOLR-11907: Add convexHull and associated geometric Stream Evaluators. (Joel Bernstein)
  248. * SOLR-12811: Add enclosingDisk and associated geometric Stream Evaluators. (Joel Bernstein)
  249. * SOLR-12840: Add pairSort Stream Evaluator (Joel Bernstein)
  250. * SOLR-12862: Add log10 Stream Evaluator and allow the pow Stream Evaluator to accept a vector of exponents (Joel Bernstein)
  251. * SOLR-12938: Cluster Status returns results for aliases, instead of throwing exceptions (Gus Heck)
  252. * SOLR-11997: Suggestions API/UI should show an entry where a violation could not be resolved (noble)
  253. * SOLR-12971: Add pivot Stream Evaluator to pivot facet co-occurrence counts into a matrix (Joel Bernstein)
  254. * SOLR-12795: Introduce 'rows' and 'offset' parameter in FacetStream (Joel Bernstein, Amrit Sarkar, Varun Thacker)
  255. * SOLR-11572: Add recip Stream Evaluator to support reciprocal transformations (Joel Bernstein)
  256. * SOLR-12936: Allow percentiles Stream Evaluator to accept an array of percentiles to calculate (Joel bernstein)
  257. * SOLR-12829: Add plist (parallel list) Streaming Expression (Joel Bernstein)
  258. * SOLR-12975: Add ltrim and rtrim Stream Evaluators (Joel Bernstein)
  259. * SOLR-12962: Added a new 'uninvertible' option for fields and fieldtypes. This defaults to 'true' for
  260. backcompat allowing a FieldCache to be built for indexed fields as needed, but users are encouraged
  261. to set this to false (using docValues as needed) to reduce the risk of large fluxuations in heap
  262. size due to unexpected attempts to sort/facet/function on non-docValue fields. (hossman)
  263. Other Changes
  264. ----------------------
  265. * SOLR-12762: Fix javadoc for SolrCloudTestCase.clusterShape() method and add a method that validates only against
  266. Active slices (Anshum Gupta)
  267. * SOLR-12756: Refactor Assign and extract replica placement strategies out of it. Now, assignment is done with the help
  268. of a builder class instead of calling a method with large number of arguments. The number of special cases that had
  269. to be handled have been cut down as well. (shalin)
  270. * SOLR-12827: Migrate cluster wide defaults syntax in cluster properties to a nested structure. The structure has
  271. changed from {collectionDefaults: {nrtReplicas : 2}} to {defaults : {collection : {nrtReplicas : 2}}}.
  272. (ab, shalin)
  273. * SOLR-12835: Document statistics exposed by the Query Result Cache when maxRamMB is configured. (shalin)
  274. * SOLR-12423: Upgrade to Tika 1.19.1 when available (Tim Allison via Erick Erickson)
  275. * SOLR-12793: Move TestCloudJSONFacetJoinDomain and TestCloudJSONFacetSKG to the facet test package (Varun Thacker)
  276. * SOLR-12861: Add Solr factory for ByteBuffersDirectory.
  277. * SOLR-12746: Simplify the Ref Guide HTML structure and use semantic HTML tags where possible. Adds new template files
  278. for Asciidoctor HTML conversion. Building the HTML version now requires the Slim gem. (Cassandra Targett)
  279. * SOLR-12956: Add Javadoc @since tag to Analyzer component classes (Alexandre Rafalovitch)
  280. * SOLR-12966: Add Javadoc @since tag to URP classes (Alexandre Rafalovitch)
  281. * SOLR-12600: Fix parameter names in Solr JSON documentation (Alexandre Rafalovitch)
  282. * SOLR-12497: Add documentation to use Hadoop credential provider-based keystore/trustsore.
  283. (Mano Kovacs, Cassandra Targett)
  284. * SOLR-13006: ZkNodeProps to be able to load from both javabin and JSON (noble)
  285. Bug Fixes
  286. ----------------------
  287. * SOLR-12803: Ensure ConcurrentUpdateSolrClient sends documents to correct collection (Jason Gerlowski)
  288. * SOLR-11836: FacetStream works with bucketSizeLimit of -1 which will fetch all the buckets.
  289. (Alfonso Muñoz-Pomer Fuentes, Amrit Sarkar via Varun Thacker)
  290. * SOLR-12776: Setting of TMP in solr.cmd causes invisibility of Solr to JDK tools (Petr Bodnar via Erick Erickson)
  291. * SOLR-12648: Autoscaling framework based replica placement is not used unless a policy is specified or
  292. non-empty cluster policy exists. (shalin)
  293. * SOLR-12750: Migrate API should lock the collection instead of shard. (shalin)
  294. * SOLR-12767: When using min_rf, shard leader skipped bad replicas instead of marking them for recovery, this could
  295. create inconsistencies between replicas of the same shard. min_rf parameter is now deprecated, and even if provided
  296. replicas that don't ack an update from the leader will be marked for recovery. (Tomás Fernández Löbbe)
  297. * SOLR-12814: Metrics history causing "HttpParser URI is too large >8192" when many collections (janhoy)
  298. * SOLR-12836: ZkController creates a cloud solr client with no connection or read timeouts. Now the http client
  299. created by the update shard handler is used instead. (shalin)
  300. * SOLR-12729: SplitShardCmd should lock the parent shard to prevent parallel splitting requests. (ab)
  301. * SOLR-12851: Improvements and fixes to let and select Streaming Expressions (Joel Bernstein)
  302. * SOLR-12874: Java 9+ GC Logging filesize parameter should use a unit. (Tim Underwood via Uwe Schindler)
  303. * SOLR-12868: Request forwarding for v2 API is broken (noble)
  304. * SOLR-7557: Fix parsing of child documents using queryAndStreamResponse (Marvin Bredal Lillehaug/Stian Østerhaug via janhoy)
  305. * SOLR-12875: fix ArrayIndexOutOfBoundsException when unique(field) or uniqueBlock(_root_) is
  306. used with DVHASH method in json.facet. (Tim Underwood via Mikhail Khludnev)
  307. * SOLR-12023: Autoscaling policy engine shuffles replicas needlessly (noble)
  308. * SOLR-12243: Edismax missing phrase queries when phrases contain multiterm synonyms
  309. (Elizabeth Haubert, Alessandro Benedetti, Uwe Schindler, Steve Rowe)
  310. * SOLR-12977: Autoscaling tries to fetch metrics from dead nodes (noble)
  311. * SOLR-12978: In autoscaling NPE thrown for nodes where value is absent (noble)
  312. Improvements
  313. ----------------------
  314. * SOLR-12767: Solr now always includes in the response of update requests the achieved replication factor
  315. (Tomás Fernández Löbbe)
  316. * SOLR-12782: UninvertingReader wrapping is now a bit more lightweight: Does not create FieldInfo for fields that
  317. can't be uninverted (saves mem) and can avoid wrapping the reader altogether if there's nothing to uninvert.
  318. IndexSchema.getUninversionMap refactored to getUninversionMapper and no longer merges FieldInfos. (David Smiley)
  319. * SOLR-12739: Make autoscaling policy based replica placement the default strategy for placing replicas. (shalin)
  320. * SOLR-12806: use autoscaling policies with strict=false to prioritize node allocation (noble)
  321. * SOLR-10981: Support for stream.url or stream.file pointing to gzipped data. It's detected by either a content
  322. encoding header or file extension. (Andrew Lundgren via David Smiley, Jan Høydahl)
  323. * SOLR-12892: MapWriter to use CharSequence instead of String (noble)
  324. * SOLR-12699: Make contrib/ltr LTRScoringModel immutable and cache its hashCode.
  325. (Stanislav Livotov, Edward Ribeiro, Christine Poerschke)
  326. * LUCENE-8557: Some internal LeafReader.getFieldInfos implementations were being re-computed on-demand instead of
  327. once up front leading to some slowdowns in places like JSON Facets and field collapsing. (Tim Underwood, David Smiley)
  328. * SOLR-12964: Json Facets: use DocValuesIterator advanceExact() instead of advance() in FacetFieldProcessorByHashDV and
  329. UniqueSinglevaluedSlotAcc. (Tim Underwood)
  330. * SOLR-12880: Json Facets: Show the FacetProcessor class name instead of the FacetRequest in the JSON Facets debug-trace
  331. output (Tim Underwood)
  332. ================== 7.5.0 ==================
  333. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  334. Versions of Major Components
  335. ---------------------
  336. Apache Tika 1.18
  337. Carrot2 3.16.0
  338. Velocity 1.7 and Velocity Tools 2.0
  339. Apache ZooKeeper 3.4.11
  340. Jetty 9.4.11.v20180605
  341. Upgrade Notes
  342. ----------------------
  343. * The data-driven schema no longer returns the *_str field-copy of text fields by default. The *_str field is still
  344. created and can be used for e.g. sorting, but to retrieve it you now need to explicitly list it in "fl" (SOLR-12350)
  345. * LUCENE-7976: TieredMergePolicy now respects maxSegmentSizeMB by default when executing
  346. findForcedMerges (optimize) and findForcedDeletesMerges (expungeDeletes) (Erick Erickson)
  347. * SOLR-12395: SignificantTermsQParserPlugin's name is now 'significantTerms' and its old name 'sigificantTerms' is deprecated.
  348. * SOLR-11694: Extremely outdated UIMA contrib module has been removed (Alexandre Rafalovitch)
  349. * SOLR-12008: The configuration file for log4j2.xml is now in ../server/resources/log4j2.xml. All other copies have been removed.
  350. WINDOWS USERS: This JIRA corrects a bug in the start scripts that put example logs under ...\server, solr.log is
  351. now under ...\example. (Erick Erickson)
  352. * SOLR-12398: The heatmap facet response structure, when returned in JSON, changed from an even/odd name/value array to
  353. an object style. Although the object style makes more sense, this was an overlooked back-compat break; sorry.
  354. New Features
  355. ----------------------
  356. * SOLR-11865: The QueryElevationComponent now has a useConfiguredElevatedOrder setting. When multiple docs are elevated,
  357. this specifies whether their relative order should be the order in the configuration file or if not then should they
  358. be subject to whatever the sort criteria is. Additionally, QEC was extensively refactored to be more extensible.
  359. (Bruno Roustant, David Smiley)
  360. * SOLR-12474: Add an UpdateRequest Object that implements RequestWriter.ContentWriter (noble)
  361. * SOLR-12361: Allow nested child documents to be in field values of a SolrInputDocument as an alternative to
  362. add/get ChildDocuments off to the side. The latter is now referred to as "anonymous" child documents as opposed to
  363. "labelled" (by the field name). Anonymous child docs might be deprecated in the future. This is an internal change
  364. that should work for javabin/SolrJ; separate issues will address XML & JSON formats populating nested docs in this way.
  365. AddUpdateCommand and it's relationship with DirectUpdateHandler2 was reworked substantially. (Moshe Bla, David Smiley)
  366. * SOLR-12362: Uploading docs in JSON now supports child documents as field values, thus providing a label to the
  367. relationship instead of the current "anonymous" relationship. Use of this experimental feature sometimes requires a
  368. anonChildDocs=false parameter until Solr 8 due to syntax ambiguities. (Moshe Bla, David Smiley)
  369. * SOLR-12485: Uploading docs in XML now supports child documents as field values, thus providing a label to the
  370. relationship instead of the current "anonymous" relationship. (Moshe Bla, David Smiley)
  371. * SOLR-12441: (EXPERIMENTAL) New NestedUpdateProcessorFactory (URP) to populate special fields _nest_parent_ and
  372. _nest_path_ of nested (child) documents. It will generate a uniqueKey of nested docs if they were blank too.
  373. (Moshe Bla, David Smiley)
  374. * SOLR-12519: The [child] transformer now returns a nested child doc structure (attached as fields if provided this way)
  375. provided the schema has the _nest_path_ field. This is part of a broader enhancement of nested docs.
  376. (Moshe Bla, David Smiley)
  377. * SOLR-12722: The [child] transformer now takes an 'fl' param to specify which fields to return. It will evaluate
  378. doc transformers if present. In 7.5 a missing 'fl' defaults to the current behavior of all fields, but in 8.0
  379. defaults to the top/request "fl". (Moshe Bla, David Smiley)
  380. * SOLR-11578: Solr 7 Admin UI (Cloud > Graph) should reflect the Replica type to give a more accurate representation
  381. of the cluster. (Rhoit Singh via Erick Erickson)
  382. * SOLR-12507: Modify collection API should support un-setting properties. (shalin)
  383. * SOLR-12506: Add SolrJ support for the modify collection API. (shalin)
  384. * SOLR-12398: The JSON Facet API now supports type=heatmap facets, just as classic faceting does. (David Smiley)
  385. * SOLR-11985: Support percentage values in replica attribute in autoscaling policy (noble)
  386. * SOLR-12511: Support non integer values for replica in autoscaling policy (noble)
  387. * SOLR-12517: Support range values for replica in autoscaling policy (noble)
  388. * SOLR-12530: Ability to disable configset upload via -Dconfigset.upload.enabled=false startup parameter
  389. (Ishan Chattopadhyaya)
  390. * SOLR-12495: An #EQUAL function for replica in autoscaling policy to equally distribute replicas (noble)
  391. * SOLR-11986: Allow percentage in freedisk attribute in autoscaling policy rules (noble)
  392. * SOLR-12522: Support a runtime function `#ALL` for 'replica' in autoscaling policies (noble)
  393. * SOLR-12567: JSON Facet "functions" now support an extended "type:func" syntax, similar to other types
  394. of facets. This also allows additional local params to be specified for if the aggregation function
  395. can take advantage of them. (hossman)
  396. * SOLR-12581: the JSON Facet 'relatedness()' aggregate function now supports a 'min_popularity' option
  397. using the extended type:func syntax (hossman)
  398. * SOLR-12536: autoscaling policy support to equally distribute replicas on the basis of arbitrary properties (noble)
  399. * SOLR-8207: Add "Nodes" view to the Admin UI "Cloud" tab, listing nodes and key metrics (janhoy)
  400. * SOLR-7767: "ZK Status" sub menu under "Cloud" tab to see status of zookeeper ensemble (janhoy)
  401. * SOLR-11990: Make it possible to co-locate replicas of multiple collections together in a node. A collection may be
  402. co-located with another collection during collection creation time by specifying a 'withCollection' parameter. It can
  403. also be co-located afterwards by using the modify collection API. The co-location guarantee is enforced regardless of
  404. future cluster operations whether they are invoked manually via the Collection API or by the Autoscaling framework.
  405. (noble, shalin)
  406. * SOLR-12402: Factor out SolrDefaultStreamFactory class. (Christine Poerschke)
  407. * SOLR-12592: support #EQUAL function, range operator, decimal and percentage in cores in autoscaling policies (noble)
  408. * SOLR-12655: Add Korean morphological analyzer ("nori") to default distribution. This also adds examples
  409. for configuration in Solr's schema. (Uwe Schindler)
  410. * SOLR-11863: Add knnRegress Stream Evaluator to support nearest neighbor regression (Joel Bernstein)
  411. * SOLR-12702: Add zscores Stream Evaluator (Joel Bernstein)
  412. * SOLR-12687: Add functions to cache data structures and mathematical models (Joel Bernstein)
  413. * SOLR-12671: Add robust flag to knnRegress Stream Evaluator (Joel Bernstein)
  414. * SOLR-12660: Add outliers Stream Evaluator to support outlier detection with probability distributions
  415. (Joel Bernstein)
  416. * SOLR-12634: Add gaussfit Stream Evaluator (Joel Bernstein)
  417. * SOLR-12629: The predict evaluator should work with the polyfit function (Joel Bernstein)
  418. * SOLR-12715: NodeAddedTrigger should support adding replicas to new nodes by setting preferredOperation=addreplica.
  419. (shalin)
  420. * SOLR-11861: When creating a configSet via the API, the "baseConfigSet" parameter now defaults to "_default".
  421. (Amrit Sarkar, David Smiley)
  422. * SOLR-12716: NodeLostTrigger should support deleting replicas from lost nodes by setting preferredOperation=deletenode.
  423. (shalin)
  424. * SOLR-9418: Added a new (experimental) PhrasesIdentificationComponent for identifying potential phrases
  425. in query input based on overlapping shingles in the index. (Akash Mehta, Trey Grainger, hossman)
  426. * SOLR-11943: Add machine learning functions for location data (Joel Bernstein)
  427. * SOLR-12612: Cluster properties restriction of known keys only is relaxed, and now unknown properties starting with "ext."
  428. will be allowed. This allows custom to plugins set their own cluster properties. (Jeffery Yuan via Tomás Fernández Löbbe)
  429. * SOLR-12357: Time Routed Aliases now have a preemptiveCreateMath option to preemptively and asynchronously create the
  430. next collection in advance as new data gets within this time window of the end. (Gus Heck, David Smiley)
  431. Bug Fixes
  432. ----------------------
  433. * SOLR-12449: Response /autoscaling/diagnostics shows improper json (noble)
  434. * SOLR-11676: Keep nrtReplicas and replicationFactor in sync while creating a collection and modifying a collection
  435. (Varun Thacker)
  436. * SOLR-12489: User specified replicationFactor and maxShardsPerNode is used when specified during a restore operation.
  437. A user can now specify nrtReplicas/tlogReplicas/pullReplicas while restoring the collection.
  438. Specifying replicationFactor or nrtReplicas have the same effect and only one can be specified (Varun Thacker)
  439. * SOLR-11216: Race condition in PeerSync (Cao Manh Dat)
  440. * SOLR-11807: Restoring collection now treats maxShardsPerNode=-1 as unlimited (Varun Thacker)
  441. * SOLR-12413: If Zookeeper was pre-loaded with data before first-use, then the aliases information would be ignored.
  442. (David Smiley, Gaël Jourdan, Gus Heck)
  443. * SOLR-12482: Config API returns status 0 for failed operations. (Steve Rowe)
  444. * SOLR-12513: Reproducing TestCodecSupport.testMixedCompressionMode failure (Erick Erickson)
  445. * SOLR-11665: Improve error handling of shard splitting. Fix splitting of mixed replica types. (ab)
  446. * SOLR-12326: JSON Facet API: terms facet shard requests now indicate if they have more buckets to prevent
  447. unnecessary refinement requests. (yonk)
  448. * SOLR-12427: Improve error message for invalid 'start', 'rows' parameters. (Munendra S N via Jason Gerlowski)
  449. * SOLR-12395: Make 'significantTerms' the SignificantTermsQParserPlugin's name and deprecate its old 'sigificantTerms' name.
  450. (Tobias Kässmann, Christine Poerschke)
  451. * SOLR-12533 Collection collection fails if metrics are called during core creation (Peter Cseh, Mano Kovacs)
  452. * SOLR-2834: Fix SolrJ Field and Document analyzes for types that include CharacterFilter (Alexandre Rafalovitch)
  453. * SOLR-12516: Fix some bugs in 'type:range' Facet refinement when sub-facets are combined with non
  454. default values for the 'other' and 'include' options. (hossman)
  455. * SOLR-12343: Fixed a bug in JSON Faceting that could cause incorrect counts/stats when using non default
  456. sort options. This also adds a new configurable "overrefine" option. (Yonik Seeley, hossman)
  457. * SOLR-12553: Allow SignificantTerms Query Parser to use local parameters (Alexandre Rafalovitch)
  458. * SOLR-12570: OpenNLPExtractNamedEntitiesUpdateProcessor cannot support multi fields because pattern replacement
  459. doesn't work correctly. (Koji Sekiguchi)
  460. * SOLR-12576: Update ref guide for additional information displayed in cloud view (Erick Erickson)
  461. * SOLR-12597: Migrate API should fail requests that do not specify split.key parameter (shalin)
  462. * SOLR-12477: An update would return a client error(400) if it hit a AlreadyClosedException.
  463. We now return the error as a server error(500) instead (Jeffery via Varun Thacker)
  464. * SOLR-12606: Fix InfixSuggestersTest.testShutdownDuringBuild() failures. (Steve Rowe)
  465. * SOLR-12607: Fixed two separate bugs in shard splits which can cause data loss. The first case is when using TLOG
  466. replicas only, the updates forwarded from parent shard leader to the sub-shard leader are written only in tlog and
  467. not the index. If this happens after the buffered updates have been replayed then the updates can never be executed
  468. even though they remain the transaction log. The second case is when synchronously forwarding updates to sub-shard
  469. leader fails and the underlying errors are not propagated to the client. (Cao Manh Dat, shalin)
  470. * SOLR-12344: SolrSlf4jReporter doesn't set MDC context. (ab)
  471. * SOLR-12594: MetricsHistoryHandler.getOverseerLeader fails when hostname contains hyphen. (ab)
  472. * SOLR-12615: HashQParserPlugin will no longer throw an NPE if the hash key field is a string when there are documents
  473. with empty values. All documents with empty values ( string , numeric ) will be processed by worker=0
  474. This would fix the NPE when using the search stream with partitionKeys. (Varun Thacker)
  475. * SOLR-11770: NPE in tvrh if no field is specified and document doesn't contain any fields with term vectors
  476. * SOLR-12541: Metrics handler throws an error if there are transient cores. (ab)
  477. * SOLR-12470: Search Rate Trigger multiple bug fixes, improvements and documentation updates. (ab)
  478. * SOLR-12665: Autoscaling policy not being refreshed due to caching (noble)
  479. * SOLR-12649: CloudSolrClient retries requests unnecessarily exception from server (noble, shalin)
  480. * SOLR-12670: RecoveryStrategy logs wrong wait time when retrying recovery. (shalin)
  481. * SOLR-12668: Autoscaling trigger listeners should be executed in the order of their creation. (ab)
  482. * SOLR-12475: Fix MaxSizeAutoCommitTest failures (Rupa Shankar, Anshum Gupta)
  483. * SOLR-12674: RollupStream should not use the HashQueryParser for 1 worker. (Varun Thacker)
  484. * SOLR-12679: MiniSolrCloudCluster internal jetty list should never have duplicates (shalin)
  485. * SOLR-12598: Do not fetch non-stored fields (Nikolay Khitrin, Erick Erickson)
  486. * SOLR-12683: HashQuery will throw an exception if more than 4 partitionKeys is specified.
  487. Earlier after the 4th partitionKey the keys would be silently ignored. (Varun Thacker)
  488. * SOLR-10028: Fix and improvements to SegmentsInfoRequestHandlerTest (Christine Poerschke, Tomás Fernández Löbbe)
  489. * SOLR-11585: Solr SQL does not work with point numeric fields (Joel Bernstein, Kiran Chitturi)
  490. * SOLR-12704: Guard AddSchemaFieldsUpdateProcessorFactory against null field names and field values.
  491. (Steve Rowe, Varun Thacker)
  492. * SOLR-12733: SolrMetricReporterTest failure (Erick Erickson, David Smiley)
  493. * SOLR-12765: Incorrect format of JMX cache stats. (Bojan Smid, ab)
  494. * SOLR-12749: timeseries() expression missing sum() results for empty buckets (Joel Bernstein)
  495. Optimizations
  496. ----------------------
  497. * SOLR-12350: Do not use docValues as stored for _str (copy)fields in _default configset (janhoy)
  498. * SOLR-12455: Refactor JSON serialization code into SolrJ package (noble)
  499. * SOLR-11654: Time Routed Alias will now route documents to the ideal shard of a collection, thus avoiding a hop.
  500. Usually documents were already routed well but not always. (Gus Heck, David Smiley)
  501. * SOLR-12305: When a replica is applying updates, some kind of updates can skip buffering for faster recovery.
  502. (Cao Manh Dat)
  503. * SOLR-11598: The export handler does not limit users to 4 sort fields and is now unlimited. However the speed at
  504. which we can export is directly proportional to the number of sort fields specified. This change also allows streaming
  505. expressions to group by on more than 4 fields. (Aroop Ganguly, Amrit Sarkar, Varun Thacker)
  506. * SOLR-12509: Improve SplitShardCmd performance and reliability. A new method of splitting has been
  507. introduced (splitMethod=link) which uses hard-linking of index files when possible, resulting in
  508. significant speedups and reduced CPU / IO load on shard leader. (ab)
  509. * SOLR-11881: Retry update requests sent by leaders to it's followers (Varun Thacker, Mark Miller, Tomás Fernández Löbbe)
  510. * SOLR-12616: Optimize Export writer upto 4 sort fields to get better performance.
  511. This was removed in SOLR-11598 but brought back in the same version (Amrit Sarkar, Varun Thacker)
  512. * SOLR-12572: While exporting documents using the export writer, if a field is specified as a sort parameter and also
  513. in the fl (field list) parameter, we save on one doc-value lookup. This can bring performance improvements of 15%
  514. and upwards depending on how many fields are in common. (Amrit Sarkar, Varun Thacker)
  515. * SOLR-10697: HttpShardHandler now uses a default of 100k as maxConnections (10k previously) and default
  516. maxConnectionsPerHost as 100k (20 previously). They are now consisent with the UpdateShardHandler defaults.
  517. (Varun Thacker)
  518. * SOLR-12723: Reduce object creation in HashBasedRouter. (ab)
  519. * SOLR-12766: When retrying internal requests, backoff only once for the full batch of retries (Tomás Fernández Löbbe)
  520. Other Changes
  521. ----------------------
  522. * SOLR-12208: Renamed the autoscaling variable 'INDEX.sizeInBytes' to 'INDEX.sizeInGB' (noble)
  523. * SOLR-12523: Improve error reporting and docs regarding Collection backup feature shared-fs requirement (janhoy)
  524. * SOLR-12468: Upgrade Jetty to 9.4.11.v20180605 (Michael Braun, shalin)
  525. * SOLR-12527: factor out a test-framework/ConfigRequest class (Christine Poerschke)
  526. * SOLR-12412: Leader should give up leadership when IndexWriter.tragedy occur (Cao Manh Dat, Tomas Fernandez-Lobbe)
  527. * SOLR-12551: Upgrade to Tika 1.18 (Tim Allison via Erick Erickson)
  528. * SOLR-12464: Reduce Overseer.close() logging (for non-Overseer leaders) (Christine Poerschke)
  529. * SOLR-12454: Tweak Overseer leadership transition related logging for easier troubleshooting. (Christine Poerschke)
  530. * SOLR-12574: Put under a common "significantTerms" bucket all output by SignificantTerms Query Parser (Alexandre Rafalovitch)
  531. * SOLR-12164: Improve Ref Guide main landing page. (Cassandra Targett)
  532. * SOLR-10984: Clean up web.xml, removing old redirects and outdated comments (Varun Thacker, janhoy)
  533. * SOLR-12617: Remove Commons BeanUtils as a dependency (Varun Thacker)
  534. * SOLR-11766: Move Streaming Expressions section in Ref Guide to be a top-level section. (Cassandra Targett)
  535. * SOLR-12656: ShardSplitTest should extend AbstractFullDistribZkTestBase instead of BasicDistributedZkTest. (shalin)
  536. * LUCENE-8456: Upgrade Apache Commons Compress to v1.18 (Steve Rowe)
  537. * SOLR-12014: Cryptic error message when creating a collection with sharding that violates autoscaling policies (noble)
  538. * SOLR-12680: Fix ClassCastException and AIOOBE in TestSolrConfigHandlerConcurrent. (shalin)
  539. * SOLR-12675: Make LeaderVoteWaitTimeoutTest more resilient against side effects of test methods. (shalin)
  540. * SOLR-12130: CdcrReplicationDistributedZkTest is broken into two test classes, CdcrOpsAndBoundariesTest which does
  541. not require node restarts and CdcrWithNodesRestartsTest which does. The tests themselves are made faster and more
  542. resilient to spurious failures. (Varun Thacker, Amrit Sarkar via shalin)
  543. * SOLR-12625: Combine SolrDocumentFetcher and RetrieveFieldsOptimizer (Erick Erickson)
  544. * SOLR-12690: Regularize LoggerFactory declarations (Erick Erickson)
  545. * SOLR-12590: Improve Solr resource loader coverage in the ref guide.
  546. (Steve Rowe, Cassandra Targett, Christine Poerschke)
  547. * SOLR-12744: Improve logging messages and verbosity around recoveries (Cao Manh Dat, Varun Thacker)
  548. * SOLR-8742: In HdfsDirectoryTest replace RAMDirectory usages with ByteBuffersDirectory.
  549. (hossman, Mark Miller, Andrzej Bialecki, Steve Rowe)
  550. * SOLR-12771: Improve Autoscaling Policy and Preferences documentation. (hossman, Steve Rowe)
  551. ================== 7.4.0 ==================
  552. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  553. Versions of Major Components
  554. ---------------------
  555. Apache Tika 1.17
  556. Carrot2 3.16.0
  557. Velocity 1.7 and Velocity Tools 2.0
  558. Apache UIMA 2.3.1
  559. Apache ZooKeeper 3.4.11
  560. Jetty 9.4.10.v20180503
  561. Upgrade Notes
  562. ----------------------
  563. * SOLR-7887: Solr now uses Log4J 2.11 . The log4j configuration is now in log4j2.xml rather than log4j.properties files.
  564. This is a server side change only and clients using SolrJ won't need any changes. Clients can still use any logging
  565. implementation which is compatible with SLF4J. We now let log4j2 handle rotation of solr logs at startup, and bin/solr
  566. start scripts will no longer attempt this nor move existing console or GC logs into logs/archived either (SOLR-12144).
  567. * SOLR-11673: Slave doesn't commit empty index when completely new index is detected on master during replication.
  568. To return the previous behavior pass false to skipCommitOnMasterVersionZero in slave section of replication
  569. handler configuration, or pass it to the fetchindex command.
  570. * SOLR-11453: Configuring slowQueryThresholdMillis now logs slow requests to a separate file - solr_slow_requests.log.
  571. Previously they would get logged in the solr.log file.
  572. New Features
  573. ----------------------
  574. * SOLR-12396: Upgrade Carrot2 to 3.16.0, HPPC to 0.8.1, morfologik to 2.1.5. (Dawid Weiss)
  575. * SOLR-11200: A new CMS config option 'ioThrottle' to manually enable/disable
  576. ConcurrentMergeSchedule.doAutoIOThrottle. (Amrit Sarkar, Nawab Zada Asad iqbal via Dawid Weiss)
  577. * SOLR-11670: Implement a periodic house-keeping task. This uses a scheduled autoscaling trigger and
  578. currently performs cleanup of old inactive shards. (ab, shalin)
  579. * SOLR-12015: Add support "add-distinct" in AtomicURP so that we can use the 'add-distict' as a request parameter e.g:
  580. atomic.<multival-field-name>=add-distict (Amrit Sarkar via noble)
  581. * SOLR-7887: Upgrade Solr to use Log4J 2.11
  582. (Tim Potter, Keith Laban, Shawn Heisey, Ralph Goers, Erick Erickson, Varun Thacker)
  583. * SOLR-12139: The "eq" (equals) function query now works with string fields, string literals, and perhaps anything.
  584. (Andrey Kudryavtsev, David Smiley)
  585. * SOLR-10783: Add support for Hadoop Credential Provider as SSL/TLS store password source.
  586. (Mano Kovacs via Mark Miller)
  587. * SOLR-12036: Factor out DefaultStreamFactory solrj class. (Christine Poerschke)
  588. * SOLR-12151: Add abstract MultiSolrCloudTestCase class. (Christine Poerschke)
  589. * SOLR-12181: Add index size autoscaling trigger, based on document count or size in bytes. (ab)
  590. * SOLR-11982: Add possibility to define replica order with the shards.preference parameter to e.g. prefer PULL replicas
  591. for distributed queries. (Ere Maijala, Tomás Fernández Löbbe)
  592. * SOLR-11336: DocBasedVersionConstraintsProcessorFactory is more extensible and now supports a list of versioned fields.
  593. (versionField config may now be a comma-delimited list). (Michael Braun via David Smiley)
  594. * SOLR-11913: SolrJ SolrParams now implements Iterable<Map.Entry<String, String[]>> and also has a stream() method
  595. using it for convenience. (David Smiley, Tapan Vaishnav)
  596. * SOLR-11924: Added the ability to listen to changes in the set of active collections in a cloud
  597. in the ZkStateReader, through the CloudCollectionsListener. (Houston Putman, Dennis Gove)
  598. * SOLR-8998: introducing uniqueBlock(_root_) aggregation as faster alternative to unique(_root_) for counting
  599. child value facets in parents via json.facet on block index (Dr Oleg Savrasov, Mikhail Khludnev)
  600. * SOLR-12278: Add IgnoreLargeDocumentProcessFactory (Cao Manh Dat, David Smiley)
  601. * SOLR-11277: Add auto hard-commit settings based on tlog size (Rupa Shankar, Anshum Gupta)
  602. * SOLR-9480: A new 'relatedness()' aggregate function for JSON Faceting to enable building Semantic
  603. Knowledge Graphs. (Trey Grainger, hossman)
  604. * SOLR-11453: Configuring slowQueryThresholdMillis logs slow requests to a separate file - solr_slow_requests.log.
  605. (Shawn Heisey, Remko Popma, Varun Thacker)
  606. * SOLR-12401: Add getValue() and setValue() Stream Evaluators (Joel Bernstein, janhoy)
  607. * SOLR-12378: Support missing versionField on indexed docs in DocBasedVersionConstraintsURP.
  608. (Oliver Bates, Michael Braun via Mark Miller)
  609. * SOLR-12388: Enable a strict ZooKeeper-connected search request mode, in which search
  610. requests will fail when the coordinating node can't communicate with ZooKeeper,
  611. by setting the "shards.tolerant" param to "requireZkConnected". (Steve Rowe)
  612. * SOLR-9685: #Tagging queries in JSON Query DSL, equivalent to LocalParams based query/filter
  613. tagging. Multiple tags are comma separated.
  614. LocalParams Example : {!tag=colorfilt}color:blue
  615. Equivalent JSON Example : { "#colorfilt" : "color:blue" }
  616. (Dmitry Tikhonov, Mikhail Khludnev, yonik)
  617. * SOLR-12328: JSON Facet API: Domain change with graph query.
  618. (Daniel Meehl, Kevin Watters, yonik)
  619. * SOLR-11779, SOLR-12438: Basic long-term collection of aggregated metrics. Historical data is
  620. maintained as multi-resolution time series using round-robin databases in the '.system'
  621. collection. New /admin/metrics/history API allows retrieval of this data in numeric
  622. or graph formats. (ab)
  623. * SOLR-12387: cluster-wide defaults for numShards, nrtReplicas, tlogReplicas, pullReplicas (noble)
  624. * SOLR-12389: support deeply nested json objects in clusterprops.json (noble)
  625. * SOLR-12376: Added the TaggerRequestHandler (AKA SolrTextTagger) for tagging text. It's used as a component of
  626. NER/ERD systems including query-understanding. See the ref guide for more info. (David Smiley)
  627. * SOLR-12266: Add discrete Fourier transform Stream Evaluators (Joel Bernstein)
  628. * SOLR-12158: Allow the monteCarlo Stream Evaluator to support variables (Joel Bernstein)
  629. * SOLR-11734: Add ones and zeros Stream Evaluators (Joel Bernstein)
  630. * SOLR-12273: Create Stream Evaluators for distance measures (Joel Bernstein)
  631. * SOLR-12159: Add memset Stream Evaluator (Joel Bernstein)
  632. * SOLR-12221: Add valueAt Stream Evaluator (Joel Bernstein)
  633. * SOLR-12175: Add random field type and dynamic field to the default managed-schema (Joel Bernstein)
  634. Bug Fixes
  635. ----------------------
  636. * SOLR-5351: Fixed More Like This Handler to use all fields provided in mlt.fl when used with
  637. content stream. The similarity is calculated between the content stream's value and all
  638. fields listed in mlt.fl. (Dawid Weiss)
  639. * SOLR-12103: Raise CryptoKeys.DEFAULT_KEYPAIR_LENGTH from 1024 to 2048. (Mark Miller)
  640. * SOLR-12107: Fixed a error in [child] transformer that could ocur if documentCache was not used (hossman)
  641. * SOLR-12108: Fixed the fallback behavior of [raw] and [xml] transformers when an incompatble 'wt' was
  642. specified, the field value was lost if documentCache was not used. (hossman)
  643. * SOLR-11551: Standardize CoreAdmin API success/failure status codes (Jason Gerlowski, Steve Rowe)
  644. * SOLR-12035: ExtendedDismaxQParser fails to include charfilters in nostopanalyzer (Tim Allison via
  645. Tomás Fernández Löbbe)
  646. * SOLR-10734: AtomicUpdateRequestProcessor can cause wrong/old values to be set under concurrent updates for the same
  647. document. Multithreaded test for AtomicUpdateRequestProcessor was also beefed up and fixed.
  648. (Ishan Chattopadhyaya, Noble Paul, Amrit Sarkar, shalin)
  649. * SOLR-11673: By default slave doesn't commit empty index when completely new index appears on master.
  650. See Upgrade Notes to find a way to get back to the previous behavior. (Mikhail Khludnev)
  651. * SOLR-9399: Delete requests do not send credentials & fails for Basic Authentication
  652. (Susheel Kumar, Aibao Luo, Nikkolay Martinov via Erick Erickson)
  653. * SOLR-12172: Fixed race condition that could cause an invalid set of collection properties to be kept in
  654. memory when multiple collection property changes are done in a short period of time. (Tomás Fernández Löbbe)
  655. * SOLR-11929: UpdateLog metrics are not initialized on core reload. (ab, Steve Rowe)
  656. * SOLR-11882: SolrMetric registries retained references to SolrCores when closed. A
  657. change of SolrMetricMAnager.registerGauge and SolrMetricProducer.initializeMetrics
  658. method signatures was required to fix it. Third party components may continue to use the old API
  659. but should be updated to avoid this bug (Eros Taborelli, Erick Erickson, ab)
  660. * SOLR-12199: TestReplicationHandler.doTestRepeater(): TEST_PORT interpolation failure:
  661. Server refused connection at: http://127.0.0.1:TEST_PORT/solr (Mikhail Khludnev, Dawid Weiss, Steve Rowe)
  662. * SOLR-12096: Fixed inconsistent results format of subquery transformer for distributed search (multi-shard).
  663. (Munendra S N, Mikhail Khludnev via Ishan Chattopadhyaya)
  664. * SOLR-12207: Just rethrowing AssertionError caused by jdk bug in reflection with invocation details.
  665. (ab, Dawid Weiss, Mikhail Khludnev)
  666. * SOLR-12155: Exception from UnInvertedField constructor puts threads to infinite wait.
  667. (Andrey Kudryavtsev, Mikhail Khludnev)
  668. * SOLR-12201: TestReplicationHandler.doTestIndexFetchOnMasterRestart(): handle unexpected replication failures
  669. (Steve Rowe)
  670. * SOLR-12190: Need to properly escape output in GraphMLResponseWriter. (yonik)
  671. * SOLR-12214: Leader may skip publish itself as ACTIVE when its last published state is DOWN (Cao Manh Dat)
  672. * SOLR-12150: Fix a test bug in CdcrBidirectionalTest.testBiDir (Steve Rowe, Amrit Sarkar via Varun Thacker)
  673. * SOLR-10513: ConjunctionSolrSpellChecker did not work with LuceneLevenshteinDistance (Amrit Sarkar via James Dyer)
  674. * SOLR-11840: Fix bin/solr help-text inconsistencies (Jason Gerlowski)
  675. * SOLR-10169: PeerSync will hit an NPE on no response errors when looking for fingerprint. (Erick Erickson)
  676. * SOLR-12187: Replica should watch clusterstate and unload itself if its entry is removed (Cao Manh Dat)
  677. * SOLR-6286: TestReplicationHandler.doTestReplicateAfterCoreReload(): stop checking for identical
  678. commits before/after master core reload; and make non-nightly mode test 10 docs instead of 0.
  679. (shalin, hossman, Mark Miller, Steve Rowe)
  680. * SOLR-9304: Fix Solr's HTTP handling to respect '-Dsolr.ssl.checkPeerName=false' aka SOLR_SSL_CHECK_PEER_NAME
  681. (Shawn Heisey, Carlton Findley, Robby Pond, hossman)
  682. * SOLR-12250: NegativeArraySizeException on TransactionLog if previous document more than 1.9GB (Cao Manh Dat)
  683. * SOLR-12253: Remove optimize button from the core admin page (Erick Erickson)
  684. * SOLR-11833: Allow searchRate trigger to delete replicas. Improve configurability of the trigger by specifying
  685. upper / lower thresholds and respective actions (ab)
  686. * SOLR-12261: If you attempt to delete a collection immediately after deleting an alias it used to be a part of, you may
  687. get an error that's it's a member of that alias. This check now ensures the alias state is sync()'ed with ZK first.
  688. (David Smiley)
  689. * SOLR-12275: wrong caching for {!filters} as well as for `filters` local param in {!parent} and {!child}
  690. (David Smiley, Mikhail Khluldnev)
  691. * SOLR-12284: WordBreakSolrSpellchecker will no longer add parenthesis in collations when breaking words in
  692. non-boolean queries. (James Dyer)
  693. * SOLR-12290: Do not close any servlet streams and improve our servlet stream closing prevention code for users
  694. and devs. (Mark Miller, janhoy, Andrzej Bialecki)
  695. * SOLR-12293: Updates need to use their own connection pool to maintain connection reuse and prevent spurious
  696. recoveries. (Mark Miller)
  697. * SOLR-12308: LISTALIASES is now assured to return an up-to-date response. Also, the test utility
  698. MiniSolrCloudCluster.deleteAllCollections will now first delete aliases since a collection cannot be deleted if an
  699. alias refers to it. (David Smiley)
  700. * SOLR-12192: Fixed a solr cli error message when ulimits are unlimited. (Martijn Koster)
  701. * SOLR-12258: A V2 request referencing a collection or alias may fail to resolve it if it was just recently created.
  702. Now we sync with ZooKeeper and try one more time. V1 partially did this but only for aliases; now it does both.
  703. (David Smiley)
  704. * SOLR-12170: JSON Facet API: Terms facet on a date field sometimes failed with an exception complaining
  705. about "Invalid Date String". (yonik)
  706. * SOLR-12307: exiting OverseerTriggerThread without endless noise in log when Zookeeper session is expired
  707. (Mikhail Khludnev)
  708. * SOLR-12200: abandon OverseerExitThread when ZkController is closed. (Mikhail Khludnev)
  709. * SOLR-12355: Fixes hash conflict in HashJoinStream and OuterHashJoinStream (Dennis Gove)
  710. * SOLR-12377: Don't spin off overseer when Zk controller is closed (Mikhail Khludnev)
  711. * SOLR-3567: Spellcheck custom parameters not being passed through due to wrong prefix creation.
  712. (Josh Lucas via shalin)
  713. * SOLR-12294: update processors loaded from runtime jars fail to load if they are specified
  714. in an update processor chain (noble)
  715. * SOLR-12358: Autoscaling suggestions fail randomly with sorting (noble)
  716. * SOLR-12314: Use http timeout's defined in solr.xml for creating ConcurrentUpdateSolrClient during
  717. indexing requests between leader and replica ( Mark Miller, Varun Thacker)
  718. * SOLR-12290: Do not close any servlet streams and improve our servlet stream closing prevention code for users
  719. and devs. (Mark Miller)
  720. * SOLR-12374: SnapShooter.getIndexCommit can forget to decref the searcher; though it's not clear in practice when.
  721. (David Smiley)
  722. * SOLR-12417: velocity response writer should enforce valid function name for v.json parameter (Mano Kovacs, yonik)
  723. * SOLR-12271: Fixed bug in how Analytics component reads negative values from float and double fields. (Houston Putman)
  724. * SOLR-12433: Recovering flag of a replica is set equals to leader even it failed to receive update
  725. on recovering. (Cao Manh Dat)
  726. * SOLR-12354: Register the /admin/info/key end-point at the startup time to avoid 404 (noble)
  727. * SOLR-12445: Upgrade Dropwizard Metrics to version 3.2.6. (ab)
  728. * SOLR-12434: bin/solr {config,healthcheck} ignore ZK_HOST in solr.in.{sh,cmd} (Steve Rowe)
  729. * SOLR-12481: update.autoCreateFields must be set via Config API command 'set-user-property',
  730. but 'bin/solr create' tells users to use the default action 'set-property', which fails
  731. because the property is not editable. (Steve Rowe)
  732. * SOLR-12416: When creating a time routed alias, the router.autoDeleteAge option wasn't considered.
  733. (Joachim Sauer via David Smiley)
  734. * SOLR-12450: Don't allow referal to external resources in various config files (CVE-2018-8026).
  735. (Yuyang Xiao, Uwe Schindler)
  736. Optimizations
  737. ----------------------
  738. * SOLR-11920: IndexFetcher now fetches only those files (from master/leader) that are different. This
  739. differential fetching now speeds up recovery times when full index replication is needed, but only
  740. a few segments diverge. (Ishan Chattopadhyaya, Shaun Sabo, John Gallagher)
  741. * SOLR-11731: LatLonPointSpatialField can now decode points from docValues when stored=false docValues=true,
  742. albeit with maximum precision of 1.37cm (Karthik Ramachandran, David Smiley)
  743. * SOLR-11891: DocStreamer now respects the ReturnFields when populating a SolrDocument, reducing the
  744. number of unneccessary fields a ResponseWriter will see if documentCache is used (wei wang, hossman)
  745. * SOLR-12312: Replication IndexFetcher should cap its internal buffer size when the file being transferred is small.
  746. (Jeff Miller, David Smiley)
  747. * SOLR-12333: Removed redundant lines for handling lists in JSON reponse writers. (David Smiley via Mikhail Khludnev)
  748. * SOLR-11880: Avoid creating new exceptions for every request made to MDCAwareThreadPoolExecutor by distributed
  749. search and update operations. (Varun Thacker, shalin)
  750. * SOLR-12375: Optimize Lucene needsScore / ScoreMode use:
  751. A non-cached filter query could be told incorrectly that scores were needed.
  752. The /export (ExportQParserPlugin) would declare incorrectly that scores are needed.
  753. Expanded docs (expand component) could be told incorrectly that scores are needed. (David Smiley)
  754. * SOLR-12338: Replay buffering tlog in parallel. (Cao Manh Dat, David Smiley)
  755. * SOLR-12366: A slow "live docs" implementation was being used instead of a bitset. Affects classic faceting
  756. enum method, JSON Facets enum method, UnInvertedField faceting, GraphTermsQParser, JoinQParser. (David Smiley)
  757. * SOLR-12337: Remove the obsolete QueryWrapperFilter intermediate wrapper, which also removed some needless uses of
  758. SolrConstantScoreQuery as well. QWF since v5.4.0 sometimes needlessly internally executed and cached the query.
  759. Affects ExpandComponent, ChildDocTransformer, CurrencyFieldType, TermsQParser. (David Smiley)
  760. * SOLR-9922: Write buffering updates to another tlog. (Cao Manh Dat)
  761. * SOLR-12233: QParserPlugin's built-in static registry now holds actual QParserPlugin instances instead of class
  762. references. This is consistent with other plugin registries and allows a SolrCore to load faster.
  763. (Jeff Miller, David Smiley)
  764. * SOLR-12198: Stream Evaluators should not copy matrices needlessly (Joel Bernstein)
  765. Other Changes
  766. ----------------------
  767. * SOLR-12018: Remove comments.apache.org integration for the Ref Guide; the comments system has been down since December 2017 and there is no concrete plan to bring it back. (Cassandra Targett)
  768. * SOLR-12076: Remove unnecessary printLayout usage in CDCR tests (Varun Thacker)
  769. * SOLR-12086: Fix format problem in FastLRUCache description string shown on Cache Statistics page.
  770. (Sathiya N Sundararajan via shalin)
  771. * SOLR-12090: Move DistribStateManager, NodeStateProvider and SolrCloudManager interfaces out of the
  772. autoscaling package. (shalin)
  773. * SOLR-12091: Rename TimeSource.getTime to getTimeNs. (ab)
  774. * SOLR-12101: ZkTestServer was not handling connection timeout settings properly. (Gus Heck via Mark Miller)
  775. * SOLR-11331: Ability to run and debug standalone Solr and a single node SolrCloud server from Eclipse.
  776. Also being able to run all Lucene and Solr tests as a configuration (Karthik Ramachandran via
  777. Varun Thacker, Uwe Schindler)
  778. * SOLR-12118: Solr Ref-Guide can now use some ivy version props directly as attributes in content (hossman)
  779. * SOLR-12152: Split up TriggerIntegrationTest into multiple tests to isolate and increase reliability. (shalin)
  780. * SOLR-12133: Fix race conditions that caused TriggerIntegrationTest.testEventQueue and testNodeMarkersRegistration
  781. to fail. (Mark Miller, shalin)
  782. * SOLR-12169: Fix ComputePlanActionTest.testSelectedCollections fails on jenkins by aggressively cleaning up
  783. trigger state left by other test methods in the test setup. (shalin)
  784. * SOLR-12144: SOLR_LOG_PRESTART_ROTATION now defaults to false, we leverage log4j2 for log rotation on startup (janhoy)
  785. * SOLR-12095: AutoScalingHandler validates trigger configurations before updating Zookeeper. (ab)
  786. * SOLR-12165: Ref Guide: DisMax default mm param value is improperly documented as 100%. (Steve Rowe)
  787. * SOLR-12154: Disallow explicit usage of Log4j2 logger via forbidden APIs. (Varun Thacker, Tomás Fernández Löbbe)
  788. * SOLR-12176: Improve FORCELEADER to handle the case when a replica win the election but does not present
  789. in clusterstate (Cao Manh Dat)
  790. * SOLR-12134: ref-guide 'bare-bones html' validation is now part of 'ant documentation' and validates
  791. javadoc links locally. (hossman)
  792. * SOLR-12142: EmbeddedSolrServer should use req.getContentWriter (noble)
  793. * SOLR-12252: Fix minor compiler and intellij warnings in autoscaling policy framework. (shalin)
  794. * SOLR-11914: The following SolrParams methods are now deprecated: toSolrParams (use NamedList.toSolrParams instead),
  795. toMap, toMultiMap, toFilteredSolrParams, getAll. The latter ones have no direct replacement but are easy to
  796. implement yourself as-needed. (David Smiley)
  797. * SOLR-10036: Upgrade jackson from 2.5.4 to 2.9.5 (Shashank Pedamallu, Shawn Heisey, Varun Thacker)
  798. * SOLR-12289: Add more MDC logging information to collection admin requests (Varun Thacker)
  799. * SOLR-12288: Add more MDC logging information to core admin requests (Varun Thacker)
  800. * SOLR-12265: Upgrade Jetty to 9.4.10.v20180503 (Varun Thacker, Steve Rowe)
  801. * SOLR-12374: Added SolrCore.withSearcher(lambda) to make grabbing the searcher easier than the more awkward
  802. RefCounted API. (David Smiley)
  803. * SOLR-12183: Refactor Streaming Expression test cases (Joel Bernstein)
  804. * SOLR-12437: Document 'bin/solr config' in the ref guide. (Steve Rowe)
  805. * SOLR-12435: Fix bin/solr help and ref guide text to describe ZK_HOST in solr.in.sh/solr.in.cmd
  806. as an alternative to -z cmdline param. (Steve Rowe)
  807. ================== 7.3.1 ==================
  808. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  809. Versions of Major Components
  810. ---------------------
  811. Apache Tika 1.17
  812. Carrot2 3.15.0
  813. Velocity 1.7 and Velocity Tools 2.0
  814. Apache UIMA 2.3.1
  815. Apache ZooKeeper 3.4.11
  816. Jetty 9.4.8.v20171121
  817. Bug Fixes
  818. ----------------------
  819. * SOLR-12204: Upgrade commons-fileupload dependency to 1.3.3 to address CVE-2016-1000031. (Steve Rowe)
  820. * SOLR-12256: Fixed some eventual-consistency issues with collection aliases by using ZooKeeper.sync(). (David Smiley)
  821. * SOLR-12087: Deleting replicas sometimes fails and causes the replicas to exist in the down
  822. state (Cao Manh Dat)
  823. * SOLR-12146: LIR should skip deleted replicas (Cao Manh Dat)
  824. * SOLR-12066: Cleanup deleted core when node start (Cao Manh Dat)
  825. * SOLR-12065: A successful restore collection should mark the shard state as active and not buffering
  826. (Rohit, Varun Thacker)
  827. * SOLR-11724: Cdcr bootstrapping should ensure that non-leader replicas should sync with the leader
  828. (Amrit Sarkar, Varun Thacker)
  829. * SOLR-12202: Fix errors in solr-exporter.cmd. (Minoru Osuka via koji)
  830. * SOLR-12316: Do not allow to use absolute URIs for including other files in solrconfig.xml
  831. and schema parsing (CVE-2018-8010). (Ananthesh, Ishan Chattopadhyaya, Uwe Schindler)
  832. ================== 7.3.0 ==================
  833. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  834. Versions of Major Components
  835. ---------------------
  836. Apache Tika 1.16
  837. Carrot2 3.15.0
  838. Velocity 1.7 and Velocity Tools 2.0
  839. Apache UIMA 2.3.1
  840. Apache ZooKeeper 3.4.11
  841. Jetty 9.4.8.v20171121
  842. Upgrade Notes
  843. ----------------------
  844. * SOLR-11748: The throttling mechanism used to limit the rate of autoscaling events processed
  845. has been removed. This deprecates the 'actionThrottlePeriodSeconds' setting in the set-properties
  846. Autoscaling API which is now a no-op. Use the 'triggerCooldownPeriodSeconds' instead to pause event
  847. processing.
  848. * SOLR-11798: The top-level <highlighting> syntax in solrconfig.xml is now formally
  849. deprecated in favour of <searchComponent> equivalent syntax. See also SOLR-1696.
  850. * SOLR-11809: QueryComponent's rq parameter parsing no longer considers the defType parameter.
  851. * SOLR-11747: The behaviour of the autoscaling system has been modified to pause all triggers from execution between
  852. the start of actions and end of cool down period. The triggers will be resumed after the cool down period expires.
  853. Previously, the cool down period was a fixed period started after actions for a trigger event complete and during
  854. this time, all triggers continued to run but any events were rejected to be tried later.
  855. * SOLR-11624: Collections created without specifying a configset name use a copy of the _default configset since 7.0.
  856. Before 7.3, the copied over configset was named the same as the collection name, but 7.3 onwards it will be named
  857. with an additional ".AUTOCREATED" suffix.
  858. * SOLR-11702: The old Leader-In-Recovery implementation (SOLR-5495) is now deprecated and replaced. Solr will support
  859. rolling upgrades from old 7.x versions of Solr to future 7.x releases until the last release of
  860. the 7.x major version. This means in order to upgrade to Solr 8 in the future, you must be on Solr 7.3 or higher.
  861. * LUCENE-8161: If you are using the spatial JTS library with Solr, you must upgrade to 1.15.0. This new version
  862. of JTS is now dual-licensed to include a BSD style license.
  863. * SOLR-12051: A new mechanism is introduced in SOLR-11702 to maintain consistency in SolrCloud between leader and replicas.
  864. This mechanism lets Solr know whether a replica is in-sync with the leader or not, even when the leader is not live.
  865. If all the replicas who participate in the leader election are out-of-sync with previous leader, the election will
  866. pause until a timeout (named "leaderVoteWait") before allowing an out-of-sync replica to become leader. Note that the
  867. new leader still needs to contains more updates than any other active replicas in the same shard. Therefore by
  868. increasing leaderVoteWait will increase the consistency (over availability) of the system. The default value of
  869. leaderVoteWait is 180,000 ms (3 minutes) and it can be adjusted in the "solrcloud" section of the solr.xml
  870. * SOLR-11957: The default Solr log file size and number of backups is raised to 32MB and 10 respectively
  871. * SOLR-12067: The default value of `autoReplicaFailoverWaitAfterExpiration` has been increased to 120 seconds
  872. from the earlier default of 30 seconds. This affects how soon Solr adds new replicas to replace the replicas
  873. on nodes which have either crashed or shutdown.
  874. New Features
  875. ----------------------
  876. * SOLR-11285: Simulation framework for autoscaling. (ab)
  877. * LUCENE-2899: In the Solr analysis-extras contrib, added support for the
  878. OpenNLP-based analysis components in the Lucene analysis/opennlp module:
  879. tokenization, part-of-speech tagging, phrase chunking, and lemmatization.
  880. Also added OpenNLP-based named entity extraction as a Solr update request
  881. processor. (Lance Norskog, Grant Ingersoll, Joern Kottmann, Em, Kai Gülzau,
  882. Rene Nederhand, Robert Muir, Steven Bower, Steve Rowe)
  883. * SOLR-11201: Implement autoscaling trigger for arbitrary metrics that creates events when
  884. a given metric breaches a threshold (shalin)
  885. * SOLR-11653: TimeRoutedAlias URP now auto-creates new collections on the fly according to alias metadata
  886. rules that sets the time interval for each collection. An internal Overseer command "ROUTEDALIAS_CREATECOLL"
  887. was created to facilitate this. (David Smiley)
  888. * SOLR-11062: new tag "diskType" in autoscaling policy (noble)
  889. * SOLR-11063: Suggesters should accept required freedisk as a hint (noble)
  890. * SOLR-3218: Added range faceting support for CurrencyFieldType. This includes both "facet.range" as well
  891. as json.facet's "type:range" (Andrew Morrison, Jan Høydahl, Vitaliy Zhovtyuk, hossman)
  892. * SOLR-11064: Collection APIs should use the disk space hint when using policy framework (noble)
  893. * SOLR-11854: multivalued primitive fields can now be sorted by implicitly choosing the min/max
  894. value for asc/desc sort orders. (hossman)
  895. * SOLR-11592: Add OpenNLP language detection to the langid contrib. (Koji, Steve Rowe)
  896. * SOLR-11648: A new admin UI to display and execute suggestions (Apoorv Bhawsar , noble)
  897. * SOLR-11722: Added "time routed alias" creation support to the CREATEALIAS command. It's for managing multiple
  898. collections partitioned by time. (Gus Heck, David Smiley)
  899. * SOLR-11782: Refactor LatchWatcher.await to protect against spurious wakeup (Tomás Fernández Löbbe, David Smiley, Dawid Weiss)
  900. * SOLR-11617: Alias properties (formerly "metadata") are now mutable via a new ALIASPROP command.
  901. These properties are returned from LISTALIASES. (Gus Heck via David Smiley)
  902. * SOLR-11702: Redesign current LIR implementation (Cao Manh Dat, shalin)
  903. * SOLR-11376: Support computing plans for only specific collections. (ab)
  904. * SOLR-11681: Add ttest and pairedTtest Stream Evaluators (Joel Bernstein)
  905. * SOLR-11785: Add multiVariateNormalDistribution Stream Evaluator (Joel Bernstein)
  906. * SOLR-11789: Add integrate Stream Evaluator to support integral calculations (Joel Bernstein)
  907. * SOLR-11791: Add density Stream Evaluator (Joel Bernstein)
  908. * SOLR-11172: Add Mann-Whitney U test Stream Evaluator (Mathew Skaria, Joel Bernstein)
  909. * SOLR-11808: Add sumSq Stream Evaluator (Joel Bernstein)
  910. * SOLR-11430: Add lerp and akima Stream Evaluators to support linear and akima spline interpolation (Joel Bernstein)
  911. * SOLR-11683: Add chiSquareDataSet Stream Evaluator (Joel Bernstein)
  912. * SOLR-10716: Add termVectors Stream Evaluator (Joel Bernstein)
  913. * SOLR-11737: Add kmeans Stream Evaluator to support kmeans clustering (Joel Bernstein)
  914. * SOLR-11736: Rename knn Streaming Expression to knnSearch and add new knn Stream Evaluator (Joel Bernstein)
  915. * SOLR-11867: Add indexOf, rowCount and columnCount StreamEvaluators (Joel Bernstein)
  916. * SOLR-11862: Add fuzzyKmeans Stream Evaluatory (Joel Bernstein)
  917. * SOLR-11890: Add multiKmeans Stream Evaluator (Joel Bernstein)
  918. * SOLR-11916: new SortableTextField which supports analysis/searching just like TextField, but also
  919. sorting/faceting just like StrField. By default uses only the first 1024 chars of the original
  920. input string values, but this is configurable. (hossman)
  921. * SOLR-11778: Add per-stage RequestHandler metrics. (ab)
  922. * SOLR-11925: Time Routed Aliases can have their oldest collections automatically deleted via the "router.autoDeleteAge"
  923. setting. (David Smiley)
  924. * SOLR-11941: Add abstract contrib/ltr AdapterModel to facilitate the development of scoring models that delegate
  925. scoring to an opaque pre-trained model. (Christine Poerschke)
  926. * SOLR-11689: Add l1norm, l2norm and linfnorm Stream Evaluators (Joel Bernstein)
  927. * SOLR-11588: Add matrixMult Stream Evaluator to support matrix multiplication (Joel Bernstein)
  928. * SOLR-12006: Add a '*_t' and '*_t_sort' dynamic field for single valued text fields (Varun Thacker)
  929. * SOLR-11597: Add contrib/ltr NeuralNetworkModel class. (Michael A. Alcorn, Yuki Yano, Christine Poerschke)
  930. * SOLR-11066: Implement a scheduled autoscaling trigger that runs on a fixed interval beginning with a
  931. given start time. (David Smiley, Gus Heck, ab, shalin)
  932. * SOLR-11795: Add Solr metrics exporter for Prometheus (Minoru Osuka via koji)
  933. * SOLR-11267: Add support for "add-distinct" atomic update operation (Amrit Sarkar via noble )
  934. * SOLR-11960: Add collection level properties similar to cluster properties (Peter Rusko, Tomás Fernández Löbbe)
  935. * SOLR-12077: Add support for autoAddReplicas in the collection creation dialog in Admin UI. (shalin)
  936. * SOLR-9510: introducing {!filters param=$fq excludeTags=f} query parser.
  937. Introducing {!.. filters=$fq excludeTags=t,q} in {!parent} and {!child} (Dr. Oleg Savrasov via Mikhail Khludnev)
  938. Bug Fixes
  939. ----------------------
  940. * SOLR-11783: Rename core in solr standalone mode is not persisted (Erick Erickson)
  941. * SOLR-11555: If the query terms reduce to nothing, filter(clause) produces an NPE whereas
  942. fq=clause does not (Erick Erickson)
  943. * SOLR-11824: Fixed bucket ordering in distributed json.facet type:range when mincount>0 (hossman)
  944. * SOLR-11821: ConcurrentModificationException in SimSolrCloudTestCase.tearDown (shalin)
  945. * SOLR-11631: The Schema API should return non-zero status when there are failures.
  946. (Noble Paul, Steve Rowe)
  947. * SOLR-11839: Fix test failures resulting from SOLR-11218 (Erick Erickson)
  948. * SOLR-11794: PULL replicas stop replicating after collection RELOAD (Samuel Tatipamula, Tomás Fernández Löbbe)
  949. * SOLR-11714: AddReplicaSuggester / ComputePlanAction infinite loop. (ab)
  950. * SOLR-11895: Logging Screen in the Admin UI will now show "No Events available" when there are no events to show.
  951. Also, the spinner icon is removed to prevent users thinking the page has hung. (Cassandra Targett, Shawn Heisey)
  952. * SOLR-10525: Stacked recovery requests do no cancel an in progress recovery first. (Mike Drob via Cao Manh Dat)
  953. * SOLR-11873: Use time based expiration cache in all necessary places in HdfsDirectoryFactory. (Mihaly Toth via Mark Miller)
  954. * SOLR-11661: New HDFS collection reuses unremoved data from a deleted HDFS collection with same name causes
  955. inconsistent view of documents (Cao Manh Dat, shalin)
  956. * SOLR-11459: In-place update of nonexistent doc following existing doc update fails to create the doc.
  957. (Andrey Kudryavtsev via Mikhail Khludnev)
  958. * SOLR-11931: Fix contrib/ltr custom inner class feature/normaliser/model persistence. (Christine Poerschke)
  959. * SOLR-10261: In case of in-place updates, failure in leader to follower replica update request now throws the
  960. follower replica in leader-initiated-recovery (Ishan Chattopadhyaya, Steve Rowe)
  961. * SOLR-11898: ConcurrentModificationException when calling org.apache.solr.core.SolrInfoBean.getMetricsSnapshot
  962. (Jeff Miller via Erick Erickson)
  963. * SOLR-11950: Allow CLUSTERSTATUS "shard" parameter to accept comma (,) delimited list (Chris Ulicny via Jason Gerlowski)
  964. * SOLR-11739: Fix race condition that made Solr accept duplicate async IDs in collection API operations (Tomás Fernánadez Löbbe)
  965. * SOLR-11988: Fix exists() method in EphemeralDirectoryFactory/MockDirectoryFactory to prevent false positives (hossman)
  966. * SOLR-11971: Don't allow referal to external resources in DataImportHandler's dataConfig request parameter (CVE-2018-1308).
  967. (麦 香浓郁, Uwe Schindler)
  968. * SOLR-12021: Fixed a bug in ApiSpec and other JSON resource loading that was causing unclosed file handles (hossman)
  969. * SOLR-10720: Aggressive removal of a collection breaks cluster status API. (Alexey Serba, shalin)
  970. * SOLR-12050: UTILIZENODE does not enforce policy rules (hossman, noble)
  971. * SOLR-11843: Admin UI collection creation was not properly handling the router.field and router.name parameters.
  972. Also changed the display label in the Admin UI from routerField to router.field to match the actual API.
  973. (Shawn Heisey via Cassandra Targett)
  974. * SOLR-12011: Consistence problem when in-sync replicas are DOWN. (Cao Manh Dat)
  975. * SOLR-12020: JSON Facet API: terms facet on date field fails in refinement phase with
  976. "Invalid Date String" error. (yonik)
  977. * SOLR-12061: Fix substitution bug in API V1 to V2 migration when using SolrJ with V2 API. (Tomás Fernánadez Löbbe)
  978. * SOLR-11976: TokenizerChain.normalize: only the first filter that is a MultiTermAwareComponent was participating
  979. in normalization instead of all. This bug normally doesn't matter since TextField doesn't call it.
  980. (Tim Allison via David Smiley)
  981. * SOLR-12072: Invalid path string using ZkConfigManager.copyConfigDir(String fromConfig, String toConfig)
  982. (Alessandro Hoss via Erick Erickson)
  983. * SOLR-12064: JSON Facet API: fix bug where a limit of -1 in conjunction with multiple facets or
  984. missing=true caused an NPE or AIOOBE. (Karthik Ramachandran via yonik)
  985. * SOLR-12083: Fix RealTime GET to work on a cluster running CDCR when using Solr's in-place updates
  986. (Amrit Sarkar, Varun Thacker)
  987. * SOLR-12063: Fix PeerSync, Leader Election failures and CDCR checkpoint inconsistencies on a cluster running CDCR
  988. (Amrit Sarkar, Varun Thacker)
  989. * SOLR-12110: Replica which failed to register in Zk can become leader (Cao Manh Dat)
  990. * SOLR-12129: After the core is reloaded, term of the core will not be watched (Cao Manh Dat)
  991. * SOLR-12141: Fix "bin/solr" shell scripts (Windows/Linux/Mac) to correctly detect major Java version
  992. and use numerical version comparison to enforce minimum requirements. Also remove obsolete "UseParNewGC" option.
  993. This allows to start Solr with Java 10 or later. (Uwe Schindler)
  994. Optimizations
  995. ----------------------
  996. * SOLR-11711: Fixed distributed processing of facet.field/facet.pivot sub requests to prevent requesting
  997. unneccessary and excessive '0' count terms from each shard (Houston Putman via hossman)
  998. * LUCENE-8149: NRTCachingDirectory does not need to preemptively delete segment files and generate exceptions
  999. (Erick Erickson)
  1000. * SOLR-11879: avoid EOFException for empty input streams (noble)
  1001. * SOLR-8327: Cluster state caching to avoid live fetch from ZK of cluster state for forwarding requests on nodes
  1002. that do not host any replica of the collection (Jessica Cheng Mallet, John Gallagher, Noble Paul, Ishan Chattopadhyaya)
  1003. * SOLR-11769: Optimize when useFilterForSortedQuery=true and there are no filter queries by avoiding
  1004. needless match-all-docs bitset construction. (Betim Deva, David Smiley)
  1005. Other Changes
  1006. ----------------------
  1007. * SOLR-11629: Add more intuitive CloudSolrClient.Builder constructors (Varun Thacker, Jason Gerlowski)
  1008. * SOLR-11575: Improve ref-guide solrj snippets via mock 'print()' method (Jason Gerlowski via hossman)
  1009. * SOLR-11757: In tests, fix race condition on SolrException.ignoreException.
  1010. Also ensure we register "ignore_exception" in @BeforeClass (previously only @AfterClass) (David Smiley)
  1011. * SOLR-11754: Remove AbstractSolrTestCase which has long been supplanted by SolrTestCaseJ4. (David Smiley)
  1012. * SOLR-11701: Upgrade to Tika 1.17 when available (Tim Allison, Karthik Ramachandran via Erick Erickson)
  1013. * SOLR-11703: Solr Should Send Log Notifications if Ulimits are too low (Kevin Cowan via Erick Eickson)
  1014. * SOLR-11793: Reduce code duplication w.r.t. RestTestHarness(es). (Christine Poerschke)
  1015. * SOLR-7733: remove "optimize" from the UI. (Erick Erickson)
  1016. * SOLR-11748: Remove Autoscaling action throttle. (shalin)
  1017. * SOLR-11805: SolrJ's SolrResponse.getElaspedTime was sometimes a millisecond off. (David Smiley)
  1018. * SOLR-11798: Formally deprecate top-level <highlighting> syntax in solrconfig.xml
  1019. in favour of <searchComponent> equivalent syntax. (Christine Poerschke)
  1020. * SOLR-11801: Support customisation of the "highlighting" query response element.
  1021. (Ramsey Haddad, Pranav Murugappan, David Smiley, Christine Poerschke)
  1022. * SOLR-11692: SolrDispatchFilter's use of a "close shield" in tests should not be applied to
  1023. further servlet chain processing. (Jeff Miller, David Smiley)
  1024. * SOLR-11218: Fail and return an error when attempting to delete a collection that's part of an alias (Erick Erickson)
  1025. * SOLR-11817: Move Collections API classes to it's own package (Varun Thacker)
  1026. * SOLR-11810: Upgrade Jetty to 9.4.8.v20171121 (Varun Thacker, Erick Erickson)
  1027. * SOLR-11747: Pause triggers until actions finish executing and the cool down period expires. (shalin)
  1028. * SOLR-11871: MoveReplicaSuggester should not suggest leader if other replicas are available (noble)
  1029. * SOLR-11624: Collections created from _default configset will now be associated with a configset with a suffix
  1030. .AUTOCREATED. For example, a new collection "mycollection", created without specifying a configset name, will
  1031. use the _default configset and the associated configset name will be "mycollection.AUTOCREATED". If this
  1032. collection is deleted and re-created, the autocreated configset will be left behind and will be re-used for
  1033. the re-created collection (Ishan Chattopadhyaya, Abhishek Kumar Singh)
  1034. * SOLR-11051: Use disk free metric in default cluster preferences (noble)
  1035. * SOLR-11658: Upgrade ZooKeeper dependency to 3.4.11 (Jason Gerlowski, Steve Rowe, Erick Erickson)
  1036. * SOLR-11480: Remove unused "Admin Extra" files and mentions. (Eric Pugh, Christine Poerschke)
  1037. * SOLR-11067: REPLACENODE should identify appropriate nodes if targetNode is not provided (noble)
  1038. * SOLR-11848: Update Ref Guide to include info on grouping operations and using curl for large files. (Dariusz Wojtas
  1039. via Cassandra Targett)
  1040. * SOLR-11613: Make message for missing dataimport config in UI more explicit. (Shawn Heisey, Amrit Sarkar via
  1041. Cassandra Targett)
  1042. * SOLR-11933: Make DIH UI page safer by not default checking the clean checkbox (Eric Pugh via Tomás Fernández Löbbe)
  1043. * SOLR-11349: Rename ResponseBuilder's getQueryCommand to createQueryCommand. (Christine Poerschke)
  1044. * SOLR-11902: Clarify in bin/solr help text whether commands can be run remotely (Jason Gerlowski)
  1045. * SOLR-3089: RequestBuilder now exposes isDistrib() method. Using this, plugins can know whether a request is
  1046. distributed. (Rok Rejc, Frank Wesemann, Abhishek Kumar Singh, Mikhail Khludnev via Ishan Chattopadhyaya)
  1047. * SOLR-8090: Make text elements in the UI darker for better contrast and readability (Cassandra Targett)
  1048. * SOLR-6057: Change highlight color in UI Analysis screen (Cassandra Targett)
  1049. * SOLR-11897: Add toggle to disable auto-refresh of Logging page in the UI (Tommy Marshment-Howell via
  1050. Cassandra Targett)
  1051. * SOLR-12017: Remove BadApple and AwaitsFix annotations that link to closed JIRAs (Erick Erickson)
  1052. * SOLR-12027: Increase thread lingering timeout to 80s. (Mikhail Khludnev)
  1053. * SOLR-10809: Get precommit lint warnings out of Solr core (Erick Erickson)
  1054. * SOLR-12028: BadApple and AwaitsFix annotations usage (Erick Erickson, Uwe Schindler)
  1055. * SOLR-12031: Refactor Policy framework to make simulated changes affect more than a single node (noble)
  1056. * SOLR-11957: Increase MaxFileSize=32MB and MaxBackupIndex=10 for RollingFileAppender in log4j.properties
  1057. (Varun Thacker, shalin)
  1058. * SOLR-12047: Increase checkStateInZk timeout (Cao Manh Dat, Varun Thacker)
  1059. * SOLR-12051: Election timeout when no replicas are qualified to become leader (Cao Manh Dat)
  1060. * SOLR-12067: Increase autoAddReplicas default 30 second wait time to 120 seconds.
  1061. (Varun Thacker, Mark Miller via shalin)
  1062. * SOLR-12078: Fixed reproducable Failure in TestReplicationHandler.doTestIndexFetchOnMasterRestart that happened
  1063. due to using stale http connections. (Gus Heck, shalin)
  1064. * SOLR-12099: Remove reopenReaders attribute from 'IndexConfig in SolrConfig' page in ref guide. (shalin)
  1065. * SOLR-12098: Document the Lucene spins auto-detection and its effect on CMS dynamic defaults.
  1066. (Cassandra Targett, shalin)
  1067. * SOLR-12097: Document the diskType policy attribute and usage of disk space in Collection APIs.
  1068. (Cassandra Targett, shalin)
  1069. ================== 7.2.1 ==================
  1070. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  1071. Versions of Major Components
  1072. ---------------------
  1073. Apache Tika 1.16
  1074. Carrot2 3.15.0
  1075. Velocity 1.7 and Velocity Tools 2.0
  1076. Apache UIMA 2.3.1
  1077. Apache ZooKeeper 3.4.10
  1078. Jetty 9.3.20.v20170531
  1079. Bug Fixes
  1080. ----------------------
  1081. * SOLR-11771: Overseer can never process some last messages (Cao Manh Dat)
  1082. * SOLR-11783: Rename core in solr standalone mode is not persisted (Erick Erickson)
  1083. * SOLR-11809: QueryComponent.prepare rq parsing could fail under SOLR 7.2.0 - fix:
  1084. QueryComponent's rq parameter parsing no longer considers the defType parameter.
  1085. (Christine Poerschke and David Smiley in response to bug report/analysis
  1086. from Dariusz Wojtas and Diego Ceccarelli)
  1087. * SOLR-11555: If the query terms reduce to nothing, filter(clause) produces an NPE whereas
  1088. fq=clause does not (Erick Erickson)
  1089. ================== 7.2.0 ==================
  1090. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  1091. Versions of Major Components
  1092. ---------------------
  1093. Apache Tika 1.16
  1094. Carrot2 3.15.0
  1095. Velocity 1.7 and Velocity Tools 2.0
  1096. Apache UIMA 2.3.1
  1097. Apache ZooKeeper 3.4.10
  1098. Jetty 9.3.20.v20170531
  1099. Upgrade Notes
  1100. ----------------------
  1101. * SOLR-11501: Starting a query string with local-params {!myparser ...} is used to switch the query parser to another,
  1102. and is intended for use by Solr system developers, not end users doing searches. To reduce negative side-effects of
  1103. unintended hack-ability, we've limited the cases that local-params will be parsed to only contexts in which the
  1104. default parser is "lucene" or "func".
  1105. So if defType=edismax then q={!myparser ...} won't work. In that example, put the desired query parser into defType.
  1106. Another example is if deftype=edismax then hl.q={!myparser ...} won't work for the same reason. In that example,
  1107. either put the desired query parser into hl.qparser or set hl.qparser=lucene. Most users won't run into these cases
  1108. but some will and must change.
  1109. If you must have full backwards compatibility, use luceneMatchVersion=7.1.0 or something earlier. (David Smiley)
  1110. * SOLR-11501: The edismax parser by default no longer allows subqueries that specify a Solr parser using either
  1111. local-params, or the older _query_ magic field trick. For example
  1112. {!prefix f=myfield v=enterp} or _query_:"{!prefix f=myfield v=enterp}" are not supported by default anymore.
  1113. If you want to allow power-users to do this, set uf=* _query_ or some other value that includes _query_.
  1114. If you must have full backwards compatibility, use luceneMatchVersion=7.1.0 or something earlier. (David Smiley)
  1115. New Features
  1116. ----------------------
  1117. * SOLR-11448: Implement an option in collection commands to wait for final results. (ab)
  1118. * SOLR-11072: Implement trigger for searchRate event type. (ab)
  1119. * SOLR-11524: A new autoscaling/suggestions API end-point which gives autoscaling suggestions (noble)
  1120. * SOLR-11519: Implement autoscaling suggestions for replica count violations (noble)
  1121. * SOLR-11518: Implement autoscaling Suggestions for freedisk violations (noble)
  1122. * SOLR-10132: A new optional facet.matches parameter to return facet buckets only
  1123. for terms that match a regular expression. (Gus Heck, Christine Poerschke)
  1124. * SOLR-11520: Implement autoscaling suggestions for cores count violations (noble)
  1125. * SOLR-11438: Solr should return rf when min_rf is specified for deletes as well as adds (Erick Erickson)
  1126. * SOLR-11003: Support bi-directional syncing of cdcr clusters. We still only support active indexing in one cluster,
  1127. but have the ability to switch indexing clusters and cdcr will replicate correctly. (Amrit Sarkar, Varun Thacker)
  1128. * SOLR-11538: Implement suggestions for port,ip_*, nodeRole,sysprop.*, metrics:* (noble)
  1129. * SOLR-11487: Collection Aliases may now have metadata (currently an internal feature).
  1130. (Gus Heck, David Smiley)
  1131. * SOLR-11542: New TimeRoutedAliasUpdateProcessor URP that routes documents to another collection
  1132. in the same Alias defined set based on a time field (currently an internal feature).
  1133. (David Smiley)
  1134. * SOLR-9743: A new UTILIZENODE command (noble)
  1135. * SOLR-11202: Implement a set-property command for AutoScaling API. (ab, shalin)
  1136. * SOLR-11250: A new DefaultWrapperModel class for loading of large and/or externally stored
  1137. LTRScoringModel definitions. (Yuki Yano, shalin, Christine Poerschke)
  1138. * SOLR-11662: New synonymQueryStyle option to configure whether SynonymQuery, a DisjunctionMaxQuery, or BooleanQuery
  1139. occurs over query terms that overlap their position. (Doug Turnbull, David Smiley)
  1140. * SOLR-11429: Add loess Stream Evaluator to support local regression (Joel Bernstein)
  1141. * SOLR-11568: Add matrix Stream Evaluator to support efficient matrix operations (Joel Bernstein)
  1142. * SOLR-11566: Add transpose Stream Evaluator to support transposing of matrices (Joel Bernstein)
  1143. * SOLR-11565: Add unit Stream Evaluator to support unitizing of vectors (Joel Bernstein)
  1144. * SOLR-11567: Add triangularDistribution Stream Evaluator (Joel Bernstein)
  1145. * SOLR-11593: Add support for covariance matrices to the cov Stream Evaluator (Joel Bernstein)
  1146. * SOLR-10680: Add minMaxScale Stream Evaluator (Joel Bernstein)
  1147. * SOLR-11599: Change normalize function to standardize and make it work with matrices (Joel Bernstein)
  1148. * SOLR-11602: Add Markov Chain Stream Evaluator (Joel Bernstein)
  1149. * SOLR-11607: Add grandSum, sumRows, sumColumns, scalarDivide, scalarMultiply, scalarAdd,
  1150. scalarSubtract Stream Evaluators (Joel Bernstein)
  1151. * SOLR-11571: Add diff Stream Evaluator to support time series differencing (Mathew Skaria, Joel Bernstein)
  1152. * SOLR-11570: Add support for correlation matrices to the corr Stream Evaluator (Joel Bernstein)
  1153. * SOLR-11569: Add support for distance matrices to the distance Stream Evaluator (Joel Bernstein)
  1154. * SOLR-11674: Support ranges in the probability Stream Evaluator (Joel Bernstein)
  1155. * SOLR-11680: Add normalizeSum Stream Evaluator (Joel Bernstein)
  1156. * SOLR-11697: Add geometricDistribution Stream Evaluator (Joel Bernstein)
  1157. * SOLR-11485: Add olsRegress, spline and derivative Stream Evaluators (Joel Bernstein)
  1158. Bug Fixes
  1159. ----------------------
  1160. * SOLR-11423: Overseer queue needs a hard cap (maximum size) that clients respect (Scott Blum, Joshua Humphries, Noble Paul)
  1161. * SOLR-11445: Overseer should not hang when process bad message. (Cao Manh Dat, shalin)
  1162. * SOLR-11447: ZkStateWriter should process commands in atomic. (Cao Manh Dat, shalin)
  1163. * SOLR-11491: Support retrieval of cluster properties in HttpClusterStateProvider. (ab)
  1164. * SOLR-11146: Small fixes to the mapping functions in the Analytics Component (Houston Putman)
  1165. * SOLR-11326: A bootstrap of a target cluster does not need to download the tlog files from the source cluster
  1166. (Amrit Sarkar, Varun Thacker)
  1167. * SOLR-10874: Fix AIOOBE caused by FloatPayloadValueSource calling PostingsEnum.nextPosition()
  1168. more than the given term's frequency in overridden FloatDocValues.floatVal().
  1169. (Michael Kosten, Erik Hatcher, Steve Rowe)
  1170. * SOLR-11484: CloudSolrClient does not invalidate cache or retry for RouteException (noble, hossman)
  1171. * SOLR-11532: Solr hits NPE when fl only contains DV fields and any of them is a spatial field. (Cao Manh Dat, David Smiley)
  1172. * SOLR-11557: Fix SolrZkClient.checkInterrupted (Tomás Fernández Löbbe)
  1173. * SOLR-11413: SolrGraphiteReporter fails to report metrics due to non-thread safe code. (Erik Persson, ab)
  1174. * SOLR-9440: The ZkStateReader.removeCollectionStateWatcher method can cache a DocCollection reference and
  1175. never update it causing stale state to be returned in ClusterState. (shalin)
  1176. * SOLR-11560: Specifying the replicationFactor parameter while restoring a collection would lead to extra tlog
  1177. and pull replicas being created (Peter Szantai-Kis, Varun Thacker)
  1178. * SOLR-11586: Restored collection should use stateFormat=2 instead of 1. (Varun Thacker)
  1179. * SOLR-11503: Collections created with legacyCloud=true cannot be opened if legacyCloud=false (Erick Erickson)
  1180. * SOLR-11619: V2 requests that needed to be forwarded to other nodes would get an NPE. (David Smiley)
  1181. * SOLR-11231: Guard against unset fields when performing language detection.
  1182. (Chris Beer via Steve Rowe)
  1183. * SOLR-11553: JSON Facet API: facet refinement could use UIF in phase one and DV uninversion in phase 2, resulting
  1184. in too much memory use. (yonik)
  1185. * SOLR-11645: When the java commandline had exact duplicate arguments, the
  1186. admin UI dashboard would not display any commandline arguments.
  1187. (Webster Homer via Shawn Heisey)
  1188. * SOLR-11608: Correctly parse the new core-name in the V2 core rename API.
  1189. (Jason Gerlowski via Anshum Gupta)
  1190. * SOLR-11256: The queue size for ConcurrentUpdateSolrClient should default to 10 instead of throwing an
  1191. IllegalArgumentException. (Jason Gerlowski, Anshum Gupta)
  1192. * SOLR-11616: Snapshot the segments more robustly such that segments created during a backup does does not fail the
  1193. operation (Varun Thacker)
  1194. * SOLR-11687: SolrCore.getNewIndexDir falsely returns {dataDir}/index on any IOException reading index.properties
  1195. (Nikolay Martynov, Erick Erickson)
  1196. * SOLR-9137: bin/solr script ignored custom STOP_PORT on shutdown.
  1197. (Joachim Kohlhammer, Steve Rowe, Christine Poerschke)
  1198. * SOLR-11458: Improve error handling in MoveReplicaCmd to avoid potential loss of data. (ab)
  1199. * SOLR-11590: Synchronize ZK connect/disconnect handling so that they are processed in linear order
  1200. (noble, Varun Thacker)
  1201. * SOLR-11664: JSON Facet API: range facets containing unique, hll, min, max aggregations over string fields
  1202. produced incorrect results since 7.0 (Volodymyr Rudniev, yonik)
  1203. * SOLR-11691: V2 requests for create-alias didn't work when the collections param was an array.
  1204. (Jason Gerlowski, Gus Heck, David Smiley, noble)
  1205. Optimizations
  1206. ----------------------
  1207. * SOLR-11285: Refactor autoscaling framework to avoid direct references to Zookeeper and Solr
  1208. to make testing and large scale simulations easier. (ab)
  1209. * SOLR-11443: Remove the usage of workqueue for Overseer. (Cao Manh Dat, Scott Blum)
  1210. * SOLR-11320: Lock autoscaling triggers when changes they requested are being made. This helps to
  1211. ensure that cluster is in a stable state before processing any new trigger events. (ab)
  1212. * SOLR-11641: Change `frange` to default to `cost=100` so default behavior is to PostFilter if user specifies
  1213. `cache=false` (hossman)
  1214. * SOLR-11595: SolrIndexSearcher.localCollectionStatistics is now faster by leveraging an existing
  1215. cached MultiFields. Noticeable when many fields are searched. (David Smiley)
  1216. Other Changes
  1217. ----------------------
  1218. * SOLR-11478: Solr should remove itself from live_nodes in zk immediately on shutdown. (Cao Manh Dat)
  1219. * SOLR-11145: Adds comprehensive unit tests for the Analytics Component v2 (Houston Putman)
  1220. * SOLR-11389: For Solr(Shard|Cluster)Reporter instances the SolrMetricManager.registerReporter
  1221. method is now called after the SolrCore or CoreContainer has been set for the instance.
  1222. (Christine Poerschke)
  1223. * SOLR-11464, SOLR-11493, SOLR-11511: Minor refactorings to DistributedUpdateProcessor. (Gus Heck, David Smiley)
  1224. * SOLR-11444: Improved consistency of collection alias handling, and collection references that are
  1225. comma delimited lists of collections, across the various places collections can be referred to.
  1226. Updates are delivered to the first in a list. It's now possible to refer to a comma delimited list
  1227. of them in the path, ex: /solr/colA,colB/select?... (David Smiley)
  1228. * SOLR-11165: Ref guide documentation for Autoscaling APIs, triggers, listeners, actions for Solr 7.1
  1229. (ab, Cassandra Targett, Noble Paul, shalin)
  1230. * SOLR-11562: Restore Solr logo ASCII-art in startup log by removing unnecessary default confdir logging (janhoy)
  1231. * SOLR-11380: SolrJ must stream docs to server instead of writing to a buffer first (noble)
  1232. * SOLR-11603: Remove unused (public) LTRScoringModel.hasParams() method. (Christine Poerschke)
  1233. * SOLR-11606: Disable tests automatically if Mockito does not work with Java runtime (Java 10).
  1234. (Uwe Schindler)
  1235. * SOLR-11618: Tone down verbosity of BackupManager logging (Varun Thacker)
  1236. * SOLR-11621: Fix spurious failures of TriggerIntegrationTest due to timing issues. (shalin)
  1237. * SOLR-11628: Add documentation of maxRamMB for filter cache and query result cache. (shalin)
  1238. * SOLR-11610: Refactored payload handling to use lucene's PayloadDecoder
  1239. framework (Alan Woodward)
  1240. * SOLR-9120: Reduce log level for inconsequential NoSuchFileException that LukeRequestHandler may encounter (hossman)
  1241. * SOLR-10469: Move CloudSolrClient.setParallelUpdates to its Builder. (David Smiley)
  1242. * SOLR-11507: SOLR-11638: Randomize SolrTestCaseJ4.CloudSolrClientBuilder more, and simplify it.
  1243. (Jason Gerlowski, David Smiley)
  1244. * SOLR-11291: Factor out abstract metrics/SolrCore[Container]Reporter classes.
  1245. (Omar Abdelnabi, Christine Poerschke)
  1246. * SOLR-11713: Fixed CdcrUpdateLogTest.testSubReader() failure which was a test bug (Varun Thacker, Amrit Sarkar)
  1247. ================== 7.1.0 ==================
  1248. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  1249. Versions of Major Components
  1250. ---------------------
  1251. Apache Tika 1.16
  1252. Carrot2 3.15.0
  1253. Velocity 1.7 and Velocity Tools 2.0
  1254. Apache UIMA 2.3.1
  1255. Apache ZooKeeper 3.4.10
  1256. Jetty 9.3.20.v20170531
  1257. Detailed Change List
  1258. ----------------------
  1259. Upgrade Notes
  1260. ----------------------
  1261. * 'autoAddReplicas' feature is ported to autoscaling framework. Existing users of this feature should not have
  1262. to change anything. Note these changes:
  1263. 1. Behaviour: Changing the autoAddReplicas property from disabled to enabled using MODIFYCOLLECTION API
  1264. no longer replaces down replicas for the collection immediately. Instead, replicas are only added
  1265. if a node containing them went down while autoAddReplicas was enabled. The params
  1266. autoReplicaFailoverBadNodeExpiration and autoReplicaFailoverWorkLoopDelay are no longer used.
  1267. 2. Deprecations: Enabling/disabling autoAddReplicas cluster wide with the API will be deprecated; use
  1268. suspend/resume trigger APIs with name='.auto_add_replicas' instead.
  1269. * SOLR-11195: shard and cluster metric reporter configuration now requires a class attribute.
  1270. If a reporter configures the group="shard" attribute then please also configure the
  1271. class="org.apache.solr.metrics.reporters.solr.SolrShardReporter" attribute.
  1272. If a reporter configures the group="cluster" attribute then please also configure the
  1273. class="org.apache.solr.metrics.reporters.solr.SolrClusterReporter" attribute.
  1274. * SOLR-11254: the abstract DocTransformer class now has an abstract score-less transform method variant.
  1275. * SOLR-11283: all Stream Evaluators in solrj.io.eval have been refactored to have a simplier and more
  1276. robust structure. This simplifies and condenses the code required to implement a new Evaluator and
  1277. makes it much easier for evaluators to handle differing data types (primitives, objects, arrays,
  1278. lists, and so forth). (Dennis Gove)
  1279. * SOLR-10962: in the ReplicationHandler the master.commitReserveDuration sub-element is deprecated. Instead
  1280. please configure a direct commitReserveDuration element for use in all modes (master, slave, cloud).
  1281. * SOLR-11482: RunExecutableListener was removed for security reasons. If you want to listen to
  1282. events caused by updates, commits, or optimize, write your own listener as native Java class
  1283. as part of a Solr plugin.
  1284. * SOLR-11477: in the XML query parser (defType=xmlparser or {!xmlparser ... })
  1285. the resolving of external entities is now disallowed by default.
  1286. New Features
  1287. ----------------------
  1288. * SOLR-10339: New set-trigger and remove-trigger APIs for autoscaling. (shalin)
  1289. * SOLR-10340: New set-listener and remove-listener API for autoscaling. (shalin)
  1290. * SOLR-10358: New suspend-trigger and resume-trigger APIs for autoscaling. (shalin)
  1291. * SOLR-10376: Implement autoscaling trigger for nodeAdded event. (shalin)
  1292. * SOLR-10396: Implement trigger support for nodeLost event type (Cao Manh Dat, shalin)
  1293. * SOLR-10496: New ComputePlanAction for autoscaling which uses the policy framework to compute cluster
  1294. operations upon a trigger fire. (Noble Paul, shalin)
  1295. * SOLR-10965: New ExecutePlanAction for autoscaling which executes the operations computed by ComputePlanAction
  1296. against the cluster. (shalin)
  1297. * SOLR-11019: Add addAll Stream Evaluator (Joel Bernstein)
  1298. * SOLR-10996: Implement TriggerListener API (ab, shalin)
  1299. * SOLR-11046: Add residuals Stream Evaluator (Joel Bernstein)
  1300. * SOLR-10858: Make UUIDUpdateProcessorFactory as Runtime URP (Amit Sarkar, noble)
  1301. * SOLR-11031: Implement SystemLogListener for autoscaling (ab)
  1302. * SOLR-11205: Any metrics value can be directly accessed in autoscaling policies (noble)
  1303. * SOLR-11199: Payloads supports an "operator" param. Supported operators are 'or', "phrase" ( default ).
  1304. A new "sum" function is also added. Example :
  1305. {!payload_score f=payload_field func=sum operator=or}A B C" (Varun Thacker)
  1306. * SOLR-11215: Make a metric accessible through a single param. (ab)
  1307. * SOLR-11244: Query DSL for Solr (Cao Manh Dat)
  1308. * SOLR-11317: JSON Facet API: min/max aggregations on numeric fields are now typed better so int/long
  1309. fields return an appropriate integral type rather than a double. (yonik)
  1310. * SOLR-11316: JSON Facet API: min/max aggregations are now supported on single-valued date fields.
  1311. (yonik)
  1312. * SOLR-10962: Make ReplicationHandler's commitReserveDuration configurable in SolrCloud mode.
  1313. (Ramsey Haddad, Christine Poerschke, hossman)
  1314. * SOLR-11382: Lucene's Geo3D (surface of sphere & ellipsoid) is now supported on spatial RPT fields by
  1315. setting spatialContextFactory="Geo3D". Furthermore, this is the first time Solr has out of the box
  1316. support for polygons. (David Smiley)
  1317. * SOLR-11160: Add normalDistribution, uniformDistribution, sample and kolmogorovSmirnov Stream Evaluators
  1318. (Joel Bernstein)
  1319. * SOLR-11225: Add cumulativeProbability Stream Evaluator (Joel Bernstein)
  1320. * SOLR-11241: Add discrete counting and probability Stream Evaluators (Joel Bernstein)
  1321. * SOLR-11321: Add ebeAdd, ebeSubtract, ebeDivide, ebeMultiply, dotProduct and cosineSimilarity Stream Evaluators
  1322. (Joel Bernstein)
  1323. * SOLR-11338: Add Kendall's Tau-b rank and Spearmans rank correlation Stream Evaluators (Joel Bernstein)
  1324. * SOLR-11339: Add Canberra, Chebyshev, Earth Movers and Manhattan Distance Stream Evaluators (Joel Bernstein)
  1325. * SOLR-11342: Add sumDifference and meanDifference Stream Evaluators (Joel Bernstein)
  1326. * SOLR-11350: Add primes Stream Evaluator (Joel Bernstein)
  1327. * SOLR-11354: Add factorial and movingMedian Stream Evaluators (Joel Bernstein)
  1328. * SOLR-11377: Add expMovingAverage (exponential moving average) and binomialCoefficient Stream Evaluators
  1329. (Mathew Skaria, Joel Bernstein)
  1330. * SOLR-11388: Add monteCarlo Stream Evaluator to support Monte Carlo simulations (Joel Bernstein)
  1331. * SOLR-11398: Add weibullDistribution Stream Evaluator (Joel Bernstein)
  1332. * SOLR-11400: Add logNormalDistribution Stream Evaluator (Joel Bernstein)
  1333. * SOLR-11401: Add zipFDistribution Stream Evaluator (Joel Bernstein)
  1334. * SOLR-11414: Add gammaDistribution Stream Evaluator (Joel Bernstein)
  1335. * SOLR-11415: Add betaDistribution Stream Evaluator (Joel Bernstein)
  1336. * SOLR-11436: Add polyfit and polyfitDerivative Stream Evaluators (Joel Bernstein)
  1337. * SOLR-11439: Add harmonicFit Stream Evaluator (Joel Bernstein)
  1338. * SOLR-11076: New /autoscaling/history API to return past cluster events and actions. (ab)
  1339. Bug Fixes
  1340. ----------------------
  1341. * SOLR-10602: Triggers should be able to restore state from old instances when taking over. (shalin)
  1342. * SOLR-10714: OverseerTriggerThread does not start triggers on overseer start until autoscaling
  1343. config watcher is fired. (shalin)
  1344. * SOLR-10738: TriggerAction is initialised even if the trigger is never scheduled. (shalin)
  1345. * SOLR-10668: fix NPE at sort=childfield(..) .. on absent values (Mikhail Khludnev)
  1346. * SOLR-8984: EnumField's error reporting to now indicate the field name in failure log (Lanny Ripple,
  1347. Ann Addicks via Ishan Chattopadhyaya)
  1348. * SOLR-11012: Fix three (JavaBinCodec not being closed) Resource Leak warnings. (Christine Poerschke)
  1349. * SOLR-11026: MoveReplicaSuggester must check if the target becomes more 'loaded' than the source
  1350. if an operation is performed (noble)
  1351. * SOLR-10994: CREATE, CREATESHARD & ADDREPLICA to use policy framework & support replica types (noble)
  1352. * SOLR-11011: Assign.buildCoreName can lead to error in creating a new core when legacyCloud=false (Cao Manh Dat)
  1353. * SOLR-10944: Get expression fails to return EOF tuple (Susheel Kumar, Joel Bernstein)
  1354. * SOLR-6086: Replica is active during autowarming resulting in queries being sent to a replica that
  1355. may not have a registered searcher. This causes spikes in response times when adding a replica
  1356. in busy clusters. (Ludovic Boutros, Timothy Potter, shalin)
  1357. * SOLR-11190: GraphQuery also supports string fields which are indexed=false and docValues=true. Please refer to the
  1358. Javadocs for DocValuesTermsQuery for it's performance characteristics. (Karthik Ramachandran, Varun Thacker)
  1359. * SOLR-11084: Issue with starting script with solr.home (-s) == solr (Leil Ireson, Amrit Sarkar via Erick Erickson)
  1360. * SOLR-11255: Fix occasional ConcurrentModificationException when using SolrInfoMBeanHandler. (ab)
  1361. * SOLR-11272: fix NPE when EmbeddedSolrServer handles /admin/* request and so one (Stephen Allen via Mikhail Khludnev)
  1362. * SOLR-11289: fix comma handling in terms component. (yonik)
  1363. * SOLR-11164, SOLR-11180, SOLR-11220: Fix NullPointerException and always-returns-zero
  1364. contrib/ltr OriginalScoreFeature issues in SolrCloud mode.
  1365. (Yuki Yano, Jonathan Gonzalez, Ryan Yacyshyn, Christine Poerschke)
  1366. * SOLR-11278: Stopping CDCR should cancel a running bootstrap operation. (Amrit Sarkar, shalin)
  1367. * SOLR-11293: Potential data loss in TLOG replicas when masterVersion equals zero (noble, Cao Manh Dat)
  1368. * SOLR-10101: TestLazyCores hangs (Erick Erickson)
  1369. * SOLR-11332: Fix sorting on 'enum' fieldTypes that use sortMissingFirst or sortMissingLast (hossman)
  1370. * SOLR-11348: Fix the DIH database example (James Dyer)
  1371. * SOLR-11363: JSON Facet API: repeated values in a numeric points field with docValues enabled
  1372. were double counted. (Hossman, yonik)
  1373. * SOLR-11085: Improve resiliency of autoscaling actions against overseer restarts and operation failures. (shalin)
  1374. * SOLR-11297: Message "Lock held by this virtual machine" during startup. Solr is trying to start some cores twice.
  1375. (Luiz Armesto, Shawn Heisey, Erick Erickson)
  1376. * SOLR-11399: The UnifiedHighlighter was ignoring the hl.fragsize parameter when hl.bs.type=SEPARATOR
  1377. (Marc Morissette via David Smiley)
  1378. * SOLR-11224: SolrStream.close can hit an NPE (Erick Erickson)
  1379. * SOLR-11278: Fix a race condition in the CDCR bootstrap process which could lead to bootstraps cancelling itself
  1380. (Amrit Sarkar, shalin, Varun Thacker)
  1381. * SOLR-11425: SolrClientBuilder does not allow infinite timeout (value 0). (Peter Szantai-Kis via Mark Miller)
  1382. * SOLR-11449: MoveReplicaCmd mistakenly called registerCollectionStateWatcher on failure. (ab)
  1383. * SOLR-11477: Disallow resolving of external entities in the XML query parser (defType=xmlparser).
  1384. (Michael Stepankin, Olga Barinova, Uwe Schindler, Christine Poerschke)
  1385. * SOLR-12444: Updating a cluster policy fails (noble)
  1386. Optimizations
  1387. ----------------------
  1388. * SOLR-10985: Remove unnecessary toString() calls in solr-core's search package's debug logging.
  1389. (Michael Braun via Christine Poerschke)
  1390. * SOLR-11000: Changes made via AutoScalingHandler should be atomic. (ab, shalin)
  1391. * SOLR-11124: MoveReplicaCmd should skip deleting old replica in case of its node is not live (Cao Manh Dat)
  1392. * SOLR-10769: Allow nodeAdded / nodeLost events to report multiple nodes in one event. (ab)
  1393. * SOLR-11242: QueryParser: re-use the LookaheadSuccess exception. (Michael Braun via David Smiley)
  1394. * SOLR-11314: FastCharStream: re-use the READ_PAST_EOF exception. (Michael Braun via David Smiley)
  1395. * SOLR-8344: Decide default when requested fields are both column and row stored. (Cao Manh Dat, David Smiley)
  1396. * SOLR-10285: Skip LEADER messages when there are leader only shards (Cao Manh Dat, Joshua Humphries)
  1397. * SOLR-11424: When legacyCloud=false, cores should not publish itself as DOWN on startup. (Cao Manh Dat)
  1398. Other Changes
  1399. ----------------------
  1400. * SOLR-10643: Throttling strategy for triggers and policy executions. (shalin)
  1401. * SOLR-10764: AutoScalingHandler should validate policy and preferences before updating zookeeper. (shalin)
  1402. * SOLR-10827: Factor out abstract FilteringSolrMetricReporter class. (Christine Poerschke)
  1403. * SOLR-10957: Changed SolrCoreParser.init to use the resource loader from getSchema()
  1404. instead of the resource loader from getCore(). (Christine Poerschke)
  1405. * SOLR-10748: Make stream.body configurable and disabled by default (janhoy)
  1406. * SOLR-10964: Reduce SolrIndexSearcher casting in LTRRescorer. (Christine Poerschke)
  1407. * SOLR-11075: Refactor handling of params in CloudSolrStream and FacetStream (Erick Erickson)
  1408. * SOLR-11052: Remove unnecessary Long-to-Integer and back casts in ReplicationHandler.
  1409. (Ramsey Haddad via Christine Poerschke)
  1410. * SOLR-11106: TestLBHttpSolrClient.testReliablity takes 30 seconds because of the wrong server name
  1411. (Kensho Hirasawa via Erick Erickson)
  1412. * SOLR-10338: Configure SecureRandom non blocking for tests. (Mihaly Toth, hossman, Ishan Chattopadhyaya, via Mark Miller)
  1413. * SOLR-10916: Convert tests that extend LuceneTestCase and use MiniSolrCloudCluster
  1414. to instead extend SolrCloudTestCase. (Steve Rowe)
  1415. * SOLR-11131: Document 'assert' as a command option in bin/solr, and bin/solr.cmd scripts.
  1416. (Jason Gerlowski via Anshum Gupta)
  1417. * SOLR-11140: Remove unused parameter in (private) SolrMetricManager.prepareCloudPlugins method.
  1418. (Omar Abdelnabi via Christine Poerschke)
  1419. * SOLR-11187: contrib/ltr TestModelManagerPersistence improvements. (Yuki Yano via Christine Poerschke)
  1420. * SOLR-10397: Port 'autoAddReplicas' feature to the autoscaling framework and make it work with non-shared filesystems
  1421. (Cao Manh Dat, shalin)
  1422. * SOLR-11157: remove-policy must fail if a policy to be deleted is used by a collection (noble)
  1423. * SOLR-11090: Add Replica.getProperty accessor. (Christine Poerschke)
  1424. * SOLR-11061: Add a spins metric for data directory paths. (ab)
  1425. * SOLR-11071: Improve TestIntervalFacets.testRandom (Tomás Fernández Löbbe)
  1426. * SOLR-11195: Require class attribute for shard and cluster metric reporter configuration. (Christine Poerschke)
  1427. * SOLR:10822: Share a Policy.session object between multiple collection admin calls to get the correct computations (noble)
  1428. * SOLR-11249: Upgrade Jetty from 9.3.14.v20161028 to 9.3.20.v20170531 (Michael Braun via David Smiley)
  1429. * SOLR-11270: Automatically added SystemLogListener should not prevent deleting a trigger. (ab)
  1430. * SOLR-5129: Timeout property for waiting ZK get started. (Cao Manh Dat, Hrishikesh Gadre, Varun Thacker)
  1431. * SOLR-10628: Less verbose output from bin/solr commands. (Jason Gerlowski, janhoy)
  1432. * SOLR-11240: Raise UnInvertedField internal limit. (Toke Eskildsen)
  1433. * SOLR-11254: Add score-less (abstract) DocTransformer.transform method. (Christine Poerschke)
  1434. * SOLR-11209: Upgrade HttpClient to 4.5.3. (Hrishikesh Gadre via Mark Miller)
  1435. * SOLR-11322: JSON Facet API: instead of returning NaN, min & max aggregations omit
  1436. the value for any bucket with no values in the numeric field. (yonik)
  1437. * SOLR-10990: Breakup QueryComponent.process method for readability. (Christine Poerschke)
  1438. * SOLR-11132: Refactor common getSortField logic in various FieldTypes (Jason Gerlowski, hossman)
  1439. * SOLR-11351: Make LTRScoringModel model more extensible. (Christine Poerschke)
  1440. * SOLR-10451: Remove contrib/ltr/lib from lib includes in the techproducts example config (sungjunyoung via janhoy)
  1441. * SOLR-11306: Fix inaccurate comments on docValues and StrField in the example schemas
  1442. (Tom Burton-West, Jason Gerlowski, Varun Thacker)
  1443. * SOLR-11482: RunExecutableListener was removed for security reasons. (Michael Stepankin,
  1444. Olga Barinova, Uwe Schindler, Tomás Fernández Löbbe)
  1445. * SOLR-10335: Upgrade to Tika 1.16. (Tim Allison, Tomás Fernández Löbbe via shalin)
  1446. ================== 7.0.1 ==================
  1447. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  1448. Versions of Major Components
  1449. ---------------------
  1450. Apache Tika 1.13
  1451. Carrot2 3.15.0
  1452. Velocity 1.7 and Velocity Tools 2.0
  1453. Apache UIMA 2.3.1
  1454. Apache ZooKeeper 3.4.10
  1455. Jetty 9.3.14.v20161028
  1456. Bug Fixes
  1457. ----------------------
  1458. * SOLR-11297: Message "Lock held by this virtual machine" during startup. Solr is trying to start some cores twice.
  1459. (Luiz Armesto, Shawn Heisey, Erick Erickson)
  1460. * SOLR-11406: Solr 7.0 cannot read indexes from 6.x versions. (Shawn Heisey, Steve Rowe)
  1461. ================== 7.0.0 ==================
  1462. Versions of Major Components
  1463. ---------------------
  1464. Apache Tika 1.13
  1465. Carrot2 3.15.0
  1466. Velocity 1.7 and Velocity Tools 2.0
  1467. Apache UIMA 2.3.1
  1468. Apache ZooKeeper 3.4.10
  1469. Jetty 9.3.14.v20161028
  1470. Upgrading from Solr 6.x
  1471. ----------------------
  1472. * All Trie* numeric and date field types have been deprecated in favor of *Point field types.
  1473. Point field types are better at range queries (speed, memory, disk), however simple field:value queries underperform
  1474. relative to Trie. Either accept this, or continue to use Trie fields.
  1475. This shortcoming may be addressed in a future release.
  1476. * The default response type is now JSON ("wt=json") instead of XML, and line indentation is now on by default
  1477. ("indent=on"). If you expect the responses to your queries to be returned in the previous format (XML
  1478. format, no indentation), you must now you must now explicitly pass in "wt=xml" and "indent=off" as query
  1479. parameters, or configure them as defaults on your request handlers. See SOLR-10494 for more details.
  1480. * the cluster property 'legacyCloud' is set to false from 7.0. This means 'zookeeper is the truth' by
  1481. default. If an entry for a replica does not exist in the state.json, that replica cannot get
  1482. registered. This may affect users who use that feature where they bring up replicas and they are
  1483. automatically registered as a part of a shard. However, it is possible to fall back to the old behavior by
  1484. setting the property legacyCloud=true , in the cluster properties using the following command
  1485. ./server/scripts/cloud-scripts/zkcli.sh -zkhost 127.0.0.1:2181 -cmd clusterprop -name legacyCloud -val true
  1486. * HttpClientInterceptorPlugin is now HttpClientBuilderPlugin and must work with a
  1487. SolrHttpClientBuilder rather than an HttpClientConfigurer.
  1488. * HttpClientUtil now allows configuring HttpClient instances via SolrHttpClientBuilder
  1489. rather than an HttpClientConfigurer. Use of env variable SOLR_AUTHENTICATION_CLIENT_CONFIGURER
  1490. no longer works, please use SOLR_AUTHENTICATION_CLIENT_BUILDER
  1491. * SolrClient implementations now use their own internal configuration for socket timeouts,
  1492. connect timeouts, and allowing redirects rather than what is set as the default when
  1493. building the HttpClient instance. Use the appropriate setters on the SolrClient instance.
  1494. * HttpSolrClient#setAllowCompression has been removed and compression must be enabled as
  1495. a constructor param.
  1496. * HttpSolrClient#setDefaultMaxConnectionsPerHost and
  1497. HttpSolrClient#setMaxTotalConnections have been removed. These now default very
  1498. high and can only be changed via param when creating an HttpClient instance.
  1499. * Query time join with scoring {!join score=none} (even none) doesn't handle single value numeric fields.
  1500. Users are advised to convert these fields into string and reindex.
  1501. * Deprecated collection and configset methods on MiniSolrCloudCluster have been
  1502. removed
  1503. * Index-time boosts are not supported anymore. If any boosts are provided, they
  1504. will be ignored by the indexing chain. As a replacement, index-time scoring
  1505. factors should be indexed in a separate field and combined with the query
  1506. score using a function query.
  1507. * Deprecated method getNumericType() has been removed from FieldType. Use getNumberType() instead
  1508. * MBean names and attributes now follow hierarchical names used in metrics. This is reflected also in
  1509. /admin/mbeans and /admin/plugins output, and can be observed in the UI Plugins tab, because now all these
  1510. APIs get their data from the metrics API. The old (mostly flat) JMX view has been removed.
  1511. * <jmx> element in solrconfig.xml is no longer supported. Equivalent functionality can be configured in
  1512. solr.xml using <metrics><reporter ...> element and SolrJmxReporter implementation. Limited back-compatibility
  1513. is offered by automatically adding a default instance of SolrJmxReporter if it's missing, AND when a local
  1514. MBean server is found (which can be activated either via ENABLE_REMOTE_JMX_OPTS in solr.in.sh or via system
  1515. properties, eg. -Dcom.sun.management.jmxremote). This default instance exports all Solr metrics from all
  1516. registries as hierarchical MBeans. This behavior can be also disabled by specifying a SolrJmxReporter
  1517. configuration with a boolean init arg "enabled" set to "false". For a more fine-grained control users
  1518. should explicitly specify at least one SolrJmxReporter configuration.
  1519. * The sow (split-on-whitespace) request param now defaults to false (true in previous versions).
  1520. This affects the edismax and standard/"lucene" query parsers: if the sow param is not specified,
  1521. query text will not be split on whitespace before analysis. See
  1522. https://lucidworks.com/2017/04/18/multi-word-synonyms-solr-adds-query-time-support/ .
  1523. * Setting <solrQueryParser defaultOperator="..."/> in schema is no longer allowed and will cause an exception.
  1524. Please use "q.op" parameter on the request instead. For more details, see SOLR-10584.
  1525. * Setting <defaultSearchField> in schema is no longer allowed and will cause an exception.
  1526. Please use "df" parameter on the request instead. For more details, see SOLR-10585.
  1527. * The PostingsSolrHighlighter is deprecated. Furthermore, it now internally works via a re-configuration
  1528. of the UnifiedSolrHighlighter.
  1529. * Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType.
  1530. Instead, switch to LatLonPointSpatialField or SpatialRecursivePrefixTreeFieldType or RptWithGeometrySpatialField.
  1531. * The 'lucenePlusSort' QParser has been deprecated, and is no longer implicitly defined. If you wish to continue using
  1532. this QParser untill Solr 8, you must explicitly register it in your solrconfig.xml:
  1533. '<queryParser name="lucenePlusSort" class="solr.OldLuceneQParserPlugin"/>'
  1534. * In solrconfig.xml the deprecated <mergePolicy> and <mergeFactor> and <maxMergeDocs> elements have
  1535. been removed in favor of the <mergePolicyFactory> element introduced by SOLR-8621 in Solr 5.5.0.
  1536. * Custom SolrMetricReporter classes must implement a new, factored out doInit() method and the validate() method
  1537. must pass for all reporters including reporters that are not enabled, please see SOLR-10671 for details.
  1538. * TemplateUpdateRequestProcessorFactory uses {} instead of ${} for template
  1539. * SOLR-9565: The name of TemplateUpdateRequestProcessorFactory' is changed to 'template' from 'Template' and the
  1540. name of 'AtomicUpdateProcessorFactory' is changed to 'atomic' from 'Atomic'
  1541. * The default for eDismax parameter 'lowercaseOperators' now depends on the luceneMatchVersion setting in solrconfig.
  1542. It remains 'true' for luceneMatchVersion < 7.0.0 and changes to 'false' from 7.0.0. See also SOLR-4646
  1543. * The unused 'valType' option has been removed from ExternalFileField, if you have this in your schema you
  1544. can safely remove it. see SOLR-10929 for more details.
  1545. * Config sets basic_configs and data_driven_schema_configs have now been merged into _default. It has data driven nature
  1546. enabled by default, and can be turned off (after creating a collection) with:
  1547. curl http://host:8983/solr/mycollection/config -d '{"set-user-property": {"update.autoCreateFields":"false"}}'
  1548. Please see SOLR-10574 for details.
  1549. * The data driven config (now _default) for auto-creating fields earlier defaulted to "string" for text input.
  1550. Now the default is to use "text_general" and to add a copyField to the schema, copying to a "*_str" dynamic field,
  1551. with a cutoff at 256 characters. This enables full text search as well as faceting. See SOLR-9526 for more.
  1552. * SOLR-10123: The Analytics Component has been upgraded to support distributed collections, expressions over multivalued
  1553. fields, a new JSON request language, and more. DocValues are now required for any field used in the analytics expression
  1554. whereas previously docValues was not required. Please see SOLR-10123 for details.
  1555. * solrconfig.xml: <requestDispatcher handleSelect="..."> now defaults to false when luceneMatchVersion >= 7.0,
  1556. thus ignoring "qt". Regardless, "qt" is still used as a SolrJ special parameter that specifies the request handler
  1557. (tail URL path) to use. If you have request handlers without a leading '/', you can set handleSelect="true"
  1558. or better yet consider migrating.
  1559. * StandardRequestHandler is deprecated. Simply use SearchHandler instead.
  1560. * The parameter names 'fromNode' for MOVEREPLICA and 'source', 'target' for REPLACENODE have been deprecated and
  1561. replaced with 'sourceNode' and 'targetNode' instead. The old names will continue to work for back-compatibility
  1562. but they will be removed in 8.0. See SOLR-11068 for more details.
  1563. * All deperated methods of ClusterState (except getZkClusterStateVersion())
  1564. have been removed. Use DocCollection methods instead.
  1565. * SOLR-11023: EnumField has been deprecated in favor of new EnumFieldType.
  1566. * SOLR-11239: The use of maxShardsPerNode is not supported when a cluster policy is in effect or
  1567. when a collection specific policy is specified during collection creation.
  1568. * V2 APIs are now available at /api, in addition to /v2 (which is now deprecated). Legacy APIs continue to remain
  1569. available at /solr.
  1570. * Solr was tested and is compatible with the final release candidate of Java 9. All startup scripts
  1571. detect Java 9 correctly and setup Garbage Collector logging. If the configuration file contains
  1572. logging options that are no longer supported with Java 9, startup will fail.
  1573. * SOLR-10307: If starting Jetty without the Solr start script, you must now pass keystore and truststore
  1574. passwords via the env variables SOLR_SSL_KEY_STORE_PASSWORD and SOLR_SSL_TRUST_STORE_PASSWORD rather
  1575. than system properties.
  1576. * SOLR-10379: ManagedSynonymFilterFactory has been deprecated in favor of ManagedSynonymGraphFilterFactory.
  1577. * SOLR-10503: CurrencyField has been deprecated in favor of new CurrencyFieldType.
  1578. New Features
  1579. ----------------------
  1580. * SOLR-9857, SOLR-9858: Collect aggregated metrics from nodes and shard leaders in overseer. (ab)
  1581. * SOLR-9835: Create another replication mode for SolrCloud
  1582. * SOLR-10356: Adds basic math Streaming Evaluators (Dennis Gove)
  1583. * SOLR-10393: Adds UUID Streaming Evaluator (Dennis Gove)
  1584. * SOLR-10046: Add UninvertDocValuesMergePolicyFactory class. (Keith Laban, Christine Poerschke)
  1585. * SOLR-10547: JSON Facet API: Implement support for single-valued string fields for min/max aggregations.
  1586. (yonik)
  1587. * SOLR-10262: Add support for configurable metrics implementations. (ab)
  1588. * SOLR-10431: Make it possible to invoke v2 api calls using SolrJ (Cao Manh Dat, Noble Paul, shalin)
  1589. * SOLR-10233: Add support for different replica types, that can handle updates differently:
  1590. - NRT: Writes updates to transaction log and indexes locally. Replicas of type “NRT” support NRT
  1591. (soft commits) and RTG. Any NRT replica can become a leader. This was the only type supported
  1592. in SolrCloud until now and it’s the default type.
  1593. - TLOG: Writes to transaction log, but not to index, uses replication to copy segment files from the
  1594. shard leader. Any TLOG replica can become leader (by first applying all local transaction log
  1595. elements). If a replica is of type TLOG but is also the leader, it will behave as a NRT. This
  1596. is exactly what was added in SOLR-9835 (non-realtime replicas), just the API and naming changes.
  1597. - PULL: Doesn’t index or writes to transaction log, just replicates from the shard leader. PULL replicas
  1598. can’t become shard leaders (i.e., if there are only PULL replicas in the collection at some point,
  1599. updates will fail same as if there is no leaders, queries continue to work), so they don’t even
  1600. participate in elections.
  1601. (Tomás Fernández Löbbe)
  1602. * SOLR-10278: A new DSL to set cluster-wide preferences and policies on how to allocate replicas to nodes
  1603. (noble, shalin)
  1604. * SOLR-10373: Implement read API for autoscaling configuration at /admin/autoscaling or
  1605. /cluster/autoscaling paths. (shalin)
  1606. * SOLR-10677: Expose a diagnostics API to return nodes sorted by load in descending order and
  1607. any policy violations. (shalin)
  1608. * SOLR-7452: Refinement for JSON Facet API: Adding refine:true to any terms facet will cause an
  1609. additional distributed search phase (overlapped with field retrieval) that requests additional info
  1610. for top facet buckets from shards that did not previously contribute to that bucket.
  1611. This will correct counts (and other statistics) for those top buckets collected in the first
  1612. phase. (yonik)
  1613. * SOLR-10433: CollectionAdmin requests in SolrJ to support V2 calls (noble)
  1614. * SOLR-9989: Add support for PointFields in FacetModule (JSON Facets) (Cao Manh Dat)
  1615. * SOLR-10406: v2 API error messages list the URL request path as /solr/____v2/... when the original path was /v2/... (Cao Manh Dat, noble)
  1616. * SOLR-10574: New _default config set replacing basic_configs and data_driven_schema_configs.
  1617. (Ishan Chattopadhyaya, noble, shalin, hossman, David Smiley, janhoy, Alexandre Rafalovitch)
  1618. * SOLR-10272: Use _default config set if no collection.configName is specified with CREATE (Ishan Chattopadhyaya)
  1619. * SOLR-9526: Data driven schema now indexes text field "foo" as both "foo" (text_general) and as "foo_str" (string)
  1620. to facilitate both search and faceting. AddSchemaFieldsUpdateProcessor now has the ability to add a "copyField" to
  1621. the type mappings, with an optional maxChars limitation. You can also define one typeMappings as default.
  1622. This also solves issues SOLR-8495, SOLR-6966, and SOLR-7058
  1623. (janhoy, Steve Rowe, hossman, Alexandre Rafalovitch, Shawn Heisey, Cao Manh Dat)
  1624. * SOLR-10123: Upgraded the Analytics Component to version 2.0 which now supports distributed collections, expressions over
  1625. multivalued fields, a new JSON request language, and more. DocValues are now required for any field used in the analytics
  1626. expression whereas previously docValues was not required. Please see SOLR-10123 for details. (Houston Putman)
  1627. * SOLR-10282: bin/solr support for enabling Kerberos authentication (Ishan Chattopadhyaya, Jason Gerlowski)
  1628. * SOLR-11093: Add support for PointFields for {!graph} query. (yonik)
  1629. * SOLR-10845: Add support for PointFields to {!graphTerms} query that is internally
  1630. used by some graph traversal streaming expressions. (yonik)
  1631. * SOLR-10939: Add support for PointsFields to {!join} query. Joined fields should
  1632. also have docValues enabled. (yonik)
  1633. * SOLR-11173 TermsComponent support for Points fields. (yonik)
  1634. * SOLR-10849: MoreLikeThisComponent should expose setMaxDocFreqPct (maxDoc
  1635. frequency percentage). (Dawid Weiss)
  1636. * SOLR-10307: Allow Passing SSL passwords through environment variables. (Mano Kovacs, Michael Suzuki via Mark Miller)
  1637. * SOLR-10379: Add ManagedSynonymGraphFilterFactory, deprecate ManagedSynonymFilterFactory. (Steve Rowe)
  1638. * SOLR-10479: Adds support for HttpShardHandlerFactory.loadBalancerRequests(MinimumAbsolute|MaximumFraction)
  1639. configuration. (Ramsey Haddad, Daniel Collins, Christine Poerschke)
  1640. * SOLR-3702: concat(...) function query (Andrey Kudryavtsev via Mikhail Khludnev)
  1641. * SOLR-10767: Add movingAvg Stream Evaluator (Joel Bernstein)
  1642. * SOLR-10813: Add arraySort Stream Evaluator (Joel Bernstein)
  1643. * SOLR-10696: Add cumulative probability function (Joel Bernstein)
  1644. * SOLR-10765: Add anova Stream Evaluator (Joel Bernstein)
  1645. * SOLR-10754: Add hist Stream Evaluator (Joel Bernstein)
  1646. * SOLR-10753: Add array Stream Evaluator (Joel Bernstein)
  1647. * SOLR-10747: Allow /stream handler to execute Stream Evaluators directly (Joel Bernstein)
  1648. * SOLR-10743: Add sequence StreamEvaluator (Joel Bernstein)
  1649. * SOLR-10684: Add finddelay Stream Evaluator (Joel Bernstein)
  1650. * SOLR-10731: Add knn Streaming Expression (Joel Bernstein)
  1651. * SOLR-10724: Add describe Stream Evaluator (Joel Bernstein)
  1652. * SOLR-10693: Add copyOfRange Stream Evaluator (Joel Bernstein)
  1653. * SOLR-10623: Add sql Streaming Expression (Joel Bernstein)
  1654. * SOLR-10661: Add copyOf Stream Evaluator (Joel Bernstein)
  1655. * SOLR-10663: Add distance Stream Evaluator (Joel Bernstein)
  1656. * SOLR-10664: Add scale Stream Evaluator (Joel Bernstein)
  1657. * SOLR-10666: Add rank transformation Stream Evaluator (Joel Bernstein)
  1658. * SOLR-10662: Add length Stream Evaluator (Joel Bernstein)
  1659. * SOLR-10660: Add reverse Stream Evaluator (Joel Bernstein)
  1660. * SOLR-9910: Add solr/solr.cmd parameter to append jetty parameters to the start script.
  1661. (Mano Kovacs via Mark Miller)
  1662. * SOLR-6671: Possible to set solr.data.home property as root dir for all data (janhoy, Shawn Heisey, Mark Miller)
  1663. Bug Fixes
  1664. ----------------------
  1665. * SOLR-9262: Connection and read timeouts are being ignored by UpdateShardHandler after SOLR-4509.
  1666. (Mark Miller, shalin)
  1667. * SOLR-9837: Fix 55% performance regression of FieldCache uninvert time of
  1668. numeric fields. (yonik)
  1669. * SOLR-10408: v2 API introspect should return useful message for non-existent command (Cao Manh Dat)
  1670. * SOLR-10411: v2 Collection API "modify" command specification's replicationFactor property is incorrectly typed as string,
  1671. should be integer (Cao Manh Dat)
  1672. * SOLR-10405: v2 API introspect response contains multiple copies of the experimental format WARNING (Cao Manh Dat)
  1673. * SOLR-10412: v2 API: many API command specification properties are typed "number" but should instead be typed "integer"
  1674. (Steve Rowe, Cao Manh Dat)
  1675. * SOLR-10413: v2 API: parsed JSON type should be coerced to expected type (Cao Manh Dat, Noble Paul)
  1676. * SOLR-10223: Allow running examples as root on Linux with -force option (janhoy)
  1677. * SOLR-10830: Solr now correctly enforces that the '_root_' field has the same fieldType as the
  1678. uniqueKey field. With out this enforcement, child document updating was unreliable. (hossman)
  1679. * SOLR-10876: Regression in loading runtime UpdateRequestProcessors like TemplateUpdateProcessorFactory (noble)
  1680. * SOLR-10886: Using V2Request.process(solrClient) method throws NPE if the API returns an error (Cao Manh Dat)
  1681. * SOLR-10921: Work around the static Lucene BooleanQuery.maxClauseCount that causes Solr's maxBooleanClauses
  1682. setting behavior to be "last core wins". This patch sets BooleanQuery.maxClauseCount to its maximum value,
  1683. thus disabling the global check, and replaces it with specific checks where desired via
  1684. QueryUtils.build(). (yonik)
  1685. * SOLR-10948: Fix extraction component to treat DatePointField the same as TrieDateField (hossman)
  1686. * SOLR-10506: Fix memory leak (upon collection reload or ZooKeeper session expiry) in ZkIndexSchemaReader.
  1687. (Torsten Bøgh Köster, Christine Poerschke, Jörg Rathlev, Mike Drob)
  1688. * SOLR-6807: CloudSolrClient's ZK state version check with the server was ignored when handleSelect=false
  1689. (David Smiley)
  1690. * SOLR-10878: MOVEREPLICA command may lose data when replicationFactor is 1. (ab, shalin)
  1691. * SOLR-10879: DELETEREPLICA and DELETENODE commands should prevent data loss when
  1692. replicationFactor is 1. (ab)
  1693. * SOLR-10983: Fix DOWNNODE -> queue-work explosion (Scott Blum, Joshua Humphries)
  1694. * SOLR-10826: Fix CloudSolrClient to expand the collection parameter correctly (Tim Owen via Varun Thacker)
  1695. * SOLR-11039: Next button in Solr admin UI for collection list pagination does not work. (janhoy)
  1696. * SOLR-11041: MoveReplicaCmd do not specify ulog dir in case of HDFS (Cao Manh Dat)
  1697. * SOLR-11045: The new replica created by MoveReplica will have to have same name and coreName as the
  1698. old one in case of HDFS (Cao Manh Dat)
  1699. * SOLR-11043: Fix facet.range.method=dv and interval facets on single-valued float fields with negative values.
  1700. (Tomás Fernández Löbbe, Steve Rowe)
  1701. * SOLR-11073: Fix overflow in interval faceting when querying Long limits (e.g. (Long.MAX_VALUE TO Long.MAX_VALUE])
  1702. (Tomás Fernández Löbbe)
  1703. * SOLR-11057: Fix overflow in point range queries when querying the type limits
  1704. (e.g. q=field_i:{Integer.MAX_VALUE TO Integer.MAX_VALUE]) (Tomás Fernández Löbbe)
  1705. * SOLR-11136: Fix solrj XMLResponseParser when nested docs transformer is used with indented XML (hossman)
  1706. * SOLR-11130: V2Request in SolrJ should return the correct collection name so that the request is forwarded to the
  1707. correct node (noble)
  1708. * SOLR-11151: SolrInfoMBeanHandler.getDiff() ADD case non-functional: NPE when a bean value goes from null -> non-null.
  1709. (Steve Rowe)
  1710. * SOLR-11154: Child documents' return fields now include useDocValuesAsStored fields (Mohammed Sheeri Shaketi Nauage via
  1711. Ishan Chattopadhyaya)
  1712. * SOLR-11163: Fix contrib/ltr Normalizer persistence after solr core reload or restart.
  1713. (Yuki Yano via Christine Poerschke)
  1714. * SOLR-11182: A split shard failure on IOException should be logged (Varun Thacker)
  1715. * SOLR-10353: TestSQLHandler reproducible failure: No match found for function signature min(<NUMERIC>) (Kevin Risden)
  1716. * SOLR-11221: SolrJmxReporter broken on core reload. This resulted in some or most metrics not being reported
  1717. via JMX after core reloads, depending on timing. (ab)
  1718. * SOLR-11235: Some SolrCore metrics should check if core is closed before reporting. (ab)
  1719. * SOLR-10698: StreamHandler should allow connections to be closed early (Joel Bernstein, Varun Thacker, Erick Erickson)
  1720. * SOLR-11243: Replica Placement rules are ignored if a cluster policy exists. (shalin)
  1721. * SOLR-11268: AtomicUpdateProcessor complains missing UpdateLog (noble, Ishan Chattopadhyaya)
  1722. * SOLR-8689: Fix bin/solr.cmd so it can run properly on Java 9 (Uwe Schindler, hossman)
  1723. * SOLR-10723 JSON Facet API: resize() implemented incorrectly for CountSlotAcc, HllAgg.NumericAcc
  1724. resulting in exceptions when using a hashing faceting method and sorting by hll(numeric_field).
  1725. (yonik)
  1726. * SOLR-10719: Creating a core.properties fails if the parent of core.properties is a symlinked dierctory
  1727. (Erick Erickson)
  1728. * SOLR-10360: Solr HDFS snapshot export fails due to FileNotFoundException error when using MR1 instead of
  1729. yarn. (Hrishikesh via Mark Miller)
  1730. * SOLR-10137: Ensure that ConfigSets created via API are mutable. (Hrishikesh via Mark Miller)
  1731. * SOLR-10829: Fixed IndexSchema to enforce that uniqueKey can not be Points based for correctness (hossman)
  1732. * SOLR-10836: The query parsers igain, significantTerms, and tlogit (used by streaming expressions by
  1733. the same name) might throw a NullPointerException if the referenced field had no indexed data in some
  1734. shards. The fix included an optimization to use Solr's cached AtomicReader instead of re-calculating.
  1735. (David Smiley)
  1736. * SOLR-10715: /v2/ should not be an alias for /v2/collections (Cao Manh Dat)
  1737. * SOLR-10835: Add support for point fields in Export Handler (Tomás Fernández Löbbe)
  1738. * SOLR-10704: REPLACENODE may cause data loss when replicationFactor is 1. (ab, shalin)
  1739. * SOLR-10833: Point numeric fields should throw SolrException(BAD_REQUEST) for malformed numbers in queries.
  1740. Trie numeric fields should throw SolrException(BAD_REQUEST) for malformed docValues range queries.
  1741. (hossman, Tomás Fernández Löbbe)
  1742. * SOLR-10832: Fixed VersionInfo.getMaxVersionFromIndex when using PointsField with indexed="true" (hossman)
  1743. * SOLR-10763: Admin UI replication tab sometimes empty when failed replications (janhoy, Bojan Vitnik)
  1744. * SOLR-10824: fix NPE ExactSharedStatsCache, fixing maxdocs skew for terms which are absent at one of shards
  1745. when using one of Exact*StatsCache (Mikhail Khludnev)
  1746. * SOLR-10963: Fix example json in MultipleAdditiveTreesModel javadocs.
  1747. (Stefan Langenmaier via Christine Poerschke)
  1748. * SOLR-10914: RecoveryStrategy's sendPrepRecoveryCmd can get stuck for 5 minutes if leader is unloaded. (shalin)
  1749. * SOLR-11198: downconfig downloads empty file as folder (Erick Erickson)
  1750. Optimizations
  1751. ----------------------
  1752. * SOLR-4509: Move to non deprecated HttpClient impl classes to remove stale connection
  1753. check on every request and move connection lifecycle management towards the client.
  1754. (Ryan Zezeski, Mark Miller, Shawn Heisey, Steve Davids)
  1755. * SOLR-9255: Rename SOLR_AUTHENTICATION_CLIENT_CONFIGURER -> SOLR_AUTHENTICATION_CLIENT_BUILDER (janhoy)
  1756. * SOLR-9579: Make Solr's SchemaField implement Lucene's IndexableFieldType, removing the
  1757. creation of a Lucene FieldType every time a field is indexed. (John Call, yonik)
  1758. * SOLR-9822: JSON Facet API: Recover performance lost due to the DocValues transition to
  1759. an iterator API (LUCENE-7407). This only fixes calculating counts for single-valued
  1760. string fields from the FieldCache, resulting in up to 56% better throughput for those cases.
  1761. (yonik)
  1762. * SOLR-10727: Avoid polluting the filter cache for certain types of faceting (typically ranges) when
  1763. the base docset is empty. (David Smiley)
  1764. * SOLR-11070: Make docValues range queries behave the same as Trie/Point fields for Double/Float Infinity cases
  1765. (Tomás Fernández Löbbe, Andrey Kudryavtsev)
  1766. * SOLR-10634: JSON Facet API: When a field/terms facet will retrieve all buckets (i.e. limit:-1)
  1767. and there are no nested facets, aggregations are computed in the first collection phase
  1768. so that the second phase which would normally involve calculating the domain for the bucket
  1769. can be skipped entirely, leading to large performance improvements. (yonik)
  1770. * SOLR-10722: Speed up Solr's use of the UnifiedHighlighter be re-using FieldInfos. (David Smiley)
  1771. Other Changes
  1772. ----------------------
  1773. * SOLR-10236: Removed FieldType.getNumericType(). Use getNumberType() instead. (Tomás Fernández Löbbe)
  1774. * SOLR-10347: Removed index level boost support from "documents" section of the admin UI (Amrit Sarkar via
  1775. Tomás Fernández Löbbe)
  1776. * SOLR-9959: SolrInfoMBean category and hierarchy cleanup. Per-component statistics are now obtained from
  1777. the metrics API, legacy JMX support has been replaced with SolrJmxReporter functionality. Several reporter
  1778. improvements (support for multiple prefix filters, "enabled" flag, reuse of service clients). (ab)
  1779. * SOLR-10418: Expose safe system properties via metrics API as 'system.properties' in 'solr.jvm' group.
  1780. Add support for selecting specific properties from any compound metric using 'property' parameter to
  1781. /admin/metrics handler. (ab)
  1782. * SOLR-10557: Make "compact" format default for /admin/metrics. (ab)
  1783. * SOLR-10310: By default, stop splitting on whitespace prior to analysis
  1784. in edismax and standard/"lucene" query parsers. (Steve Rowe)
  1785. * SOLR-10647: Move the V1 <-> V2 API mapping to SolrJ (noble)
  1786. * SOLR-10584: We'll now always throw an exception if defaultOperator is found in schema. This config has
  1787. been deprecated since 3.6, and enforced for new configs since 6.6 (janhoy)
  1788. * SOLR-10585: We'll now always throw an exception if defaultSearchField is found in schema. This config has
  1789. been deprecated since 3.6, and enforced for new configs since 6.6 (janhoy, David Smiley)
  1790. * SOLR-10414: RecoveryStrategy is now a Runnable instead of a Thread. (Tomás Fernández Löbbe)
  1791. * SOLR-10042: Delete old deprecated Admin UI, leaving the AngularJS UI the only one supported (janhoy)
  1792. * SOLR-10378: Clicking Solr logo on AdminUI shows blank page (Takumi Yoshida via janhoy)
  1793. * SOLR-10700: Deprecated and converted the PostingsSolrHighlighter to extend UnifiedSolrHighlighter and thus no
  1794. longer use the PostingsHighlighter. It should behave mostly the same. (David Smiley)
  1795. * SOLR-10710: Fix LTR failing tests. (Diego Ceccarelli via Tomás Fernández Löbbe)
  1796. * SOLR-10755: delete/refactor many solrj deprecations (hossman)
  1797. * SOLR-10752: replicationFactor (nrtReplicas) default is 0 if tlogReplicas is specified when creating a collection
  1798. (Tomás Fernández Löbbe)
  1799. * SOLR-10757: delete/refactor/cleanup CollectionAdminRequest deprecations (hossman)
  1800. * SOLR-10793: BlobHandler should have a well-known permission name (noble)
  1801. * SOLR-10744: Update noggit to newer version (0.8) (noble)
  1802. * SOLR-10792: Deprecate and remove implicit registration of "lucenePlusSort" aka OldLuceneQParser (hossman)
  1803. * SOLR-10791: Remove deprecated options in SSLTestConfig (hossman)
  1804. * LUCENE-7852: Correct copyright year(s) in solr/LICENSE.txt file.
  1805. (Christine Poerschke, Steve Rowe)
  1806. * SOLR-8668: In solrconfig.xml remove <mergePolicy> (and related <mergeFactor> and <maxMergeDocs>)
  1807. support in favor of the <mergePolicyFactory> element introduced by SOLR-8621 in Solr 5.5.0.
  1808. (Christine Poerschke, hossman)
  1809. * SOLR-10799: Extracted functionality to collect eligible replicas from HttpShardHandler.prepDistributed()
  1810. to a new method (Domenico Fabio Marino via Tomás Fernández Löbbe)
  1811. * SOLR-10801: Remove several deprecated methods that were exposed to plugin writers (hossman)
  1812. * SOLR-10671: Add abstract doInit method to the SolrMetricReporter base class.
  1813. (Christine Poerschke, Anshum Gupta)
  1814. * SOLR-10713: Ignore .pid and .out files in solr working directory (Jason Gerlowski via Mike Drob)
  1815. * SOLR-10764: AutoScalingHandler should validate policy and preferences before updating zookeeper. (shalin)
  1816. * SOLR-10782: Improve error handling and tests for Snitch and subclasses and general cleanups. (Noble Paul, shalin)
  1817. * SOLR-10419: All collection APIs should use the new Policy framework for replica placement. (Noble Paul, shalin)
  1818. * SOLR-10800: Factor out HttpShardHandler.transformReplicasToShardUrls from HttpShardHandler.prepDistributed.
  1819. (Domenico Fabio Marino, Christine Poerschke)
  1820. * SOLR-10779: JavaBinCodec should use close consistently rather than having marshal() and close() call finish()
  1821. (which closes the underlying stream). (Erick Erickson)
  1822. * SOLR-9623: Disable remote streaming in example configs by default. Adjust Upload Limit defaults (janhoy, yonik)
  1823. * SOLR-4646: eDismax lowercaseOperators now defaults to "false" for luceneMatchVersion >= 7.0.0 (janhoy, David Smiley)
  1824. * SOLR-8256: Set legacyCloud=false as default (Cao Manh Dat)
  1825. * SOLR-10929: Removed unused 'valType' option from ExternalFileField (hossman)
  1826. * SOLR-10864: Simplified how Trie vs Points based numerics are randomized by SolrTestCaseJ4 by adding a static
  1827. option to PointsField to ignore 'precisionStep' attribute. This change also begins to attempt to randomize
  1828. 'docValues' on numeric field types unless tests explicity enable/disable them. (hossman, Steve Rowe)
  1829. * LUCENE-7883: Solr no longer uses the context class loader when resolving
  1830. resources, they are only resolved against Solr's own or "core" class loader
  1831. by default. (Uwe Schindler)
  1832. * SOLR-10915: Make builder based SolrClient constructors to be the only valid way to construct client objects and
  1833. increase the visibility of builder elements to be protected so extending the builder, and the clients is possible.
  1834. (Jason Gerlowski, Anshum Gupta)
  1835. * SOLR-10823: Add reporting period to SolrMetricReporter base class. (Christine Poerschke)
  1836. * SOLR-10807: Randomize Points based numeric field types in all existing tests & test schemas
  1837. where Trie numerics were previously hardcoded. (hossman, Steve Rowe, Anshum Gupta)
  1838. * SOLR-6807: Changed requestDispatcher's handleSelect to default to false, thus ignoring "qt".
  1839. Simplified configs to not refer to handleSelect or "qt". Switch all tests that assumed true to assume false
  1840. (added leading '/' in request handlers). Switch all tests referring to "standard" request handler to
  1841. instead refer to "/select" with SearchHandler. Deprecated the old StandardRequestHandler. (David Smiley)
  1842. * SOLR-10456: Deprecate timeout related setters from SolrClients, and replace with Builder based implementation
  1843. (Jason Gerlowski, Anshum Gupta)
  1844. * SOLR-11004: Consolidate SolrClient builder code in an abstract base class (Jason Gerlowski, Anshum Gupta)
  1845. * SOLR-10967: Cleanup the default configset. The changes involve some documentation corrections, removing the currency
  1846. field from the examples and a few dynamic fields (Varun Thacker)
  1847. * SOLR-11016: Fix TestCloudJSONFacetJoinDomain test-only bug (hossman)
  1848. * SOLR-11021: The elevate.xml config-file is made optional in the ElevationComponent.
  1849. The default configset doesn't ship with a elevate.xml file anymore (Varun Thacker)
  1850. * SOLR-10898: Fix SOLR-10898 to not deterministicly fail 1/512 runs (hossman)
  1851. * SOLR-10796: TestPointFields: increase randomized testing of non-trivial values. (Steve Rowe)
  1852. * SOLR-11068: MOVEREPLICA and REPLACENODE API parameter names are now 'sourceNode' and 'targetNode'. The old names
  1853. viz. 'fromNode' for MOVEREPLICA and 'source', 'target' for REPLACENODE have been deprecated. (shalin)
  1854. * SOLR-11088: Fix sporadic failures of MetricsHandlerTest.testPropertyFilter on jenkins (shalin)
  1855. * SOLR-11037: Refactor to provide NodeConfig.getSolrDataHome internal API. (ab, janhoy, shalin)
  1856. * SOLR-11119: Switch from Trie to Points field types in the .system collection schema. (Steve Rowe)
  1857. * SOLR-10494: Make default response format JSON (wt=json), and also indent text responses formats
  1858. (indent=on) by default (Trey Grainger & Cassandra Targett via hossman)
  1859. * SOLR-10760,SOLR-11315,SOLR-11313: Remove trie field types and fields from example schemas. (Steve Rowe)
  1860. * SOLR-11056: Add random range query test that compares results across Trie*, *Point and DocValue-only fields
  1861. (Tomás Fernández Löbbe)
  1862. * SOLR-10926: Increase the odds of randomly choosing point fields in our SolrTestCaseJ4 numeric type randomization.
  1863. (hossman, Steve Rowe)
  1864. * SOLR-10846: ExternalFileField/FloatFieldSource should throw a clear exception on initialization with
  1865. a Points-based keyField, which is not supported. (hossman, Steve Rowe)
  1866. * SOLR-11155: /analysis/field and /analysis/document requests should support points fields.
  1867. (Jason Gerlowski, Steve Rowe)
  1868. * SOLR-10756: Undeprecate ZkStateReader.updateClusterState(), mark as @lucene.internal, and rename to
  1869. forciblyRefreshAllClusterStateSlow(). (hossman, shalin, Steve Rowe)
  1870. * SOLR-11036: Separately report disk space metrics for solr.data.home and core root directory. (ab)
  1871. * SOLR-10919: ord & rord functions give confusing errors with PointFields. (hossman, Steve Rowe)
  1872. * SOLR-10847: Provide a clear exception when attempting to use the terms component with points fields.
  1873. (hossman, Steve Rowe)
  1874. * SOLR-9321: Remove deprecated methods of ClusterState. (Jason Gerlowski, ishan, Cao Manh Dat)
  1875. * SOLR-10033: When attempting to facet with facet.mincount=0 over points fields, raise mincount to 1
  1876. and log a warning. (Steve Rowe)
  1877. * SOLR-11178: Change error handling in AutoScalingHandler to be consistent w/ other APIs (noble)
  1878. * SOLR-11023: Added EnumFieldType, a non-Trie-based version of EnumField, and deprecated EnumField
  1879. in favor of EnumFieldType. (hossman, Steve Rowe)
  1880. * SOLR-10803: Mark all Trie/LegacyNumeric based fields @deprecated in Solr7. (Steve Rowe)
  1881. * SOLR-10821: Ref guide documentation for Autoscaling (Noble Paul, Cassandra Targett, shalin)
  1882. * SOLR-11239: A special value of -1 can be specified for 'maxShardsPerNode' to denote that
  1883. there is no limit. The bin/solr script send maxShardsPerNode=-1 when creating collections. The
  1884. use of maxShardsPerNode is not supported when a cluster policy is in effect or when a
  1885. collection specific policy is specified during collection creation.
  1886. (Noble Paul, shalin)
  1887. * SOLR-11183: V2 APIs are now available at /api endpoint. (Ishan Chattopadhyaya)
  1888. * SOLR-10617: JDBCStream accepts columns of type TIME, DATE & TIMESTAMP as well as CLOBs and decimal
  1889. numeric types (James Dyer)
  1890. * SOLR-10400: Replace (instanceof TrieFooField || instanceof FooPointField) constructs with
  1891. FieldType.getNumberType() or SchemaField.getSortField() where appropriate. (hossman, Steve Rowe)
  1892. * SOLR-10438: Assign explicit useDocValuesAsStored values to all points field types in
  1893. schema-point.xml/TestPointFields. (hossman, Steve Rowe)
  1894. * LUCENE-7705: Allow CharTokenizer-derived tokenizers and KeywordTokenizer to configure the max token length.
  1895. (Amrit Sarkar via Erick Erickson)
  1896. * SOLR-10659: Remove ResponseBuilder.getSortSpec use in SearchGroupShardResponseProcessor.
  1897. (Judith Silverman via Christine Poerschke)
  1898. * SOLR-10741: Factor out createSliceShardsStr method from HttpShardHandler.prepDistributed.
  1899. (Domenico Fabio Marino via Christine Poerschke)
  1900. * SOLR-10790: Fix warnings in Assign.java and ReplicaAssigner.java classes.
  1901. (Christine Poerschke)
  1902. * SOLR-8437: Improve RAMDirectory details in sample solrconfig files (Mark Miller, Varun Thacker)
  1903. * SOLR-8762: return child docs in DIH debug (Gopikannan Venugopalsamy via Mikhail Khludnev)
  1904. * SOLR-10501: Test sortMissing{First,Last} with points fields. (Steve Rowe)
  1905. * SOLR-10761: Switch trie numeric/date fields to points in data-driven-enabled example and test schemas.
  1906. (Steve Rowe)
  1907. * SOLR-10851: SolrClients should clarify expectations for solrServerUrl parameter (Jason Gerlowski
  1908. via Tomás Fernández Löbbe)
  1909. * SOLR-10891: BBoxField should support point-based number sub-fields. (Steve Rowe)
  1910. * SOLR-10834: Fixed tests and test configs to stop using numeric uniqueKey fields (hossman)
  1911. * SOLR-10883: Ref guide: Escape replacement substitutions, e.g. => to right arrow, so that they are
  1912. rendered visibly in the PDF. Also add .adoc file checks to the top-level validate target, including
  1913. for the invisible substitutions PDF problem. (Steve Rowe)
  1914. * SOLR-10503,SOLR-10502: Deprecate CurrencyField in favor of new CurrencyFieldType, which works
  1915. with point fields and provides control over dynamic fields used for the raw amount and currency
  1916. code sub-fields. (hossman, Steve Rowe)
  1917. * SOLR-11261, SOLR-10966: Upgrade to Hadoop 2.7.4 to fix incompatibility with Java 9.
  1918. (Uwe Schindler)
  1919. * SOLR-11324: Clean up mention of trie fields in documentation and source comments. (Steve Rowe)
  1920. ================== 6.6.5 ==================
  1921. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  1922. Versions of Major Components
  1923. ---------------------
  1924. Apache Tika 1.13
  1925. Carrot2 3.15.0
  1926. Velocity 1.7 and Velocity Tools 2.0
  1927. Apache UIMA 2.3.1
  1928. Apache ZooKeeper 3.4.10
  1929. Jetty 9.3.14.v20161028
  1930. New Features
  1931. ----------------------
  1932. * SOLR-12530: Ability to disable configset upload via -Dconfigset.upload.enabled=false startup parameter
  1933. (Ishan Chattopadhyaya)
  1934. Bug Fixes
  1935. ----------------------
  1936. * SOLR-12450: Don't allow referal to external resources in various config files (CVE-2018-8026).
  1937. (Yuyang Xiao, Uwe Schindler)
  1938. ================== 6.6.4 ==================
  1939. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  1940. Versions of Major Components
  1941. ---------------------
  1942. Apache Tika 1.17
  1943. Carrot2 3.15.0
  1944. Velocity 1.7 and Velocity Tools 2.0
  1945. Apache UIMA 2.3.1
  1946. Apache ZooKeeper 3.4.11
  1947. Jetty 9.4.10.v20180503
  1948. Bug Fixes
  1949. ----------------------
  1950. * SOLR-12316: Do not allow to use absolute URIs for including other files in solrconfig.xml and schema parsing.
  1951. (Ananthesh, Ishan Chattopadhyaya, Uwe Schindler)
  1952. ================== 6.6.3 ==================
  1953. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  1954. Versions of Major Components
  1955. ---------------------
  1956. Apache Tika 1.17
  1957. Carrot2 3.15.0
  1958. Velocity 1.7 and Velocity Tools 2.0
  1959. Apache UIMA 2.3.1
  1960. Apache ZooKeeper 3.4.11
  1961. Jetty 9.4.8.v20171121
  1962. Bug Fixes
  1963. ----------------------
  1964. * SOLR-11971: Don't allow referal to external resources in DataImportHandler's dataConfig request parameter.
  1965. (麦 香浓郁, Uwe Schindler)
  1966. * SOLR-11503: Collections created with legacyCloud=true cannot be opened if legacyCloud=false (Erick Erickson)
  1967. * SOLR-11993: LeaderInitiatedRecoveryThread does not retry on UnknownHostException (shalin, Cao Manh Dat, Steve Rowe)
  1968. ================== 6.6.2 ==================
  1969. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  1970. Versions of Major Components
  1971. ---------------------
  1972. Apache Tika 1.16
  1973. Carrot2 3.15.0
  1974. Velocity 1.7 and Velocity Tools 2.0
  1975. Apache UIMA 2.3.1
  1976. Apache ZooKeeper 3.4.10
  1977. Jetty 9.3.14.v20161028
  1978. Upgrade Notes
  1979. ----------------------
  1980. * SOLR-11477: in the XML query parser (defType=xmlparser or {!xmlparser ... })
  1981. the resolving of external entities is now disallowed by default.
  1982. * SOLR-11482: RunExecutableListener was deprecated and is disabled by default for
  1983. security reasons. Legacy applications still using it must explicitely pass
  1984. '-Dsolr.enableRunExecutableListener=true' to the Solr command line.
  1985. Be aware that you should really disable API-based config editing at the same
  1986. time, using '-Ddisable.configEdit=true'! (Uwe Schindler)
  1987. Bug Fixes
  1988. ----------------------
  1989. * SOLR-11477: Disallow resolving of external entities in the XML query parser (defType=xmlparser).
  1990. (Michael Stepankin, Olga Barinova, Uwe Schindler, Christine Poerschke)
  1991. * SOLR-11297: Message "Lock held by this virtual machine" during startup. Solr is trying to start some cores twice.
  1992. (Luiz Armesto, Shawn Heisey, Erick Erickson)
  1993. Other Changes
  1994. ----------------------
  1995. * SOLR-10335: Upgrade to Tika 1.16. (Tim Allison, Tomás Fernández Löbbe via shalin)
  1996. ================== 6.6.1 ==================
  1997. Bug Fixes
  1998. ----------------------
  1999. * SOLR-10857: standalone Solr loads UNLOADed core on request (Erick Erickson, Mikhail Khludnev)
  2000. * SOLR-11024: ParallelStream should set the StreamContext when constructing SolrStreams (Joel Bernstein)
  2001. * SOLR-10908: CloudSolrStream.toExpression incorrectly handles fq clauses (Rohit via Erick Erickson)
  2002. * SOLR-11177: CoreContainer.load needs to send lazily loaded core descriptors to the proper list rather than send
  2003. them all to the transient lists. (Erick Erickson)
  2004. * SOLR-11122: Creating a core should write a core.properties file first and clean up on failure
  2005. (Erick Erickson)
  2006. * SOLR-10910: Clean up a few details left over from pluggable transient core and untangling
  2007. CoreDescriptor/CoreContainer references (Erick Erickson)
  2008. * SOLR-10721: Provide a way to know when Core Discovery is finished and when all async cores are done loading
  2009. (Erick Erickson)
  2010. * SOLR-11069: CDCR bootstrapping can get into an infinite loop when a core is reloaded (Amrit Sarkar, Erick Erickson)
  2011. * SOLR-11221: SolrJmxReporter broken on core reload. This resulted in some or most metrics not being reported
  2012. via JMX after core reloads, depending on timing. (ab)
  2013. * SOLR-11261, SOLR-10966: Upgrade to Hadoop 2.7.4 to fix incompatibility with Java 9.
  2014. (Uwe Schindler)
  2015. * SOLR-11228: Exclude static html files in the partials directory from authentication and authorization checks. The UI
  2016. will open correctly with kerberos enabled (Ishan Chattopadhyaya, Varun Thacker)
  2017. ================== 6.6.0 ==================
  2018. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  2019. Versions of Major Components
  2020. ---------------------
  2021. Apache Tika 1.13
  2022. Carrot2 3.15.0
  2023. Velocity 1.7 and Velocity Tools 2.0
  2024. Apache UIMA 2.3.1
  2025. Apache ZooKeeper 3.4.10
  2026. Jetty 9.3.14.v20161028
  2027. Upgrade Notes
  2028. ----------------------
  2029. * Solr contribs map-reduce, morphlines-core and morphlines-cell have been removed.
  2030. * JSON Facet API now uses hyper-log-log for numBuckets cardinality calculation and
  2031. calculates cardinality before filtering buckets by any mincount greater than 1.
  2032. * ZooKeeper dependency has been upgraded from 3.4.6 to 3.4.10.
  2033. Detailed Change List
  2034. ----------------------
  2035. New Features
  2036. ----------------------
  2037. * SOLR-9992: Add support for grouping with PointFIelds. (Cao Manh Dat)
  2038. * SOLR-9994: Add support for CollapseQParser with PointFields. (Varun Thacker, Cao Manh Dat)
  2039. * SOLR-10076: Hide keystore and truststore passwords from /admin/info/* outputs. (Mano Kovacs via Mark Miller)
  2040. * SOLR-6736: Adding support for uploading zipped configsets using ConfigSets API (Varun Rajput, Ishan Chattopadhyaya,
  2041. Noble Paul, Anshum Gupta, Gregory Chanan)
  2042. * SOLR-10349: Add totalTermFreq support to TermsComponent. (Shai Erera)
  2043. * SOLR-9993: Add support for ExpandComponent with PointFields. (Cao Manh Dat)
  2044. * SOLR-10239: MOVEREPLICA API (Cao Manh Dat, Noble Paul, shalin)
  2045. * SOLR-9936: Allow configuration for recoveryExecutor thread pool size. (Tim Owen via Mark Miller)
  2046. * SOLR-10447: Collections API now supports a LISTALIASES command to return a list of all collection aliases.
  2047. (Yago Riveiro, Ishan Chattopadhyaya, Mark Miller, Steve Molloy, Shawn Heisey, Mike Drob, janhoy)
  2048. * SOLR-10446: CloudSolrClient can now be initialized using the base URL of a Solr instance instead of
  2049. ZooKeeper hosts. This is possible through the use of newly introduced HttpClusterStateProvider.
  2050. To fetch a list of collection aliases, this depends on LISTALIASES command, and hence this way of
  2051. initializing CloudSolrClient would not work if you have collection aliases on older versions of Solr
  2052. server that doesn't support LISTALIASES. (Ishan Chattopadhyaya, Noble Paul)
  2053. * SOLR-10082: Variance and Standard Deviation aggregators for the JSON Facet API.
  2054. Example: json.facet={x:"stddev(field1)", y:"variance(field2)"}
  2055. (Rustam Hashimov, yonik)
  2056. * SOLR-10505: Add multi-field support to TermsComponent when requesting terms' statistics. (Shai Erera)
  2057. * SOLR-10537: SolrJ: Added SolrParams.toLocalParamsString() and ClientUtils.encodeLocalParamVal. (David Smiley)
  2058. * SOLR-10507: Core Admin status command to emit collection details of each core (noble)
  2059. * SOLR-10521: introducing sort=childfield(field) asc for searching by {!parent} (Mikhail Khludnev)
  2060. * SOLR-9596: Add Solr support for SimpleTextCodec, via <codecFactory class="solr.SimpleTextCodecFactory"/>
  2061. in solrconfig.xml (per-field specification in the schema is not possible). (Steve Rowe)
  2062. * SOLR-1485: Add payload support with payload() value source and {!payload_score} and {!payload_check}
  2063. query parsers. (Erik Hatcher)
  2064. * SOLR-10430: Add ls command to ZkCLI for listing only sub-directories. (Peter Szantai-Kis via Mark Miller)
  2065. * SOLR-10583: JSON Faceting now supports a query time 'join' domain change option (hossman)
  2066. * SOLR-9530: An Update Processor to convert normal update operation to an atomic operations such as
  2067. add, set,inc, remove ,set, removeregex (Amrit Sarkar, noble)
  2068. * SOLR-10303: Add date/time Stream Evaluators (Gethin James, Dennis Gove, Joel Bernstein)
  2069. * SOLR-10351: Add analyze Stream Evaluator to support streaming NLP (Joel Bernstein)
  2070. * SOLR-10426: Add shuffle Streaming Expression (Joel Bernstein)
  2071. * SOLR-10274: The search Streaming Expression should work in non-SolrCloud mode (Joel Bernstein)
  2072. * SOLR-10504: Add echo Streaming Expression (Joel Bernstein)
  2073. * SOLR-10516: Add eval Streaming Expression (Joel Bernstein)
  2074. * SOLR-10566: Add timeseries Streaming Expression (Joel Bernstein)
  2075. * SOLR-10559: Add let, get and tuple Streaming Expressions (Dennis Gove, Joel Bernstein)
  2076. * SOLR-10582: Add Correlation Stream Evaluator (Joel Bernstein)
  2077. * SOLR-10536: stats Streaming Expression should work in non-SolrCloud mode (Joel Bernstein)
  2078. * SOLR-10622: Add regress and predict Stream Evaluators (Joel Bernstein)
  2079. * SOLR-10626: Add covariance Stream Evaluator (Joel Bernstein)
  2080. * SOLR-10625: Add convolution Stream Evaluator (Joel Bernstein)
  2081. * SOLR-10638: Add normalize Stream Evaluator (Joel Bernstein)
  2082. * SOLR-8440: Support for enabling basic authentication using bin/solr|bin/solr.cmd. (Ishan Chattopadhyaya, janhoy,
  2083. Noble Paul, Hrishikesh Gadre)
  2084. * SOLR-10292: Adds CartesianProductStream which turns a single tuple with a multi-valued field into N
  2085. tuples, one for each value in the multi-valued field. (Dennis Gove)
  2086. Optimizations
  2087. ----------------------
  2088. * SOLR-9184: Add a static convenience method ModifiableSolrParams#of(SolrParams) which returns the same
  2089. instance if it already is modifiable, otherwise creates a new ModifiableSolrParams instance.
  2090. (Jörg Rathlev via Koji)
  2091. * SOLR-10499: facet.heatmap is now significantly faster when the docset (base query) matches everything and there are no
  2092. deleted docs. It's also faster when the docset matches a small fraction of the index or none. (David Smiley)
  2093. * SOLR-9217: Reduced heap consumption for filter({!join ... score=...})
  2094. (Andrey Kudryavtsev, Gopikannan Venugopalsamy via Mikhail Khludnev)
  2095. * SOLR-10548: JSON Facet API now uses hyper-log-log++ for determining the number of buckets
  2096. when merging requests from a multi-shard distributed request. (yonik)
  2097. * SOLR-10524: Better ZkStateWriter batching (Cao Manh Dat, Noble Paul, shalin, Scott Blum)
  2098. * SOLR-10619: Optimize using cache for DistributedQueue in case of single-consumer (Cao Manh Dat, Scott Blum)
  2099. Bug Fixes
  2100. ----------------------
  2101. * SOLR-10281: ADMIN_PATHS is duplicated in two places and inconsistent. This can cause automatic
  2102. retries to /admin/metrics handler by the CloudSolrClient. (shalin)
  2103. * SOLR-10108: bin/solr script recursive copy broken (Erick Erickson)
  2104. * SOLR-10362: "Memory Pool not found" error when reporting JVM metrics. (ab)
  2105. * SOLR-10369: bin\solr.cmd delete and healthcheck now works again; fixed continuation chars ^ (Luis Goes via janhoy)
  2106. * SOLR-10387: zkTransfer normalizes destination path incorrectly if source is a windows directory
  2107. (gopikannan venugopalsamy, Erick Erickson)
  2108. * SOLR-10323: fix to SpellingQueryConverter to properly strip out colons in field-specific queries.
  2109. (Amrit Sarkar via James Dyer)
  2110. * SOLR-10264: Fixes multi-term synonym parsing in ManagedSynonymFilterFactory.
  2111. (Jörg Rathlev, Steve Rowe, Christine Poerschke)
  2112. * SOLR-8807: fix Spellcheck "collateMaxCollectDocs" parameter to work with queries that have the
  2113. CollpasingQParserPlugin applied. (James Dyer)
  2114. * SOLR-10474: TestPointFields.testPointFieldReturn() depends on order of unsorted hits. (Steve Rowe)
  2115. * SOLR-10473: Correct LBHttpSolrClient's confusing SolrServerException message when timeAllowed is exceeded.
  2116. (Christine Poerschke)
  2117. * SOLR-10047: Mismatched Docvalues segments cause exception in Sorting/Faceting. Solr now uninverts per segment
  2118. to avoid such exceptions. (Keith Laban via shalin)
  2119. * SOLR-10472: Fixed uninversion (aka: FieldCache) bugs with the numeric PointField classes, and CurrencyField (hossman)
  2120. * SOLR-5127: Multiple highlight fields and wildcards are now supported e.g. hl.fl=title,text_*
  2121. (Sven-S. Porst, Daniel Debray, Simon Endele, Christine Poerschke)
  2122. * SOLR-10493: Investigate SolrCloudExampleTest failures. (Erick Erickson)
  2123. * SOLR-10552: JSON Facet API numBuckets was not consistent between distributed and non-distributed requests
  2124. when there was a mincount > 1. This has been corrected by changing numBuckets cardinality processing to
  2125. ignore mincount > 1 for non-distributed requests. (yonik)
  2126. * SOLR-10520: child.facet.field doubled counts at least when rows>0. (Dr. Oleg Savrasov via Mikhail Khludnev)
  2127. * SOLR-10480: Full pagination in JSON Facet API using offset does not work. (yonik)
  2128. * SOLR-10526: facet.heatmap didn't honor facet exclusions ('ex') for distributed search. (David Smiley)
  2129. * SOLR-10500: nested child docs are adopted by neighbour when several parents come in update/json/docs
  2130. (Alexey Suprun,noble via Mikhail Khludnev)
  2131. * SOLR-10316: Unloading a core can remove a ZK SolrCore registration entry for the wrong SolrCore. (Mark Miller)
  2132. * SOLR-10588: Prevent redundant core reload on config update (Mikhail Khludnev)
  2133. * SOLR-10549: The new 'large' attribute had been forgotten in /schema/fieldtypes?showDefaults=true (David Smiley)
  2134. * SOLR-10615: requests are suspended until SolrDispatchFilter initialization is completed.
  2135. After core container shutdown or severe initialization problem Solr responds with
  2136. http stauts 404 Not Found instead of 500 as it was before (Mikhail Khludnev)
  2137. * SOLR-8149: Admin UI - Plugins / Stats - active item is now highlighted (Labuzov Dmitriy via janhoy)
  2138. * SOLR-10630: HttpSolrCall.getAuthCtx().new AuthorizationContext() {...}.getParams()
  2139. sometimes throws java.lang.NullPointerException (hu xiaodong via shalin)
  2140. * SOLR-9527: Improve distribution of replicas when restoring a collection
  2141. (Hrishikesh Gadre, Stephen Lewis, Rohit, Varun Thacker)
  2142. * LUCENE-7821: The classic and flexible query parsers, as well as Solr's
  2143. "lucene"/standard query parser, should require " TO " in range queries,
  2144. and accept "TO" as endpoints in range queries. (hossman, Steve Rowe)
  2145. * SOLR-10735: Windows script (solr.cmd) didn't work properly with directory containing spaces. Adding quotations
  2146. to fix (Uwe Schindler, janhoy, Tomas Fernandez-Lobbe, Ishan Chattopadhyaya)
  2147. Ref Guide
  2148. ----------------------
  2149. * SOLR-10758: Modernize the Solr ref guide's Chinese language analysis coverage. (Steve Rowe)
  2150. Other Changes
  2151. ----------------------
  2152. * SOLR-9221: Remove Solr contribs: map-reduce, morphlines-core and morphlines-cell. (Steve Rowe)
  2153. * SOLR-10249: Refactor IndexFetcher.doFetch() to return a more detailed result. (Jeff Miller via David Smiley)
  2154. * SOLR-10304: Refactor Document handling out of SolrIndexSearcher into a new class "SolrDocumentFetcher".
  2155. Deprecated SolrPluginUtils.docListToSolrDocumentList(). (David Smiley)
  2156. * SOLR-10352: bin/solr script now prints warning when available system entropy is lower than 300 (Esther Quansah via
  2157. Ishan Chattopadhyaya)
  2158. * SOLR-10344: Update Solr default/example and test configs to use WordDelimiterGraphFilterFactory. (Steve Rowe)
  2159. * SOLR-10343: Update Solr default/example and test configs to use SynonymGraphFilterFactory. (Steve Rowe)
  2160. * SOLR-10365: Handle a SolrCoreInitializationException while publishing core state during SolrCore creation
  2161. (Ishan Chattopadhyaya)
  2162. * SOLR-10357: Enable edismax and standard query parsers to handle the option combination
  2163. sow=false / autoGeneratePhraseQueries="true" by setting QueryBuilder.autoGenerateMultiTermSynonymsQuery.
  2164. (Steve Rowe)
  2165. * SOLR-10147: Admin UI -> Cloud -> Graph: Impossible to see shard state (Amrit Sarkar, janhoy)
  2166. * SOLR-10399: Generalize some internal facet logic to simplify points/non-points field handling (Adrien Grand, hossman)
  2167. * SOLR-7383: New DataImportHandler 'atom' example, replacing broken 'rss' example (Alexandre Rafalovitch)
  2168. * SOLR-9601: Redone DataImportHandler 'tika' example, removing all unused and irrelevant definitions (Alexandre Rafalovitch)
  2169. * SOLR-8906: Make transient core cache pluggable (Erick Erickson)
  2170. * SOLR-9745: print errors from solr.cmd (Gopikannan Venugopalsamy via Mikhail Khludnev)
  2171. * SOLR-10394: Rename getSortWithinGroup to getWithinGroupSort in search.grouping.Command class.
  2172. (Judith Silverman, Christine Poerschke)
  2173. * SOLR-10440: LBHttpSolrClient.doRequest is now always wrapped in a Mapped Diagnostic Context (MDC).
  2174. (Christine Poerschke)
  2175. * SOLR-10429: UpdateRequest#getRoutes()should copy the response parser (noble)
  2176. * SOLR-10007: Clean up references to CoreContainer and CoreDescriptors (Erick Erickson)
  2177. * SOLR-10151: Use monotonically incrementing counter for doc ids in TestRecovery. (Peter Szantai-Kis, Mano Kovacs via Mark Miller)
  2178. * SOLR-10514: Upgrade Metrics library to 3.2.2. (ab)
  2179. * SOLR-9386: Upgrade Zookeeper to 3.4.10. (Shawn Heisey, Steve Rowe)
  2180. * SOLR-10519: SolrCLI.atPath cannot handle children that begin with a slash. (Erick Erickson)
  2181. * SOLR-9867: Adding isLoading=true as core status. Fixing start after stop scenario in bin/solr
  2182. (Andrey Kudryavtsev, Mikhail Khludnev)
  2183. * SOLR-7041: Cutover tests to using 'q.op' and 'df' instead of schema 'defaultOperator' and 'defaultSearchField' (janhoy)
  2184. * SOLR-10601: StreamExpressionParser should handle white space around = in named parameters (Joel Bernstein)
  2185. * SOLR-10614: Static fields have turned to instance's field in SimplePostTool.
  2186. Enabled TestSolrCLIRunExample.testTechproductsExample(). (Andrey Kudryavtsev, Mikhail Khludnev)
  2187. * SOLR-10522: Revert SpellCheckComponent response format change from SOLR-9972 (rel. 6.5.0). While this
  2188. was an improvement for the json "arrntv" format, it caused problems for the default json format.
  2189. (James Dyer, reported by Nikita Pchelintsev)
  2190. * SOLR-10644: solr.in.sh installed by install script should be writable by solr user (janhoy)
  2191. * SOLR-10729: Deprecated LatLonType, GeoHashField, SpatialPointVectorFieldType, and SpatialTermQueryPrefixTreeFieldType.
  2192. Instead, switch to LatLonPointSpatialField or SpatialRecursivePrefixTreeFieldType or RptWithGeometrySpatialField.
  2193. (David Smiley)
  2194. ================== 6.5.1 ==================
  2195. Bug Fixes
  2196. ----------------------
  2197. * SOLR-10383: Fix debug related NullPointerException in solr/contrib/ltr OriginalScoreFeature class.
  2198. (Vitezslav Zak, Christine Poerschke)
  2199. * SOLR-10416: The JSON output of /admin/metrics is fixed to write the container as a
  2200. map (SimpleOrderedMap) instead of an array (NamedList). (shalin)
  2201. * SOLR-10277: On 'downnode', lots of wasteful mutations are done to ZK.
  2202. (Joshua Humphries, Scott Blum, Varun Thacker, shalin)
  2203. * SOLR-10421: Fix params persistence for solr/contrib/ltr (MinMax|Standard)Normalizer classes.
  2204. (Jianxiong Dong, Christine Poerschke)
  2205. * SOLR-10404: The fetch() streaming expression wouldn't work if a value included query syntax chars (like :+-).
  2206. Fixed, and enhanced the generated query to not pollute the queryCache. (David Smiley)
  2207. * SOLR-10423: Disable graph query production via schema configuration <fieldtype ... enableGraphQueries="false">.
  2208. This fixes broken queries for ShingleFilter-containing query-time analyzers when request param sow=false.
  2209. (Steve Rowe)
  2210. * SOLR-10425: Fix indexed="false" on numeric PointFields (Tomás Fernández Löbbe, hossman)
  2211. * SOLR-10341: SQL AVG function mis-interprets field type. (Joel Bernstein)
  2212. * SOLR-10444: SQL interface does not use client cache. (Joel Bernstein)
  2213. * SOLR-10420: Solr 6.x leaking one SolrZkClient instance per second (Scott Blum, Cao Manh Dat, Markus Jelsma, Steve Rowe)
  2214. * SOLR-10439: The new 'large' attribute had been forgotten in /schema/fields?showDefaults=true (David Smiley)
  2215. * SOLR-10527: edismax with sow=false fails to create dismax-per-term queries when any field is boosted.
  2216. (Steve Rowe)
  2217. ================== 6.5.0 ==================
  2218. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  2219. Versions of Major Components
  2220. ---------------------
  2221. Apache Tika 1.13
  2222. Carrot2 3.15.0
  2223. Velocity 1.7 and Velocity Tools 2.0
  2224. Apache UIMA 2.3.1
  2225. Apache ZooKeeper 3.4.6
  2226. Jetty 9.3.14.v20161028
  2227. Apache Calcite 1.11.0
  2228. Detailed Change List
  2229. ----------------------
  2230. Upgrade Notes
  2231. ----------------------
  2232. * SOLR-10226: JMX metric "avgTimePerRequest" (and the corresponding metric in the metrics API for
  2233. each handler) used to be a simple non-decaying average based on total cumulative time and the
  2234. number of requests. New Codahale Metrics implementation applies exponential decay to this value,
  2235. which heavily biases the average towards the last 5 minutes. (ab)
  2236. * SOLR-8593: Parallel SQL now uses Apache Calcite as its SQL framework. As part of this change
  2237. the default aggregation mode has been changed to facet rather than map_reduce. There has also been changes
  2238. to the SQL aggregate response and some SQL syntax changes. Consult the documentation for full details.
  2239. New Features
  2240. ----------------------
  2241. * SOLR-9836: Add ability to recover from leader when index corruption is detected on SolrCore creation.
  2242. (Mike Drob via Mark Miller)
  2243. * SOLR-9926: Allow passing arbitrary java system properties to zkcli. (Hrishikesh Gadre via Mark Miller)
  2244. * SOLR-9885: Allow pre-startup Solr log management in Solr bin scripts to be disabled. (Mano Kovacs via Mark Miller)
  2245. * SOLR-9481: Authentication and Authorization plugins now work in standalone mode if security.json is placed in
  2246. SOLR_HOME on every node. Editing config through API is supported but affects only that one node. (janhoy)
  2247. * SOLR-8029: Added new style APIs and a framework for creating new APIs and mapping old APIs to new
  2248. (noble, Steve Rowe, Cassandra Targett, Timothy Potter)
  2249. * SOLR-9933: SolrCoreParser now supports configuration of custom SpanQueryBuilder classes.
  2250. (Daniel Collins, Christine Poerschke)
  2251. * SOLR-7955: Auto create .system collection on first request if it does not exist (noble)
  2252. * SOLR-10087: StreamHandler now supports registering custom streaming expressions from the blob store (Kevin Risden)
  2253. * SOLR-9997: Enable configuring SolrHttpClientBuilder via java system property. (Hrishikesh Gadre via Mark Miller)
  2254. * SOLR-9912: Add facet.excludeTerms parameter support. (Jonny Marks, David Smiley, Christine Poerschke)
  2255. * SOLR-9916: Adds Stream Evaluators to support evaluating values from tuples. Supports boolean,
  2256. numeric, and conditional evaluators. BooleanOperations have been removed in preference of
  2257. BooleanEvaluators. (Dennis Gove)
  2258. * SOLR-9903: Stop interrupting the update executor on shutdown, it can cause graceful shutdowns to put replicas into Leader
  2259. Initiated Recovery among other undesirable things. (Mark Miller)
  2260. * SOLR-8396: Add support for PointFields in Solr (Ishan Chattopadhyaya, Tomás Fernández Löbbe)
  2261. * SOLR-9987: Add support for MultiValued DocValues in PointFields using SortedNumericDocValues (Tomás Fernández Löbbe)
  2262. * SOLR-5944: In-place updates of Numeric DocValues. To leverage this, the _version_ field and the updated
  2263. field must both be stored=false, indexed=false, docValues=true. (Ishan Chattopadhyaya, hossman, noble,
  2264. shalin, yonik)
  2265. * SOLR-10158: Add support for "preload" option in MMapDirectoryFactory.
  2266. (Amrit Sarkar via Uwe Schindler)
  2267. * SOLR-10153 & SOLR-10152: The Unified and Postings based highlighters: Add hl.bs.type=SEPARATOR along with new param
  2268. hl.bs.separator to break passages by a provided single character. (Amrit Sarkar, David Smiley)
  2269. * SOLR-10156: Add significantTerms Streaming Expression (Joel Bernstein)
  2270. * SOLR-8593: Integrate Apache Calcite into the SQLHandler (Kevin Risden, Cao Manh Dat, Joel Bernstein)
  2271. * SOLR-10146: Added button to the Admin UI 'Collection' tab for deleting an inactive shard (Amrit Sarkar, janhoy)
  2272. * SOLR-9999: Instrument DirectUpdateHandler2. This registers existing statistics under metrics API and adds
  2273. more metrics to track the rates of update and delete commands. (ab)
  2274. * SOLR-9986: Implement DatePointField (Cao Manh Dat, Tomás Fernández Löbbe)
  2275. * SOLR-8045: Deploy V2 API at /v2 instead of /solr/v2 (Cao Manh Dat, Noble Paul)
  2276. * SOLR-10039: New LatLonPointSpatialField replacement for LatLonType (and some uses of RPT). Multi-value capable
  2277. indexed geo lat-lon points, query by rect or circle. Efficient distance sorting/boosting too. (David Smiley)
  2278. * SOLR-10250: CloudSolrClient can now return versions for documents added or deleted when "versions=true" is passed.
  2279. However, if there is a leader election while this request is in transit, the versions may not be returned from that
  2280. shard. (Boris Naguet, Ishan Chattopadhyaya)
  2281. * SOLR-9045: Make RecoveryStrategy settings configurable. (Christine Poerschke)
  2282. * SOLR-10224: Add disk total and disk free metrics. (ab)
  2283. * SOLR-10085: SQL result set fields should be ordered by the field list (Joel Bernstein)
  2284. * SOLR-10254: significantTerms Streaming Expression should work in non-SolrCloud mode (Joel Bernstein)
  2285. * SOLR-10286: string/text fields may now declare themselves as large="true" in the schema. Large fields are always
  2286. lazy loaded and will only take up space in the document cache if the actual value is < 512KB. This option
  2287. requires "stored" and must not be multiValued. It's intended for fields that might have very large values so that
  2288. they don't get cached in memory. (David Smiley)
  2289. * SOLR-9185: Solr's edismax and "Lucene"/standard query parsers will no longer split on whitespace before sending
  2290. terms to analysis, if given the "sow=false" request param ("sow"=>"split on whitespace"). This enables multi-term
  2291. source synonyms to match at query-time using SynonymGraphFilterFactory; other analysis components will also now
  2292. work at query time, e.g. ShingleFilterFactory. By default, and when the "sow=true" param is specified, these
  2293. parsers' behavior remains the same: queries will be split on whitespace before sending individual terms to analysis.
  2294. (Steve Rowe)
  2295. Bug Fixes
  2296. ----------------------
  2297. * SOLR-9976: Fix init bug in SegmentsInfoRequestHandlerTest (hossman)
  2298. * SOLR-9977: Fix config bug in DistribDocExpirationUpdateProcessorTest that allowed false assumptions
  2299. about when index version changes (hossman)
  2300. * SOLR-9979: Macro expansion should not be done in shard requests (Tomás Fernández Löbbe)
  2301. * SOLR-9114: NPE using TermVectorComponent, MoreLikeThisComponent in combination with ExactStatsCache (Cao Manh Dat, Varun Thacker)
  2302. * SOLR-10049: Collection deletion leaves behind the snapshot metadata (Hrishikesh Gadre via yonik)
  2303. * SOLR-10120: A SolrCore reload can remove the index from the previous SolrCore during replication index rollover. (Mark Miller)
  2304. * SOLR-10124: Replication can skip removing a temporary index directory in some cases when it should not. (Mark Miller)
  2305. * SOLR-9996: Unstored IntPointField returns Long type (Ishan Chattopadhyaya)
  2306. * SOLR-10104: BlockDirectoryCache release hooks do not work with multiple directories. (Mike Drob, Mark Miller)
  2307. * SOLR-10121: Fix race conditions in HDFS BlockCache that can contribute to corruption in high
  2308. concurrency situations. (yonik)
  2309. * SOLR-10141: Upgrade to Caffeine 2.4.0 since v1.0.1 contributed to BlockCache corruption because the
  2310. removal listener was called more than once for some items and not at all for other items. (Ben Manes, yonik)
  2311. * SOLR-10114: Reordered delete-by-query causes inconsistenties between shards that have
  2312. child documents (Mano Kovacs, Mihaly Toth, yonik)
  2313. * SOLR-10159: When DBQ is reordered with an in-place update, upon whose updated value the DBQ is based
  2314. on, the DBQ fails due to excessive caching in DeleteByQueryWrapper (Ishan Chattopadhyaya)
  2315. * SOLR-10020: CoreAdminHandler silently swallows some errors. (Mike Drob via Erick Erickson)
  2316. * SOLR-10063: CoreContainer shutdown has race condition that can cause a hang on shutdown. (Mark Miller)
  2317. * SOLR-10170: ClassCastException in RecoveryStrategy. (Mark Miller)
  2318. * SOLR-9846: Overseer is not always closed after being started. (Mark Miller)
  2319. * SOLR-10168: ShardSplit can fail with NPE in OverseerCollectionMessageHandler#waitForCoreAdminAsyncCallToComplete. (Mark Miller)
  2320. * SOLR-9824: Some bulk update paths could be very slow due to CUSC polling. (David Smiley, Mark Miller)
  2321. * SOLR-10055: Linux installer now renames existing bin/solr.in.* as bin/solr.in.*.orig to make the installed config in
  2322. /etc/defaults be the one found by default when launching solr manually. (janhoy)
  2323. * SOLR-10196: ElectionContext#runLeaderProcess can hit NPE on core close. (Mark Miller)
  2324. * SOLR-10225: Fix HDFS BlockCache evictions metric to not count explicit removal
  2325. due to a directory close. (yonik)
  2326. * SOLR-10088: Installer script does not put zoo.cfg in SOLR_HOME (janhoy)
  2327. * SOLR-10226: add back "totalTime" metric to all handlers. See also the back-compat note. (ab)
  2328. * SOLR-9838: "inc" atomic update doesn't respect default field value (hoss, Amrit Sarkar, Ishan Chattopadhyaya)
  2329. * SOLR-10269: MetricsHandler JSON output incorrect. (ab)
  2330. * SOLR-10279: The autoAddReplica feature can result in SolrCores being assigned new shards when using
  2331. legacyCloud=false and will also fail on a state check when taking over a core registration with a new
  2332. core. (Mark Miller, Hrishikesh Gadre, Patrick Dvorack)
  2333. * SOLR-10184: Fix bin/solr so it can run properly on java9 (hossman, Uwe Schindler)
  2334. * SOLR-9516: Admin UI (angular) now works with Kerberos, by excluding serving of /solr/libs/* through
  2335. SolrDispatchFilter. (Cassandra Targett, Amrit Sarkar via Ishan Chattopadhyaya)
  2336. * SOLR-10302: Solr's zkcli scripts now able to find the metrics libraries, which it couldn't earlier (kiran, Ishan Chattopadhyaya)
  2337. * SOLR-10283: Learning to Rank (LTR) SolrFeature to reject searches with missing efi (External Feature Information) used by fq.
  2338. (Christine Poerschke)
  2339. * SOLR-10237: Poly-fields should work with subfields that have docValues=true (Tomás Fernández Löbbe, David Smiley)
  2340. * SOLR-10218: The Schema API commands "add-field-type" and "replace-field-type" improperly specify SimilarityFactory params.
  2341. (Benjamin Deininger, Troy Mohl, Steve Rowe)
  2342. * SOLR-10319: SolrCore "instanceDir" metric not visible in JMX. (ab)
  2343. Optimizations
  2344. ----------------------
  2345. * SOLR-9941: Clear the deletes lists at UpdateLog before replaying from log. This prevents redundantly pre-applying
  2346. DBQs, during the log replay, to every update in the log as if the DBQs were out of order. (hossman, Ishan Chattopadhyaya)
  2347. * SOLR-9764: All filters that match all documents in the index now share the same memory (DocSet).
  2348. (Michael Sun, yonik)
  2349. * SOLR-9584: Support Solr being proxied with another endpoint than default /solr, by using relative links
  2350. in AdminUI javascripts (Yun Jie Zhou via janhoy)
  2351. * SOLR-10143: PointFields will create IndexOrDocValuesQuery when a field is both, indexed=true and docValues=true
  2352. (Tomás Fernández Löbbe)
  2353. * SOLR-10273: The field with the longest value (if it exceeds 4K) is moved to be last in the Lucene Document in order
  2354. to benefit from stored field optimizations in Lucene that can avoid reading it when it's not needed. If the field is
  2355. multi-valued, they all move together to the end to retain order. (David Smiley)
  2356. Other Changes
  2357. ----------------------
  2358. * SOLR-9980: Expose configVersion in core admin status (Jessica Cheng Mallet via Tomás Fernández Löbbe)
  2359. * SOLR-9972: SpellCheckComponent collations and suggestions returned as a JSON object rather than a list
  2360. (Christine Poerschke in response to bug report from Ricky Oktavianus Lazuardy)
  2361. * SOLR-9983: Fixing NullPointerException failure by TestManagedSchemaThreadSafety
  2362. adding check for Zookeeper session expiration (Steve Rowe, Mikhail Khludnev)
  2363. * SOLR-10043: Reduce logging of pre-start log rotation (janhoy)
  2364. * SOLR-10018: Increase the default hl.maxAnalyzedChars to 51200 for the Unified & Postings Highlighter so that all
  2365. highlighters now have this same default. (David Smiley)
  2366. * SOLR-6246: Added tests to check that the changes in LUCENE-7564 and LUCENE-7670
  2367. enable AnalyzingInfixSuggester and BlendedInfixSuggester to play nicely with core reload.
  2368. SolrSuggester.build() now throws SolrCoreState.CoreIsClosedException when interrupted
  2369. by a core reload/shutdown. (Steve Rowe)
  2370. * SOLR-9800: Factor out FacetComponent.newSimpleFacets method. (Jonny Marks via Christine Poerschke)
  2371. * SOLR-9914: SimpleFacets: refactor "contains" check into "SubstringBytesRefFilter" class.
  2372. (Jonny Marks, David Smiley, Christine Poerschke)
  2373. * SOLR-10072: The test TestSelectiveWeightCreation appears to be unreliable. (Michael Nilsson via Mark Miller)
  2374. * SOLR-10011: Refactor PointField & TrieField to now have a common base class, NumericFieldType. The
  2375. TrieField.TrieTypes and PointField.PointTypes are now consolidated to NumericFieldType.NumberType. This
  2376. refactoring also fixes a bug whereby PointFields were not using DocValues for range queries for
  2377. indexed=false, docValues=true fields. (Ishan Chattopadhyaya, Tomás Fernández Löbbe)
  2378. * SOLR-9890: factor out ShardResultTransformerUtils.[un]marshSortValue methods
  2379. (Judith Silverman, Christine Poerschke)
  2380. * SOLR-9966: Convert/migrate tests using EasyMock to Mockito (Cao Manh Dat, Uwe Schindler)
  2381. * SOLR-10173: Make HttpShardHandlerFactory.getReplicaListTransformer more extensible.
  2382. (Ramsey Haddad via Christine Poerschke)
  2383. * SOLR-9842: UpdateRequestProcessors have no way to guarantee the closing of resources used for a request.
  2384. (Mark Miller)
  2385. * SOLR-9848: Lower solr.cloud.wait-for-updates-with-stale-state-pause back down from 7 seconds.
  2386. (Mark Miller)
  2387. * SOLR-10020: Cannot reload a core if it fails initialization. (Mike Drob via Erick Erickson)
  2388. * SOLR-9450: The docs/ folder in the binary distribution now contains a single index.html file linking
  2389. to the online documentation, reducing the size of the download (janhoy, Shawn Heisey, Uwe Schindler)
  2390. * SOLR-7453: Remove replication & backup scripts in the solr/scripts directory of the checkout (Varun Thacker)
  2391. * SOLR-10214: Remove unused HDFS BlockCache metrics and add storeFails, as well as adding total
  2392. counts for lookups, hits, and evictions. (yonik)
  2393. * SOLR-10134: EmbeddedSolrServer responds on Schema API requests (Robert Alexandersson via Mikhail Khludnev)
  2394. * SOLR-10219: re-enable HDFS tests under JDK9 (hossman, Uwe Schindler)
  2395. * SOLR-10155: For numeric types facet.contains= and facet.prefix= are now rejected.
  2396. (Gus Heck, Christine Poerschke)
  2397. * SOLR-10171: Add Constant Reduction Rules to Calcite Planner (Kevin Risden)
  2398. * SOLR-10230: default TTL of PKIAuthenticationPlugin increased to 10secs (noble)
  2399. * SOLR-10235: Fix DIH's TestJdbcDataSource to work with Java 9 and other Java runtimes that
  2400. do not use the same DriverManager implementation like Oracle's original one. The test now
  2401. uses a fully implemented Driver instance returning a mock connection. The test also works
  2402. correct now if other drivers were installed before test execution (e.g., through IDE).
  2403. (hossman, Uwe Schindler)
  2404. * SOLR-8876: change morphline test config files to work around 'importCommands' bug when using java9 (hossman)
  2405. * SOLR-10247: Support non-numeric metrics and a "compact" format of /admin/metrics output. (ab)
  2406. * SOLR-9990: Add PointFields in example/default schemas (Tomás Fernández Löbbe)
  2407. ================== 6.4.2 ==================
  2408. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  2409. Versions of Major Components
  2410. ---------------------
  2411. Apache Tika 1.13
  2412. Carrot2 3.15.0
  2413. Velocity 1.7 and Velocity Tools 2.0
  2414. Apache UIMA 2.3.1
  2415. Apache ZooKeeper 3.4.6
  2416. Jetty 9.3.14.v20161028
  2417. Detailed Change List
  2418. ----------------------
  2419. Bug Fixes
  2420. ----------------------
  2421. * SOLR-10130, SOLR-10182: Serious performance degradation in Solr 6.4.1 due to the new metrics collection.
  2422. Default settings in solrconfig.xml /config/indexConfig/metrics have been changed to turn off
  2423. IndexWriter metrics collection. Directory level metrics collection has been completely removed until
  2424. a better design is found. (ab, ishan)
  2425. * SOLR-10138: Transaction log replay can hit an NPE due to new Metrics code. (ab)
  2426. * SOLR-10083: Fix instanceof check in ConstDoubleSource.equals (Pushkar Raste via Christine Poerschke)
  2427. * SOLR-10190: Fix NPE in CloudSolrClient when reading stale alias (Janosch Woschitz via Tomás Fernández Löbbe)
  2428. * SOLR-10192: Fix copy/paste in solr-ltr pom.xml template. (Christine Poerschke)
  2429. ================== 6.4.1 ==================
  2430. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  2431. Versions of Major Components
  2432. ---------------------
  2433. Apache Tika 1.13
  2434. Carrot2 3.15.0
  2435. Velocity 1.7 and Velocity Tools 2.0
  2436. Apache UIMA 2.3.1
  2437. Apache ZooKeeper 3.4.6
  2438. Jetty 9.3.14.v20161028
  2439. Bug Fixes
  2440. ----------------------
  2441. * SOLR-9969: "Plugin/Stats" section of the UI doesn't display empty metric types (Tomás Fernández Löbbe)
  2442. * SOLR-8491: solr.cmd SOLR_SSL_OPTS is overwritten (Sam Yi, Andy Hind, Marcel Berteler, Kevin Risden)
  2443. * SOLR-10031: Validation of filename params in ReplicationHandler (Hrishikesh Gadre, janhoy)
  2444. * SOLR-10054: Core swapping doesn't work with new metrics changes in place (ab)
  2445. ================== 6.4.0 ==================
  2446. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  2447. Versions of Major Components
  2448. ---------------------
  2449. Apache Tika 1.13
  2450. Carrot2 3.15.0
  2451. Velocity 1.7 and Velocity Tools 2.0
  2452. Apache UIMA 2.3.1
  2453. Apache ZooKeeper 3.4.6
  2454. Jetty 9.3.14.v20161028
  2455. Detailed Change List
  2456. ----------------------
  2457. Upgrade Notes
  2458. ----------------------
  2459. * SOLR-9166: Export handler returns zero for numeric fields that are not in the original doc. One
  2460. consequence of this change is that you must be aware that some tuples will not have values if
  2461. there were none in the original document.
  2462. * SOLR-8785: Metrics related classes in org.apache.solr.util.stats have been removed in favor of
  2463. the dropwizard metrics library. Any custom plugins using these classes should be changed to use
  2464. the equivalent classes from the metrics library.
  2465. As part of this, the following changes were made to the output of Overseer Status API:
  2466. * The "totalTime" metric has been removed because it is no longer supported
  2467. * The metrics "75thPctlRequestTime", "95thPctlRequestTime", "99thPctlRequestTime"
  2468. and "999thPctlRequestTime" in Overseer Status API have been renamed to "75thPcRequestTime", "95thPcRequestTime"
  2469. and so on for consistency with stats output in other parts of Solr.
  2470. * The metrics "avgRequestsPerMinute", "5minRateRequestsPerMinute" and "15minRateRequestsPerMinute" have been
  2471. replaced by corresponding per-second rates viz. "avgRequestsPerSecond", "5minRateRequestsPerSecond"
  2472. and "15minRateRequestsPerSecond" for consistency with stats output in other parts of Solr.
  2473. * SOLR-9708: You are encouraged to try out the UnifiedHighlighter by setting hl.method=unified and report feedback. It
  2474. might become the default in 7.0. It's more efficient/faster than the other highlighters, especially compared to the
  2475. original Highlighter. That said, some options aren't supported yet.
  2476. It will get more features in time, especially with your input. See HighlightParams.java
  2477. for a listing of highlight parameters annotated with which highlighters use them.
  2478. hl.useFastVectorHighlighter is now considered deprecated in lieu of hl.method=fastVector.
  2479. * SOLR-9712: maxWarmingSearchers now defaults to 1, and more importantly commits will now block if this
  2480. limit is exceeded instead of throwing an exception (a good thing). Consequently there is no longer a
  2481. risk in overlapping commits. Nonetheless users should continue to avoid excessive committing. Users are
  2482. advised to remove any pre-existing maxWarmingSearchers entries from their solrconfig.xml files.
  2483. * SOLR-7466: complexphrase query parser now supports leading wildcards, beware of its' possible heaviness.
  2484. Users are encouraged to use ReversedWildcardFilter in index time analysis.
  2485. New Features
  2486. ----------------------
  2487. * SOLR-9918: Add SkipExistingDocumentsProcessor that skips duplicate inserts and ignores updates to missing docs
  2488. (Tim Owen via koji)
  2489. * SOLR-9293: Solrj client support for hierarchical clusters and other topics
  2490. marker. (Dawid Weiss)
  2491. * SOLR-9681: FacetModule / JSON Facet API added the ability to add filters directly to
  2492. any facet command. The filters are applied after any domain change operations.
  2493. Example: { type:terms, field:category, filter:"user:yonik" }
  2494. (yonik)
  2495. * SOLR-9442, SOLR-9787: Adds Array of Name Type Value (json.nl=arrntv) style to JSONResponseWriter.
  2496. (Jonny Marks, Christine Poerschke, hossman)
  2497. * SOLR-8542: Adds Solr Learning to Rank (LTR) plugin for reranking results with machine learning models.
  2498. (Michael Nilsson, Diego Ceccarelli, Joshua Pantony, Jon Dorando, Naveen Santhapuri, Alessandro Benedetti, David Grohmann, Christine Poerschke)
  2499. * SOLR-9055: Make collection backup/restore extensible. (Hrishikesh Gadre, Varun Thacker, Mark Miller)
  2500. * SOLR-9682: JSON Facet API: added "param" query type to facet domain filter specification to obtain
  2501. filters via query parameters. (yonik)
  2502. * SOLR-9038: Add a command-line tool to manage the snapshots functionality (Hrishikesh Gadre via yonik)
  2503. * SOLR-9633: Limit memory consumed by FastLRUCache with a new 'maxRamMB' config parameter.
  2504. (yonik, Michael Sun, shalin)
  2505. * SOLR-9666: SolrJ LukeResponse support dynamic fields (Fengtan via Kevin Risden)
  2506. * SOLR-9077: Streaming expressions should support collection alias (Kevin Risden)
  2507. * SOLR-9324: Support Secure Impersonation / Proxy User for solr authentication
  2508. (Gregory Chanan, Hrishikesh Gadre via yonik)
  2509. * SOLR-9721: javabin Tuple parser for streaming and other end points (noble)
  2510. * SOLR-9708: Added UnifiedSolrHighlighter, a highlighter adapter for Lucene's UnifiedHighlighter. The adapter is a
  2511. derivative of the PostingsSolrHighlighter, supporting mostly the same parameters with some differences.
  2512. Introduced "hl.method" parameter which can be set to original|fastVector|postings|unified to pick the highlighter at
  2513. runtime without the need to modify solrconfig from the default configuration. hl.useFastVectorHighlighter is now
  2514. considered deprecated in lieu of hl.method=fastVector. (Timothy Rodriguez, David Smiley)
  2515. * SOLR-9728: Ability to specify Key Store type in solr.in.sh file for SSL (Michael Suzuki, Kevin Risden)
  2516. * SOLR-5043: New solr.dns.prevent.reverse.lookup system property that can be used to prevent long core
  2517. (re)load delays on systems with missconfigured hostname/DNS (hossman)
  2518. * SOLR-9844: FieldCache information fetched via the mbeans handler or seen via the UI now displays the total size used.
  2519. The individual cache entries in the response are now formatted better as well. (Varun Thacker)
  2520. * SOLR-9513: Generic authentication plugins (GenericHadoopAuthPlugin and ConfigurableInternodeAuthHadoopPlugin) that delegate
  2521. all functionality to Hadoop authentication framework. (Hrishikesh Gadre via Ishan Chattopadhyaya)
  2522. * SOLR-9860: Enable configuring invariantParams via HttpSolrClient.Builder (Hrishikesh Gadre, Ishan Chattopadhyaya)
  2523. * SOLR-4735, SOLR-9921: Improve metrics reporting. This uses the dropwizard metric library, adding an internal
  2524. API for registering and reporting metrics from Solr components. Several new metrics and an improved JMX
  2525. reporter have been added (Alan Woodward, Jeff Wartes, Christine Poerschke, Kelvin Wong, shalin, ab)
  2526. * SOLR-9788: Use instrumented jetty classes provided by the dropwizard metric library. (shalin)
  2527. * SOLR-9805: Use metrics-jvm library to instrument jvm internals such as GC, memory usage and others. (shalin)
  2528. * SOLR-9812, SOLR-9911, SOLR-9960: Added a new /admin/metrics API to return all metrics collected by Solr via API.
  2529. API supports four optional multi-valued parameters:
  2530. - 'group' (all,jvm,jetty,node,core),
  2531. - 'type' (all,counter,timer,gauge,histogram),
  2532. - 'prefix' that filters the returned metrics,
  2533. - 'registry' that selects one or more registries by prefix (eg. solr.jvm,solr.core.collection1)
  2534. - Example: http://localhost:8983/solr/admin/metrics?group=jvm,jetty&type=counter
  2535. - Example: http://localhost:8983/solr/admin/metrics?group=jvm&prefix=buffers,os
  2536. - Example: http://localhost:8983/solr/admin/metrics?registry=solr.node,solr.core&prefix=ADMIN
  2537. (shalin, ab)
  2538. * SOLR-9884: Add version to segments handler output (Steven Bower via Erick Erickson)
  2539. * SOLR-9725: Substitute properties into JdbcDataSource configuration ( Jamie Jackson, Yuri Sashevsky via Mikhail Khludnev)
  2540. * SOLR-9877: SOLR-9923: SOLR-9948: Use instrumented http client and connection pool in HttpShardHandler and
  2541. UpdateShardHandler. The metrics are collected per query-less URL and method by default but it can be configured
  2542. to host/method and per-method as well. (shalin)
  2543. * SOLR-9880: Add Ganglia, Graphite and SLF4J metrics reporters. (ab)
  2544. * SOLR-9897: Add hl.requireFieldMatch toggle support when using the UnifiedHighlighter. Defaults to false like the
  2545. other highlighters that support this. (David Smiley)
  2546. * SOLR-9905: Add NullStream to isolate the performance of the ExportWriter (Joel Bernstein)
  2547. * SOLR-9891: Add mkroot command to bin/solr and bin/solr.cmd (Erick Erickson)
  2548. * SOLR-9668,SOLR-7197: introduce cursorMark='true' in SolrEntityProcessor (Yegor Kozlov, Raveendra Yerraguntl via Mikhail Khludnev)
  2549. * SOLR-9684: Add priority Streaming Expression (Joel Bernstein, David Smiley)
  2550. * SOLR-9896: Instrument and collect metrics from query, update, core admin and core load thread pools. (shalin)
  2551. * SOLR-9854: Collect metrics for index merges and index store IO (ab)
  2552. * SOLR-8530: Add HavingStream to Streaming API and StreamingExpressions (Joel Bernstein)
  2553. * SOLR-7466: Enable leading wildcard in complexphrase query parser, optimize it with ReversedWildcardFilterFactory
  2554. when it's provided (Mikhail Khludnev)
  2555. * SOLR-9935: Add hl.fragsize support when using the UnifiedHighlighter to avoid snippets/Passages that are too small.
  2556. Defaults to 70. (David Smiley)
  2557. * SOLR-9856: Collect metrics for shard replication and tlog replay on replicas (ab).
  2558. * SOLR-9886: Add a 'enable' flag to caches to enable/disable them (Pushkar Raste, noble)
  2559. * SOLR-9947: Clean up some SolrInfoMBean categories. Add an alternative hierarchical view in JMX
  2560. for SolrInfoMBeans, which uses similar conventions to SolrJmxReporter. (ab)
  2561. Optimizations
  2562. ----------------------
  2563. * SOLR-9704: Facet Module / JSON Facet API: Optimize blockChildren facets that have
  2564. filters specified by using those filters as acceptDocs. (yonik)
  2565. * SOLR-9726: Reduce number of lookupOrd calls made by the DocValuesFacets.getCounts method.
  2566. (Jonny Marks via Christine Poerschke)
  2567. * SOLR-9772: Deriving distributed sort values (fieldSortValues) should reuse
  2568. comparator and only invalidate leafComparator. (John Call via yonik)
  2569. * SOLR-9786: FieldType has a new getSetQuery() method that can take a set of terms
  2570. and create a more efficient query (such as TermsQuery). The solr query parser has been
  2571. changed to use this method when appropriate. The parser also knows when it is being
  2572. used to parse a filter and will create TermsQueries from large lists of normal terms
  2573. or numbers, resulting in a query that will execute faster. This also acts to avoid
  2574. BooleanQuery maximum clause limit. Query parsing itself has also been optimized,
  2575. resulting in less produced garbage and 5-7% better performance.
  2576. (yonik)
  2577. * SOLR-9902: StandardDirectoryFactory should use Files API for it's move implementation. (Mark Miller, Mike Drob)
  2578. Bug Fixes
  2579. ----------------------
  2580. * SOLR-9701: NPE in export handler when "fl" parameter is omitted.
  2581. (Erick Erickson)
  2582. * SOLR-9433: SolrCore clean-up logic uses incorrect path to delete dataDir on failure to create a core.
  2583. (Evan Sayer, shalin)
  2584. * SOLR-9360: Solr script not properly checking SOLR_PID
  2585. (Alessandro Benedetti via Erick Erickson)
  2586. * SOLR-9716: RecoveryStrategy sends prep recovery command without setting read time out which can cause
  2587. replica recovery to hang indefinitely on network partitions. (Cao Manh Dat, shalin)
  2588. * SOLR-9624: In Admin UI, do not attempt to highlight CSV output (Alexandre Rafalovitch)
  2589. * SOLR-9005: In files example, add a guard condition to javascript URP script (Alexandre Rafalovitch)
  2590. * SOLR-9519: JSON Facet API: don't stop at an empty facet bucket if any sub-facets still have a chance
  2591. of matching something due to filter exclusions (which can widen the domain again).
  2592. (Michael Sun, yonik)
  2593. * SOLR-9740: A bug in macro expansion of multi-valued parameters caused non-expanded values
  2594. after the first expanded value in the same multi-valued parameter to be dropped.
  2595. (Erik Hatcher, yonik)
  2596. * SOLR-9751: PreAnalyzedField can cause managed schema corruption. (Steve Rowe)
  2597. * SOLR-9736: Solr resolves the collection name against the first available leader or first replica
  2598. of the first slice. This puts undue pressure on leader cores and likely on the wrong ones. This is
  2599. fixed to randomly pick a leader on updates or a replica core otherwise. (Cao Manh Dat via shalin)
  2600. * SOLR-9284: The HDFS BlockDirectoryCache should not let it's keysToRelease or names maps grow indefinitely.
  2601. (Mark Miller, Michael Sun)
  2602. * SOLR-9729: JDBCStream improvements (Kevin Risden)
  2603. * SOLR-9626: new Admin UI now also highlights matched terms in the Analysis screen. (Alexandre Rafalovitch)
  2604. * SOLR-9512: CloudSolrClient's cluster state cache can break direct updates to leaders (noble)
  2605. * SOLR-5260: Facet search on a docvalue field in a multi shard collection (Trym Møller, Erick Erickson)
  2606. * SOLR-9768: RecordingJsonParser produces incomplete json (Wojciech Stryszyk via ab)
  2607. * SOLR-9616: Solr throws exception when expand=true on empty index (Timo Hund via Ishan Chattopadhyaya)
  2608. * SOLR-9832: Schema modifications are not immediately visible on the coordinating node. (Steve Rowe)
  2609. * SOLR-9834: A variety of spots in the code can create a collection zk node after the collection has been
  2610. removed. (Mark Miller)
  2611. * SOLR-9707: Don't forward DeleteByQuery requests to down replicas. (Jessica Cheng Mallet via Varun Thacker)
  2612. * SOLR-9823: CoreContainer incorrectly setting MDCLoggingContext for core (Jessica Cheng Mallet via Erick Erickson)
  2613. * SOLR-1953: It may be possible for temporary files to accumulate until the Solr process is shut down.
  2614. (Karl Wright, Mark Miller)
  2615. * SOLR-9847: Stop blocking further schema updates while waiting for a pending update to propagate to other replicas.
  2616. This reduces the likelihood of a (time-limited) distributed deadlock during concurrent schema updates.
  2617. (Mark Miller, Steve Rowe)
  2618. * SOLR-9760: Windows script doesn't need write permission (Alex Crome by Mikhail Khludnev)
  2619. * SOLR-9699,SOLR-4668: fix exception from core status in parallel with core reload (Mikhail Khludnev)
  2620. * SOLR-9859: replication.properties cannot be updated after being written and neither replication.properties or
  2621. index.properties are durable in the face of a crash. (Pushkar Raste, Chris de Kok, Cao Manh Dat, Mark Miller)
  2622. * SOLR-9901: Implement move in HdfsDirectoryFactory. (Mark Miller)
  2623. * SOLR-9900: fix false positives on range queries with ReversedWildcardFilterFactory (Yonik Seeley via Mikhail Khludnev)
  2624. * SOLR-9495: AIOBE with confusing message for incomplete sort spec in Streaming Expression (Gus Heck, Joel Bernstein)
  2625. * SOLR-9154: Fix DirectSolrSpellChecker to work when added through the Config API. (Anshum Gupta)
  2626. * SOLR-9919: random Streaming Expression is not registered in /stream or /graph handler (Joel Bernstein)
  2627. * SOLR-7495: Support Facet.field on a non-DocValued, single-value, int field (Varun Thacker, Scott Stults)
  2628. * SOLR-9917: JSON Facet API percentile function caused a NullPointerException in distributed mode when
  2629. there were no values in a bucket from a shard. (yonik)
  2630. * SOLR-9931: JSON Facet API hll (hyper-log-log) function returned 0 for non-empty buckets with no field values
  2631. in local mode, but nothing for distributed mode. Both modes now return 0. (yonik)
  2632. * SOLR-9503: NPE in Replica Placement Rules when using Overseer Role with other rules (Tim Owen via noble)
  2633. * SOLR-9883: Example schemaless solr config files can lead to invalid tlog replays: when updates are buffered,
  2634. update processors ordered before DistributedUpdateProcessor, e.g. field normalization, are never run. (Steve Rowe)
  2635. * SOLR-9644: SimpleMLTQParser and CloudMLTQParser did not handle field boosts properly
  2636. and CloudMLTQParser included extra strings from the field definitions in the query.
  2637. (Ere Maijala via Anshum Gupta)
  2638. * SOLR-9954: Prevent against failure during failed snapshot cleanup from swallowing the actual cause
  2639. for the snapshot to fail. (thelabdude)
  2640. Other Changes
  2641. ----------------------
  2642. * SOLR-7539: Upgrade the clustering plugin to Carrot2 3.15.0. (Dawid Weiss)
  2643. * SOLR-9621: Remove several Guava & Apache Commons calls in favor of java 8 alternatives.
  2644. (Michael Braun via David Smiley)
  2645. * SOLR-9720: Refactor Responsewriters to remove dependencies on TupleStream,
  2646. Tuple, Explanation (noble)
  2647. * SOLR-9717: Refactor '/export' to not hardcode the JSON output and to use an API (noble)
  2648. * SOLR-9739: JavabinCodec implements PushWriter interface (noble)
  2649. * SOLR-8332: Factor HttpShardHandler[Factory]'s url shuffling out into a ReplicaListTransformer class.
  2650. (Christine Poerschke, Noble Paul)
  2651. * SOLR-9597: Add setReadOnly(String ...) to ConnectionImpl (Kevin Risden)
  2652. * SOLR-9609: Change hard-coded keysize from 512 to 1024 (Jeremy Martini via Erick Erickson)
  2653. * SOLR-8785: Use Dropwizard Metrics library for core metrics. The copied over code in
  2654. org.apache.solr.util.stats has been removed. (Jeff Wartes, Kelvin Wong, Christine Poerschke, shalin)
  2655. * SOLR-9784: Refactor CloudSolrClient to eliminate direct dependency on ZK (noble)
  2656. * SOLR-9801: Upgrade jetty to 9.3.14.v20161028 (shalin)
  2657. * SOLR-9783: (Search|Top)Group[s]ShardResponseProcessor.process: turned sortWithinGroup null check into assert.
  2658. (Christine Poerschke)
  2659. * SOLR-9660: in GroupingSpecification factor [group](sort|offset|limit) into [group](sortSpec)
  2660. (Judith Silverman, Christine Poerschke)
  2661. * SOLR-9819: Upgrade commons-fileupload to 1.3.2, fixing a potential vulnerability CVE-2016-3092 (Anshum Gupta)
  2662. * SOLR-9827: ConcurrentUpdateSolrClient creates a RemoteSolrException if the remote host responded with a non-ok
  2663. response (instead of a SolrException) and includes the remote error message as part of the exception message
  2664. (Tomás Fernández Löbbe)
  2665. * SOLR-9846: OverseerAutoReplicaFailoverThread can take too long to stop and leak out of unit tests. (Mark Miller)
  2666. * SOLR-8959: Refactored TestSegmentSorting out of TestMiniSolrCloudCluster (hossman)
  2667. * SOLR-9874: Solr will reject CREATEALIAS requests if target collections don't exist (Tomás Fernández Löbbe)
  2668. * SOLR-9878: fixing lazy logic for retrieving ReversedWildcardFilterFactory in SolrQueryParserBase (Mikhail Khludnev)
  2669. * SOLR-9758: refactor preferLocalShards implementation (Christine Poerschke)
  2670. * SOLR-9448: providing a test to workaround a differently named uniqueKey field (Mikhail Khludnev)
  2671. * SOLR-9899: StandardDirectoryFactory should use optimizations for all FilterDirectorys not just NRTCachingDirectory.
  2672. (Mark Miller)
  2673. * SOLR-9915: PeerSync alreadyInSync check is not backwards compatible and results in full replication during a rolling restart
  2674. (Tim Owen via noble)
  2675. * SOLR-3990: Moves getIndexSize() from ReplicationHandler to SolrCore (Shawn Heisey)
  2676. * SOLR-9944: Map the nodes function name to the GatherNodesStream (Joel Bernstein)
  2677. * SOLR-9777: IndexFingerprinting should use getCombinedCoreAndDeletesKey() instead of getCoreCacheKey() for per-segment caching (Ishan Chattopadhyaya)
  2678. * SOLR-9934: SolrTestCase.clearIndex has been improved to take advantage of low level test specific logic that
  2679. clears the index metadata more completely then a normal *:* DBQ can due to update versioning. (hossman)
  2680. * SOLR-9893: Update Mockito to version 2.6.2 for Java 9 support. Disable all legacy EasyMock tests when running
  2681. on Java 9 until they were migrated to Mockito. (Uwe Schindler)
  2682. ================== 6.3.0 ==================
  2683. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  2684. Versions of Major Components
  2685. ---------------------
  2686. Apache Tika 1.13
  2687. Carrot2 3.12.0
  2688. Velocity 1.7 and Velocity Tools 2.0
  2689. Apache UIMA 2.3.1
  2690. Apache ZooKeeper 3.4.6
  2691. Jetty 9.3.8.v20160314
  2692. Detailed Change List
  2693. ----------------------
  2694. Upgrade Notes
  2695. ----------------------
  2696. * If you use the JSON Facet API (json.facet) with method=stream, you must now set sort='index asc' to get the streaming
  2697. behavior; otherwise it won't stream. Reminder: "method" is a hint that doesn't change defaults of other parameters.
  2698. * If you use the JSON Facet API (json.facet) to facet on a numeric field and if you use mincount=0 or if you set the
  2699. prefix, then you will now get an error as these options are incompatible with numeric faceting.
  2700. * Solr's logging verbosity at the INFO level has been greatly reduced, and
  2701. you may need to update the log configs to use the DEBUG level to see all the
  2702. logging messages you used to see at INFO level before.
  2703. * We are no longer backing up solr.log and solr_gc.log files in date-stamped copies forever. If you relied on
  2704. the solr_log_<date> or solr_gc_log_<date> being in the logs folder that will no longer be the case.
  2705. See SOLR-9570 for details.
  2706. * The create/deleteCollection methods on MiniSolrCloudCluster have been
  2707. deprecated. Clients should instead use the CollectionAdminRequest API. In
  2708. addition, MiniSolrCloudCluster#uploadConfigDir(File, String) has been
  2709. deprecated in favour of #uploadConfigSet(Path, String)
  2710. * The bin/solr.in.sh (bin/solr.in.cmd on Windows) is now completely commented by default. Previously, this wasn't so,
  2711. which had the effect of masking existing environment variables.
  2712. New Features
  2713. ----------------------
  2714. * SOLR-5725: facet.method=enum can bypass exact counts calculation with facet.exists=true, it just returns 1 for
  2715. terms which exists in result docset. (Alexey Kozhemiakin, Sebastian Koziel, Radoslaw Zielinski via Mikhail Khludnev)
  2716. * SOLR-9127: Excel workbook (.xlsx) response writer. use 'wt=xlsx' (Tony Moriarty, noble)
  2717. * SOLR-9469: JettySolrRunner now has the option of restarting using a different
  2718. port (Alan Woodward)
  2719. * SOLR-9319: DELETEREPLICA can accept a 'count' and remove appropriate replicas (Nitin Sharma, noble)
  2720. * SOLR-8186: Reduce logging to logs/solr-<port>-console.log when not running in foreground mode
  2721. Show timestamp also in foreground log. Also removes some logging noise. (janhoy)
  2722. * SOLR-8487: Adds CommitStream to support sending commits to a collection being updated. (Dennis Gove)
  2723. * SOLR-9534: You can now set Solr's log level through environment variable SOLR_LOG_LEVEL
  2724. Also adds conveience arguments -q (quiet: WARN) and -v (verbose: DEBUG) to bin/solr (janhoy)
  2725. * SOLR-9537: Support facet scoring with the scoreNodes expression (Joel Bernstein)
  2726. * SOLR-9558: DIH TemplateTransformerto to support multivalued fields (Ted Sullivan via noble)
  2727. * SOLR-9557: Every implicit requesthandler now has a default 'useParams' attribute (noble)
  2728. * SOLR-9572: config API to show expanded useParams for request handlers inline (noble)
  2729. * SOLR-9258: Optimizing, storing and deploying AI models with Streaming Expressions (Cao Manh Dat, Joel Bernstein)
  2730. * SOLR-9205: Added method LukeResponse.getSchemaFlags() which returns field
  2731. information as an EnumSet (Fengtan, Alan Woodward)
  2732. * SOLR-9520: Kerberos delegation support in SolrJ (Ishan Chattopadhyaya, noble)
  2733. * SOLR-9146: Parallel SQL engine should support >, >=, <, <=, <>, != syntax (Timothy Potter, Joel Bernstein, Kevin Risden)
  2734. * SOLR-9337: Add fetch Streaming Expression (Joel Bernstein)
  2735. * SOLR-9103: Restore ability for users to add custom Streaming Expressions (Cao Manh Dat)
  2736. * SOLR-9657: New TemplateUpdateProcessorFactory added (noble)
  2737. * SOLR-9417: Allow daemons to terminate when they finish iterating a topic (Joel Bernstein)
  2738. * SOLR-8370: Display configured Similarity in Schema-Browser, both global/default and per-field/field-type
  2739. (janhoy, Alexandre Rafalovitch)
  2740. * SOLR-9326: Ability to create/delete/list snapshots at collection level.
  2741. (Hrishikesh Gadre via yonik)
  2742. * SOLR-9662: New parameter -u <user:pass> in bin/post to pass basicauth credentials (janhoy)
  2743. * SOLR-9654: Add "overrequest" parameter to JSON Facet API to control amount of overrequest
  2744. on a distributed terms facet. (yonik)
  2745. * SOLR-2212: Add a factory class corresponding to Lucene's NoMergePolicy. (Lance Norskog, Cao Manh Dat via shalin)
  2746. * SOLR-9670: Support SOLR_AUTHENTICATION_OPTS in solr.cmd (janhoy)
  2747. * SOLR-9559: Add ExecutorStream to execute stored Streaming Expressions (Joel Bernstein)
  2748. * SOLR-1085: Add support for MoreLikeThis queries and responses in SolrJ client.
  2749. (Maurice Jumelet, Bill Mitchell, Cao Manh Dat via shalin)
  2750. Bug Fixes
  2751. ----------------------
  2752. * SOLR-9310: PeerSync fails on a node restart due to IndexFingerPrint mismatch (Pushkar Raste, noble)
  2753. * SOLR-9484: The modify collection API should wait for the modified properties to show up in the
  2754. cluster state. (Cao Manh Dat, shalin)
  2755. * SOLR-9507: CoreContainer threads now correctly set their MDC logging values
  2756. (Alan Woodward)
  2757. * SOLR-9522: Improve error handling in ZKPropertiesWriter (Varun Thacker)
  2758. * SOLR-8080: bin/solr start script now exits with informative message if using wrong Java version (janhoy)
  2759. * SOLR-9475: bin/install_solr_service.sh script got improved detection of Linux distro, especially within
  2760. virtualized/Docker environment through parsing of /etc/*-release files. Now also supports CentOS. (janhoy)
  2761. * SOLR-9524: SolrIndexSearcher.getIndexFingerprint uses dubious synchronization (Mike Drob, noble)
  2762. * SOLR-9542: Kerberos delegation tokens requires Jackson library (Ishan Chattopadhyaya via noble)
  2763. * SOLR-9330: Fix AlreadyClosedException on admin/mbeans?stats=true (Mikhail Khludnev)
  2764. * SOLR-9411: Better validation for Schema API add-field and add-dynamic-field (janhoy, Steve Rowe)
  2765. * SOLR-9504: A replica with an empty index becomes the leader even when other more qualified replicas
  2766. are in line. (shalin)
  2767. * SOLR-9554: Fix NullPointerException when cores are loaded in parallel and switch schema.xml to managed-scheme.
  2768. (Alan Woodward, Mikhail Khludnev)
  2769. * SOLR-9556: OverseerAutoFailoverReplicaThread was not exiting on interrupt
  2770. (Alan Woodward)
  2771. * SOLR-9563: Collection creation could fail if an ADDREPLICA subrequest arrived
  2772. at a node before its local state had updated with the new collection data
  2773. (Alan Woodward)
  2774. * SOLR-9278: Index replication interactions with IndexWriter can cause deadlock. (Xunlong via Mark Miller)
  2775. * SOLR-9604: Pooled SSL connections were not being re-used (Alan Woodward,
  2776. Mikhail Khludnev, hossman)
  2777. * SOLR-9325: solr.log is now written to $SOLR_LOGS_DIR without changing log4j.properties (janhoy)
  2778. * SOLR-9518: Kerberos Delegation Tokens don't work without a chrooted ZK (Ishan Chattopadhyaya,via noble)
  2779. * SOLR-9687: Fixed Interval Facet count issue in cases of open/close intervals on the same values
  2780. (Andy Chillrud, Tomás Fernández Löbbe)
  2781. * SOLR-9441: Solr collection backup on HDFS can only be manipulated by the Solr process owner.
  2782. (Hrishikesh Gadre via Mark Miller)
  2783. * SOLR-9536: OldBackupDirectory timestamp field needs to be initialized to avoid NPE.
  2784. (Hrishikesh Gadre, hossman via Mark Miller)
  2785. * SOLR-2039: Multivalued fields with dynamic names does not work properly with DIH.
  2786. (K A, ruslan.shv, Cao Manh Dat via shalin)
  2787. * SOLR-4164: group.limit=-1 was not supported for grouping in distributed mode.
  2788. (Cao Manh Dat, Lance Norskog, Webster Homer, hossman, yonik)
  2789. * SOLR-9692: blockUnknown property makes inter-node communication impossible (noble)
  2790. * SOLR-2094: XPathEntityProcessor should reinitialize the XPathRecordReader instance if
  2791. the 'forEach' or 'xpath' attributes are templates & it is not a root entity (Cao Manh Dat, noble)
  2792. * SOLR-9697: zk upconfig broken on windows (Xavier Jmlucjav via janhoy)
  2793. Optimizations
  2794. ----------------------
  2795. * SOLR-9374: Speed up Jmx MBean retrieval for FieldCache. (Tim Owen via shalin)
  2796. * SOLR-9449: Example schemas do not index _version_ field anymore because the field
  2797. has DocValues enabled already. (shalin)
  2798. * SOLR-9447: Do not clone SolrInputDocument if update processor chain does not contain custom processors.
  2799. (shalin)
  2800. * SOLR-9452: JsonRecordReader should not deep copy document before handler.handle(). (noble, shalin)
  2801. * SOLR-9142: JSON Facet API: new method=dvhash can be chosen for fields with high cardinality. (David Smiley)
  2802. * SOLR-9446: Leader failure after creating a freshly replicated index can send nodes into recovery even if
  2803. index was not changed (Pushkar Raste, noble)
  2804. * SOLR-9592: retrieving docValues as stored values was sped up by using the proper leaf
  2805. reader rather than ask for a global view. In extreme cases, this leads to a 100x speedup.
  2806. (Takahiro Ishikawa, yonik)
  2807. * SOLR-9566: Don't put replicas into recovery when first creating a Collection
  2808. (Alan Woodward)
  2809. * SOLR-9546: Eliminate unnecessary boxing/unboxing going on in SolrParams (Pushkar Raste, noble)
  2810. * SOLR-9506: cache IndexFingerprint for each segment (Pushkar Raste, yonik, noble)
  2811. * SOLR-7506: Roll over GC logs by default via bin/solr scripts (shalin, janhoy)
  2812. Other Changes
  2813. ----------------------
  2814. * SOLR-9412: Add failOnMissingParams option to MacroExpander, add TestMacroExpander class.
  2815. (Jon Dorando, Christine Poerschke)
  2816. * SOLR-9406: SolrSuggester should selectively register close hook (Gethin James, Joel Bernstein)
  2817. * SOLR-8961: Add a test module for solr-test-framework (Alan Woodward)
  2818. * SOLR-9474: MiniSolrCloudCluster will not reuse ports by default when
  2819. restarting its JettySolrRunners (Alan Woodward)
  2820. * SOLR-9498: Remove HDFS properties from DIH solrconfig.xml, as started in SOLR-6943 (Alexandre Rafalovitch)
  2821. * SOLR-9365: Reduce noise in solr logs during graceful shutdown. (Cao Manh Dat via shalin)
  2822. * SOLR-9451: Make clusterstatus command logging less verbose. (Varun Thacker)
  2823. * SOLR-9502: ResponseWriters should natively support MapSerializable (noble)
  2824. * SOLR-9538: Relocate (BinaryResponse|JSON|Smile)Writer tests to org.apache.solr.response
  2825. which is the package of the classes they test. (Jonny Marks via Christine Poerschke)
  2826. * SOLR-9508: Install script install_solr_service.sh now checks existence of tools.
  2827. New option -n to avoid starting service after installation (janhoy)
  2828. * SOLR-7826: Refuse "bin/solr create" if run as root, unless -force is specified (janhoy, Binoy Dalal)
  2829. * SOLR-6871: Updated the quickstart tutorial to cover the 6.2.0 release, and added ant target
  2830. "generate-website-quickstart" to convert the bundled version of the tutorial into one suitable
  2831. for the website.
  2832. * SOLR-5563: Move lots of SolrCloud logging from 'info' to 'debug' (janhoy, Alan
  2833. Woodward)
  2834. * SOLR-9544: Allow ObjectReleaseTracker more time to check for asynchronously
  2835. closing resources (Alan Woodward)
  2836. * SOLR-6677: Reduced logging during startup and shutdown, moved more logs to DEBUG level
  2837. (janhoy, Shawn Heisey, Alan Woodward)
  2838. * SOLR-6090: Remove unreachable printLayout usage in cloud tests. (Cao Manh Dat via shalin)
  2839. * SOLR-9551: Add JSONWriter constructor variant, JSONWriterTest.testConstantsUnchanged test.
  2840. (Jonny Marks, Christine Poerschke)
  2841. * SOLR-9500: Add a LogLevel annotation to set log levels on specific tests (Alan
  2842. Woodward)
  2843. * SOLR-9548: The beginning of solr.log now starts with a more informative welcome message (janhoy)
  2844. * SOLR-9547: Do not allow bin/solr start as root user, unless -force param specified (janhoy)
  2845. * SOLR-9567: Make ReRankQParserPlugin's private ReRankCollector a public class of its own. (Christine Poerschke)
  2846. * SOLR-7436: Solr stops printing stacktraces in log and output (janhoy, hossman, Markus Jelsma)
  2847. * SOLR-9576: Make FieldAnalysisRequestHandler, DocumentAnalysisRequestHandler & DumpRequestHandler
  2848. implicit (noble)
  2849. * SOLR-9574: Factor out AbstractReRankQuery from ReRankQParserPlugin's private ReRankQuery. (Christine Poerschke)
  2850. * SOLR-5041: Add a test to make sure that a leader always recovers from log on startup. (Cao Manh Dat, shalin)
  2851. * SOLR-9588: Remove Guava dependency from SolrJ (Ishan Chattopadhyaya, noble)
  2852. * SOLR-8140: Remove mentions of unimplemented admin-extra from the new Admin UI (Alexandre Rafalovitch)
  2853. * SOLR-9589: Remove jackson dependency from SolrJ (Ishan Chattopadhyaya, noble)
  2854. * SOLR-8385: Narrow StreamFactory.withFunctionName clazz parameter to prevent misconfiguration (Jason Gerlowski, Kevin Risden)
  2855. * SOLR-8969: SQLHandler causes NPE in non-cloud mode (Markus Jelsma, Kevin Risden)
  2856. * SOLR-9610: New AssertTool in SolrCLI for easier cross platform assertions from command line (janhoy)
  2857. * SOLR-9680: Better error messages in SolrCLI when authentication required (janhoy)
  2858. * SOLR-9639: Test only fix. Prevent CDCR tests from removing collection during recovery that used to blow up jvm (Mikhail Khludnev)
  2859. * SOLR-9625: Add HelloWorldSolrCloudTestCase class (Christine Poerschke, Alan Woodward, Alexandre Rafalovitch)
  2860. * SOLR-9642: Refactor the core level snapshot cleanup mechanism to rely on Lucene (Hrishikesh Gadre via yonik)
  2861. * SOLR-9627: Add QParser.getSortSpec, deprecate misleadingly named QParser.getSort (Judith Silverman, Christine Poerschke)
  2862. * SOLR-9632: Add MiniSolrCloudCluster#deleteAllCollections() method (Alan Woodward)
  2863. * SOLR-9634: Deprecate collection methods on MiniSolrCloudCluster (Alan Woodward)
  2864. * SOLR-7850: Moved defaults within bin/solr.in.sh (and bin/solr.in.cmd on Windows) to bin/solr (and bin/solr.cmd)
  2865. such that the default state of these files is to set nothing. This makes Solr work better with Docker. (David Smiley)
  2866. * SOLR-9570: Various log tidying now happens at Solr startup:
  2867. Old solr_log_<date> and solr_gc_log_<date> files are removed, avoiding disks to fill up,
  2868. solr.log.X files are rotated, preserving solr.log from last run in solr.log.1, solr.log.1 => solr.log.2 etc
  2869. solr-*-console.log files are moved into $SOLR_LOGS_DIR/archived/ instead of being overwritten
  2870. Last JVM garbage collection log solr_gc.log is moved into $SOLR_LOGS_DIR/archived/
  2871. (janhoy)
  2872. * SOLR-4531: Add tests to ensure that recovery does not fail on corrupted tlogs.
  2873. (Simon Scofield, Cao Manh Dat via shalin)
  2874. * SOLR-5245: Add a test to ensure that election contexts are keyed off both collection name and coreNodeName
  2875. so that killing a shard in one collection does not result in leader election in a different collection.
  2876. See SOLR-5243 for the related bug. (Cao Manh Dat via shalin)
  2877. * SOLR-9533: Reload core config when a core is reloaded (Gethin James, Joel Bernstein)
  2878. * SOLR-9371: Fix bin/solr calculations for start/stop wait time and RMI_PORT.
  2879. (Shawn Heisey via Erick Erickson)
  2880. ================== 6.2.1 ==================
  2881. Bug Fixes
  2882. ----------------------
  2883. * SOLR-9494: Use of {!collapse} sometimes doesn't correctly return true for Collector.needsScores(), especially when the
  2884. query was cached. This can cause an exception when 'q' is a SpanQuery or potentially others. (David Smiley)
  2885. * SOLR-6744: fl renaming / alias of uniqueKey field generates null pointer exception in SolrCloud configuration
  2886. (Mike Drob via Tomás Fernández Löbbe)
  2887. * SOLR-9445: Admin requests are retried by CloudSolrClient and LBHttpSolrClient on failure. (shalin)
  2888. * SOLR-9439: Shard split clean up logic for older failed splits is faulty. The delete shard API
  2889. has also been made more resilient against failures resulting from non-existent cores. (shalin)
  2890. * SOLR-9430: Fix locale lookup in DIH <propertyWriter/> to use BCP47 language tags
  2891. to be consistent with other places in Solr. Language names still work for backwards
  2892. compatibility. (Uwe Schindler, Boris Steiner)
  2893. * SOLR-9389: HDFS Transaction logs stay open for writes which leaks Xceivers. (Tim Owen via Mark Miller)
  2894. * SOLR-9188: blockUnknown property makes inter-node communication impossible (noble)
  2895. * SOLR-9455: Deleting a sub-shard in recovery state can mark parent shard as inactive. (shalin)
  2896. * SOLR-9461: DELETENODE, REPLACENODE should pass down the 'async' param to subcommands (shalin, noble)
  2897. * SOLR-9444: Fix path usage for cloud backup/restore. (Hrishikesh Gadre, Uwe Schindler, Varun Thacker)
  2898. * SOLR-9381: Snitch for freedisk uses '/' instead of 'coreRootDirectory' (Tim Owen, noble)
  2899. * SOLR-9488: Shard split can fail to write commit data on shutdown/restart causing replicas to recover
  2900. without replicating the index. This can cause data loss. (shalin)
  2901. * SOLR-9490: Fixed bugs in BoolField that caused it to erroneously return "false" for all docs depending
  2902. on usage (Colvin Cowie, Dan Fox, hossman)
  2903. * SOLR-9438: Shard split can be marked successful and sub-shard states switched to 'active' even when
  2904. one or more sub-shards replicas do not recover due to the leader crashing or restarting between the time
  2905. the replicas are created and before they can recover. This can cause data loss. (shalin)
  2906. * SOLR-9408: Fix TreeMergeOutputFormat to add timestamp metadata to a commit. SolrCloud replication relies on this.
  2907. (Jessica Cheng Mallet via Varun Thacker)
  2908. Other Changes
  2909. ----------------------
  2910. * SOLR-7362: Fix TestReqParamsAPI test failures (noble, Varun Thacker)
  2911. ================== 6.2.0 ==================
  2912. Versions of Major Components
  2913. ---------------------
  2914. Apache Tika 1.13
  2915. Carrot2 3.12.0
  2916. Velocity 1.7 and Velocity Tools 2.0
  2917. Apache UIMA 2.3.1
  2918. Apache ZooKeeper 3.4.6
  2919. Jetty 9.3.8.v20160314
  2920. Detailed Change List
  2921. ----------------------
  2922. New Features
  2923. ----------------------
  2924. * SOLR-9187: Support dates and booleans in /export handler, support boolean DocValues fields (Erick Erickson)
  2925. * SOLR-8048: bin/solr script should support basic auth credentials provided in solr.in.sh (noble)
  2926. * SOLR-7374: Core level Backup/Restore now supports specifying the directory implementation to use
  2927. via the "repository" parameter. (Hrishikesh Gadre, Varun Thacker, Mark Miller)
  2928. * SOLR-9216: Support collection.configName in MODIFYCOLLECTION request (Keith Laban, noble)
  2929. * SOLR-9251: Support for a new tag 'role' in replica placement rules (noble)
  2930. * SOLR-9194: Enhance the bin/solr script to perform file operations to/from Zookeeper (Erick Erickson, janhoy)
  2931. * SOLR-9242: Collection Backup/Restore now supports specifying the directory implementation to use
  2932. via the "repository" parameter. (Hrishikesh Gadre, Varun Thacker)
  2933. * SOLR-9193: Add scoreNodes Streaming Expression (Joel Bernstein)
  2934. * SOLR-9243: Add terms.list parameter to the TermsComponent to fetch the docFreq for a list of terms
  2935. (Joel Bernstein)
  2936. * SOLR-9090: Add directUpdatesToLeadersOnly flag to solrj CloudSolrClient.
  2937. (Marvin Justice, Christine Poerschke)
  2938. * SOLR-9270: Allow spatialContextFactory to be simply "JTS". And if any spatial params include the old
  2939. Spatial4j package "com.spatial4j.core" it is rewritten to "org.locationtech.spatial4j" with a warning.
  2940. (David Smiley)
  2941. * SOLR-9240: Support parallel ETL with the topic expression (Joel Bernstein)
  2942. * SOLR-9275: XML QueryParser support (defType=xmlparser) now extensible via configuration.
  2943. (Christine Poerschke)
  2944. * SOLR-9200: Add Delegation Token Support to Solr.
  2945. (Gregory Chanan)
  2946. * SOLR-9038: Solr core snapshots: The current commit can be snapshotted which retains the commit and associates it with
  2947. a name. The core admin API can create snapshots, list them, and delete them. Snapshot names can be referenced in
  2948. doing a core backup, and in replication. Snapshot metadata is stored in a new snapshot_metadata/ dir.
  2949. (Hrishikesh Gadre via David Smiley)
  2950. * SOLR-9279: New boolean comparison function queries comparing numeric arguments: gt, gte, lt, lte, eq
  2951. (Doug Turnbull, David Smiley)
  2952. * SOLR-9252: Feature selection and logistic regression on text (Cao Manh Dat, Joel Bernstein)
  2953. * SOLR-6465: CDCR: fall back to whole-index replication when tlogs are insufficient.
  2954. (Noble Paul, Renaud Delbru, shalin)
  2955. * SOLR-9320: A REPLACENODE command to decommission an existing node with another new node
  2956. (noble, Nitin Sharma, Varun Thacker)
  2957. * SOLR-9318: A DELETENODE command to delete all replicas in that node (noble, Nitin Sharma, Varun Thacker)
  2958. Bug Fixes
  2959. ----------------------
  2960. * SOLR-9191: OverseerTaskQueue.peekTopN() fatally flawed (Scott Blum, Noble Paul)
  2961. * SOLR-9199: ZkController#publishAndWaitForDownStates logic is inefficient (Hrishikesh Gadre)
  2962. * SOLR-9161: Change SolrPluginUtils.invokeSetters implementation to accommodate setter variants.
  2963. (Christine Poerschke, Steve Rowe, Uwe Schindler)
  2964. * SOLR-9234: srcField parameter works only when all fields are captured in the /update/json/docs
  2965. endpoint (noble)
  2966. * SOLR-8546: SOLR-8546: TestLazyCores is failing a lot on the Jenkins cluster. (Erick Erickson)
  2967. * SOLR-9237: DefaultSolrHighlighter.doHighlightingByFastVectorHighlighter can't be overidden (janhoy)
  2968. * SOLR-8626: 404 error when clicking nodes in cloud graph view in angular UI. (janhoy, Trey Grainger via shalin)
  2969. * SOLR-9254: GraphTermsQueryQParserPlugin throws NPE when field being searched is not present in segment
  2970. (Joel Bernstein)
  2971. * SOLR-8657: Fix SolrRequestInfo error logs if QuerySenderListener is being used (Pascal Chollet,
  2972. Tomás Fernández Löbbe)
  2973. * SOLR-8777: Duplicate Solr process can cripple a running process. (Jessica Cheng Mallet, Scott Blum, shalin)
  2974. * SOLR-9246: If the JDBCStream sees an unknown column type it will now throw a detailed exception. (Dennis Gove)
  2975. * SOLR-9181: Fix some races in CollectionStateWatcher API (Alan Woodward, Scott
  2976. Blum)
  2977. * SOLR-9235: Fixed NPE when using non-numeric range query in deleteByQuery (hossman)
  2978. * SOLR-9088: Fixed TestManagedSchemaAPI failures which exposed race conditions in the schema API ( Varun Thacker, noble)
  2979. * SOLR-9207: PeerSync recovery failes if number of updates requested is high. A new useRangeVersions config option
  2980. is introduced (defaults to true) to send version ranges instead of individual versions for peer sync.
  2981. (Pushkar Raste, shalin)
  2982. * SOLR-8858: SolrIndexSearcher#doc() completely ignores field filters unless lazy field loading is enabled.
  2983. (Caleb Rackliffe, David Smiley, shalin)
  2984. * SOLR-9236: AutoAddReplicas will append an extra /tlog to the update log location on replica failover.
  2985. (Eungsop Yoo, Mark Miller)
  2986. * SOLR-9291: ZkSolrResourceLoader should not retry fetching resources if the server has been shutdown.
  2987. (shalin)
  2988. * SOLR-9287: Including 'score' in the 'fl' param when doing an RTG no longer causes an NPE
  2989. (hossman, Ishan Chattopadhyaya)
  2990. * SOLR-7280: In cloud-mode sort the cores smartly before loading & limit threads to improve cluster stability
  2991. (noble, Erick Erickson, shalin)
  2992. * SOLR-9285: Fixed AIOOBE when using ValueSourceAugmenter in single node RTG (hossman)
  2993. * SOLR-9288: Fix [docid] transformer to return -1 when used in RTG with uncommitted doc (hossman)
  2994. * SOLR-9309: Fix SolrCloud RTG response structure when multi ids requested but only 1 found (hossman)
  2995. * SOLR-9334: CloudSolrClient.collectionStateCache is unbounded (noble)
  2996. * SOLR-9339: NPE in CloudSolrClient when the response is null (noble)
  2997. * SOLR-8596: Web UI doesn't correctly generate queries which include local parameters (Alexandre Rafalovitch, janhoy)
  2998. * SOLR-8645: managed-schema is now syntax highlighted in cloud->Tree view (Alexandre Rafalovitch via janhoy)
  2999. * SOLR-8379: UI Cloud->Tree view now shows .txt files correctly (Alexandre Rafalovitch via janhoy)
  3000. * SOLR-9003: New Admin UI's Dataimport screen now correctly displays DIH Debug output (Alexandre Rafalovitch)
  3001. * SOLR-9308: Fix distributed RTG to forward request params, fixes fq and non-default fl params (hossman)
  3002. * SOLR-9179: NPE in IndexSchema using IBM JDK (noble, Colvin Cowie)
  3003. * SOLR-9397: Config API does not support adding caches (noble)
  3004. * SOLR-9405: ConcurrentModificationException in ZkStateReader.getStateWatchers.
  3005. (Alan Woodward, Edward Ribeiro, shalin)
  3006. * SOLR-9232: Admin UI now fully implements Swap Cores interface (Alexandre Rafalovitch)
  3007. * SOLR-8715: Admin UI's Schema screen now works for fields with stored=false and some content indexed (Alexandre Rafalovitch)
  3008. * SOLR-8911: In Admin UI, enable scrolling for overflowing Versions and JVM property values (Alexandre Rafalovitch)
  3009. * SOLR-9002: Admin UI now correctly displays json and text files in the collection/Files screen (Upayavira, Alexandre Rafalovitch)
  3010. * SOLR-8993: Admin UI now correctly supports multiple DIH handler end-points (Upayavira, Alexandre Rafalovitch)
  3011. * SOLR-9032: Admin UI now correctly implements Create Alias command (Upayavira, Alexandre Rafalovitch)
  3012. * SOLR-9391: LBHttpSolrClient.request now correctly returns Rsp.server when
  3013. previously skipped servers were successfully tried. (Christine Poerschke)
  3014. Optimizations
  3015. ----------------------
  3016. * SOLR-9219: Make hdfs blockcache read buffer sizes configurable and improve cache concurrency. (Mark Miller)
  3017. * SOLR-9264: Optimize ZkController.publishAndWaitForDownStates to not read all collection states and
  3018. watch relevant collections instead. (Hrishikesh Gadre, shalin)
  3019. * SOLR-9335: Solr cache/search/update stats counters now use LongAdder which are supposed to have higher throughput
  3020. under high contention. (Varun Thacker)
  3021. * SOLR-9350: JSON Facets: method="stream" will no longer always uses & populates the filter cache, likely
  3022. flushing it. 'cacheDf' can be configured to set a doc frequency threshold, now defaulting to 1/16th doc count.
  3023. Using -1 Disables use of the cache. (David Smiley, yonik)
  3024. Other Changes
  3025. ----------------------
  3026. * SOLR-9195: Remove unnecessary allocation and null check in UpdateRequestProcessorChain's
  3027. getReqProcessors method. (Christine Poerschke)
  3028. * SOLR-8981: Upgraded Extraction module to Apache Tika 1.13.
  3029. (Tim Allison, Lewis John McGibbney via Uwe Schindler)
  3030. * SOLR-9076: Update to Hadoop 2.7.2
  3031. (Mark Miller, Gregory Chanan)
  3032. * SOLR-8787: TestAuthenticationFramework should not extend TestMiniSolrCloudCluster. (Trey Cahill via shalin)
  3033. * SOLR-9180: More comprehensive tests of psuedo-fields for RTG and SolrCloud requests (hossman)
  3034. * SOLR-7930: Comment out trappy references to example docs in elevate.xml files (Erick Erickson)
  3035. * SOLR-9277: Clean up some more remnants of supporting old and new style solr.xml in tests (Erick Erickson)
  3036. * SOLR-9163: Sync up basic_configs and data_driven_schema_configs, removing almost all differences
  3037. except what is required for schemaless. (yonik)
  3038. * SOLR-9340: Change ZooKeeper disconnect and session expiry related logging from INFO to WARN to
  3039. make debugging easier (Varun Thacker)
  3040. * SOLR-9358: [AngularUI] In Cloud->Tree file view area, collapse metadata by default (janhoy)
  3041. * SOLR-9256: asserting hasNext() contract in JdbcDataSource in DataImportHandler (Kristine Jetzke via Mikhai Khludnev)
  3042. * SOLR-9209: extracting JdbcDataSource.createResultSetIterator() for extension (Kristine Jetzke via Mikhai Khludnev)
  3043. * SOLR-9353: Factor out ReRankQParserPlugin.ReRankQueryRescorer private class. (Christine Poerschke)
  3044. * SOLR-9392: Fixed CDCR Test failures which were due to leaked resources. (shalin)
  3045. * SOLR-9385: Add QParser.getParser(String,SolrQueryRequest) variant. (Christine Poerschke)
  3046. * SOLR-9367: Improved TestInjection's randomization logic to use LuceneTestCase.random() (hossman)
  3047. * SOLR-9331: Remove ReRankQuery's length constructor argument and member. (Christine Poerschke)
  3048. * SOLR-9092: For the delete replica command we attempt to send the core admin delete request only
  3049. if that node is actually up. (Jessica Cheng Mallet, Varun Thacker)
  3050. * SOLR-9410: Make ReRankQParserPlugin's private ReRankWeight a public class of its own. (Christine Poerschke)
  3051. * SOLR-9404: Refactor move/renames in JSON FacetProcessor and FacetFieldProcessor. (David Smiley)
  3052. * SOLR-9421: Refactored out OverseerCollectionMessageHandler to smaller classes (noble)
  3053. * SOLR-8643: BlockJoinFacetComponent is substituted by BlockJoinFacetDocSetComponent. It doesn't need to change solrconfig.xml (Mikhail Khludnev)
  3054. * SOLR-8644: Test asserts that block join facets work with parent level fq exclusions. (Dr. Oleg Savrasov via Mikhail Khludnev)
  3055. ================== 6.1.0 ==================
  3056. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  3057. Versions of Major Components
  3058. ---------------------
  3059. Apache Tika 1.7
  3060. Carrot2 3.12.0
  3061. Velocity 1.7 and Velocity Tools 2.0
  3062. Apache UIMA 2.3.1
  3063. Apache ZooKeeper 3.4.6
  3064. Jetty 9.3.8.v20160314
  3065. Upgrading from Solr any prior release
  3066. ----------------------
  3067. * If you use historical dates, specifically on or before the year 1582, you should re-index.
  3068. Detailed Change List
  3069. ----------------------
  3070. New Features
  3071. ----------------------
  3072. * SOLR-8782: Add asynchronous sugar methods to the SolrJ Collections API. You
  3073. can now call .processAsync() to run a method asynchronously, or
  3074. .processAndWait() to wait for a call to finish without holding HTTP
  3075. collections open. (Alan Woodward)
  3076. * SOLR-8765: Enforce required parameters at query construction time in the SolrJ
  3077. Collections API, add static factory methods, and deprecate old setter methods.
  3078. (Alan Woodward, Jason Gerlowski)
  3079. * SOLR-8842: authorization APIs do not use name as an identifier for a permission
  3080. for update, delete commands and 'before' attribute (noble)
  3081. * SOLR-8814: Support GeoJSON response writer and general spatial formatting. Adding
  3082. &wt=geojson&geojson.field=<your geometry field>
  3083. Will return a FeatureCollection for each SolrDocumentList and a Feature with the
  3084. requested geometry for each SolrDocument. The requested geometry field needs
  3085. to either extend AbstractSpatialFieldType or store a GeoJSON string. This also adds
  3086. a [geo] DocumentTransformer that can return the Shape in a variety of formats:
  3087. &fl=[geo f=<your geometry field> w=(GeoJSON|WKT|POLY)]
  3088. The default format is GeoJSON. For information on the supported formats, see:
  3089. https://github.com/locationtech/spatial4j/blob/master/FORMATS.md
  3090. To return the FeatureCollection as the root element, add '&omitHeader=true" (ryan)
  3091. * SOLR-8859: Spatial fields like RPT can now be configured to use Spatial4j registered shape formats
  3092. e.g. via format="GeoJSON". (ryan, David Smiley)
  3093. * SOLR-445: new TolerantUpdateProcessorFactory to support skipping update commands that cause
  3094. failures when sending multiple updates in a single request.
  3095. (Erick Erickson, Tomás Fernández Löbbe, Anshum Gupta, hossman)
  3096. * SOLR-8890: New static method in DistributedUpdateProcessorFactory to allow UpdateProcessorFactories
  3097. to indicate request params that should be forwarded when DUP distributes updates. (hossman)
  3098. * SOLR-8888: Add shortestPath Streaming Expression. This expression performs a breadth first
  3099. graph traversal to find the shortest path(s) in an unweighted, directed graph stored in a
  3100. SolrCloud collection. (Joel Bernstein)
  3101. * SOLR-8938: Add optional --excluderegex argument to ZkCLI. (Christine Poerschke)
  3102. * SOLR-8976: Add SolrJ support for REBALANCELEADERS Collections API (Anshum Gupta)
  3103. * SOLR-8962: Add sort Streaming Expression. The expression takes a single input stream and a
  3104. comparator and outputs tuples in stable order of the comparator. (Dennis Gove)
  3105. * SOLR-8349: Allow sharing of large in memory data structures across cores (Gus Heck, noble)
  3106. * SOLR-9009: Adds ability to get an Explanation of a Streaming Expression (Dennis Gove)
  3107. * SOLR-8918: Adds Streaming to the admin page under the collections section. Includes
  3108. ability to see graphically the expression explanation (Dennis Gove)
  3109. * SOLR-8913: When using a shared filesystem we should store data dir and tlog dir locations in
  3110. the cluster state. (Mark Miller)
  3111. * SOLR-8809: Implement Connection.prepareStatement (Kevin Risden)
  3112. * SOLR-9020: Implement StatementImpl/ResultSetImpl get/set fetch* methods and proper errors for traversal methods (Kevin Risden)
  3113. * SOLR-9041: 'core-admin-read' and 'core-admin-edit' are well known permissions (noble)
  3114. * SOLR-8986: Add Random Streaming Expression (Joel Bernstein)
  3115. * SOLR-8925: Add gatherNodes Streaming Expression to support breadth first traversals (Joel Bernstein)
  3116. * SOLR-9027: Add GraphTermsQuery to limit traversal on high frequency nodes (Joel Bernstein, David Smiley)
  3117. * SOLR-5750: Add /admin/collections?action=BACKUP and RESTORE assuming access to a shared file system.
  3118. (Varun Thacker, David Smiley)
  3119. * SOLR-9049: RuleBasedAuthorizationPlugin supports regex in param values eg: "command" : "REGEX:(i?)create" (noble)
  3120. * SOLR-8972: Add GraphHandler and GraphMLResponseWriter to support graph visualizations (Joel Bernstein)
  3121. * SOLR-9026: Extend facet telemetry support to legacy (non-json) facets under "debug/facet-debug" in
  3122. the response. (Michael Sun, yonik)
  3123. * SOLR-7117: Provide an option to limit the maximum number of cores that can be created on a node by the
  3124. Auto Add Replica feature. For this you can set a "maxCoresPerNode" property via the Cluster Property API
  3125. (Varun Thacker, Mark Miller)
  3126. * SOLR-8208: [subquery] document transformer executes separate requests per result document. (Cao Manh Dat via Mikhail Khludnev)
  3127. * SOLR-8323, SOLR-9113: Add CollectionStateWatcher API (Alan Woodward, Scott Blum)
  3128. * SOLR-8988: Adds query option facet.distrib.mco which when set to true allows the use of facet.mincount=1 in cloud mode.
  3129. (Keith Laban, Dennis Gove)
  3130. * SOLR-8583: Apply highlighting to hl.alternateField by default for Default and FastVectorHighlighter.
  3131. Turn off with hl.highlightAlternate=false (janhoy, David Smiley)
  3132. * SOLR-7123: '/update/json/docs' path supports nested documents (noble)
  3133. * SOLR-8610: Resolve variables in encryptKeyFile of DIH's JdbcDataSource (Kristine Jetzke via Mikhail Khludnev)
  3134. * SOLR-7739: Add a new ClassificationUpdateProcessorFactory. (Alessandro Benedetti via Tommaso Teofili)
  3135. Bug Fixes
  3136. ----------------------
  3137. * SOLR-8855: The HDFS BlockDirectory should not clean up it's cache on shutdown. (Mark Miller)
  3138. * SOLR-8948: OverseerTaskQueue.containsTaskWithRequestId encounters json parse error if a
  3139. SolrResponse node is in the overseer queue. (Jessica Cheng Mallet via shalin)
  3140. * SOLR-7729: ConcurrentUpdateSolrClient ignores the collection parameter in some methods.
  3141. (Nicolas Gavalda, Jorge Luis Betancourt Gonzalez via Mark Miller)
  3142. * SOLR-8662: SchemaManager waits correctly for replicas to be notified of a new change.
  3143. (sarowe, Noble Paul, Varun Thacker)
  3144. * SOLR-8983: Cleanup clusterstate and replicas for a failed create collection request
  3145. (Varun Thacker, Anshum Gupta)
  3146. * SOLR-9029: fix rare ZkStateReader visibility race during collection state format update (Scott Blum, hossman)
  3147. * SOLR-9046: Fix solr.cmd that wrongly assumes Jetty will always listen on 0.0.0.0.
  3148. (Bram Van Dam, Uwe Schindler)
  3149. * SOLR-9064: Adds an explanation of the incoming stream to an UpdateStream's explanation (Dennis Gove)
  3150. * SOLR-9128: Fix error handling issues in Streaming classes (Joel Bernstein)
  3151. * SOLR-9151: Fix SolrCLI so that bin/solr -e cloud example can be run from any CWD (janhoy)
  3152. * SOLR-9141: Fix ClassCastException when using the /sql handler count() function with
  3153. single-shard collections (Minoru Osuka via James Dyer)
  3154. * SOLR-9165: Spellcheck does not return collations if "maxCollationTries" is used with "cursorMark".
  3155. (James Dyer)
  3156. * SOLR-8940: Fix group.sort option (hossman)
  3157. * SOLR-8612: closing JDBC Statement on failures in DataImportHandler (DIH) (Kristine Jetzke via Mikhail Khludnev)
  3158. * SOLR-8676: keep LOG4J_CONFIG in solr.cmd (Kristine Jetzke via Mikhail Khludnev)
  3159. * SOLR-9198: config APIs unable to add multiple values with same name (noble)
  3160. * SOLR-8812: edismax: turn off mm processing if no explicit mm spec is provided
  3161. and there are explicit operators (except for AND) - addresses problems caused by SOLR-2649.
  3162. (Greg Pendlebury, Jan Høydahl, Erick Erickson, Steve Rowe)
  3163. * SOLR-9176: facet method ENUM was sometimes unnecessarily being rewritten to
  3164. FCS, causing slowdowns (Alessandro Benedetti, Jesse McLaughlin, Alan Woodward)
  3165. Optimizations
  3166. ----------------------
  3167. * SOLR-8722: Don't force a full ZkStateReader refresh on every Overseer operation.
  3168. (Scott Blum via shalin)
  3169. * SOLR-8745: Deprecate costly ZkStateReader.updateClusterState(), replace with a narrow
  3170. forceUpdateCollection(collection) (Scott Blum via shalin)
  3171. * SOLR-8856: Do not cache merge or 'read once' contexts in the hdfs block cache. (Mark Miller, Mike Drob)
  3172. * SOLR-8922: Optimize filter creation (DocSetCollector) to minimize the amount of garbage
  3173. produced. This resulted in up to 3x throughput when small filter creation was the bottleneck,
  3174. as well as orders of magnitude less garbage. (Jeff Wartes, yonik)
  3175. * SOLR-8937: bin/post (SimplePostTool) now streams the standard input instead of buffering fully.
  3176. (David Smiley)
  3177. * SOLR-8973: Zookeeper frenzy when a core is first created. (Janmejay Singh, Scott Blum, shalin)
  3178. * SOLR-9014: Deprecate and reduce usage of ClusterState methods which may make calls to ZK via
  3179. the lazy collection reference. (Scott Blum, shalin)
  3180. * SOLR-9106: Cluster properties are now cached on ZkStateReader. (Alan Woodward)
  3181. * SOLR-9147: Upgrade commons-io to 2.5, avoid expensive array resizing in EmbeddedSolrServer (Mikhail Khludnev)
  3182. * SOLR-8744: Overseer operations performed with fine grained mutual exclusion (noble, Scott Blum)
  3183. * SOLR-9204: Improve performance of getting directory size with hdfs. (Mark Miller)
  3184. Other Changes
  3185. ----------------------
  3186. * SOLR-8860: Remove back-compat handling of router format made in SOLR-4221 in 4.5.0. (shalin)
  3187. * SOLR-8866: UpdateLog will now throw an exception if it doesn't know how to serialize a value.
  3188. (David Smiley)
  3189. * SOLR-8842: security rules made more foolproof by asking the requesthandler about the well known
  3190. permission name.
 The APIs are also modified to ue 'index' as the unique identifier instead of name.
  3191. Name is an optional attribute
 now and only to be used when specifying well-known permissions (noble)
  3192. * SOLR-5616: Simplifies grouping code to use ResponseBuilder.needDocList() to determine if it needs to
  3193. generate a doc list for grouped results. (Steven Bower, Keith Laban, Dennis Gove)
  3194. * SOLR-8869: Optionally disable printing field cache entries in SolrFieldCacheMBean (Gregory Chanan)
  3195. * SOLR-8892: Allow SolrInfoMBeans to return different statistics for /jmx vs web ui calls.
  3196. (Gregory Chanan, Mark Miller)
  3197. * SOLR-8097: Implement builder pattern design for constructing SolrJ clients and also deprecate direct construction
  3198. of client objects. (Jason Gerlowski, Shawn Heisey, Anshum Gupta)
  3199. * SOLR-9015: Adds SelectStream as a default function in the StreamHandler (Dennis Gove)
  3200. * SOLR-8929: Add an idea module for solr/server to enable launching start.jar (Scott Blum, Steve Rowe)
  3201. * SOLR-8933: Solr should not close container streams. (Mike Drob, Uwe Schindler, Mark Miller)
  3202. * SOLR-9037: Replace multiple "/replication" strings with one static constant. (Christine Poerschke)
  3203. * SOLR-9047: zkcli should allow alternative locations for log4j configuration (Gregory Chanan)
  3204. * SOLR-9066: Make CountMetric return long instead of double (Kevin Risden)
  3205. * SOLR-9065, SOLR-9072, SOLR-9132: Migrate some distributed tests to SolrCloudTestCase. (Alan Woodward)
  3206. * SOLR-8184: Negative tests for JDBC Connection String (Susheel Kumar, Jason Gerlowski, Kevin Risden)
  3207. * SOLR-8458: Add Streaming Expressions tests for parameter substitution (Joel Bernstein, Cao Manh Dat, Dennis Gove, Kevin Risden)
  3208. * SOLR-8467: CloudSolrStream and FacetStream should take a SolrParams object rather than a
  3209. Map<String, String> to allow more complex Solr queries to be specified. (Erick Erickson)
  3210. * SOLR-9083: Remove all <types> and <fields> from schemas. NOTE: as in the JIRA I left a few in to insure the (no cost)
  3211. back compat. (Erick Erickson)
  3212. * SOLR-9105: Fix a bunch of typos across 103 files (Bartosz Krasiński via janhoy)
  3213. * SOLR-9159: New cloud based concurrent atomic update test (hossman)
  3214. * SOLR-9119: several static methods in ValueSourceParser have been made private (hossman)
  3215. * SOLR-9110: Move JoinFromCollection- SubQueryTransformer- BlockJoinFacet- Distrib Tests to SolrCloudTestCase (Mikhail Khludnev)
  3216. * SOLR-9136: Separate out the error statistics into server-side error vs client-side error
  3217. (Jessica Cheng Mallet via Erick Erickson)
  3218. * SOLR-9107: new @RandomizeSSL annotation for more fine grained control of SSL testing (hossman, sarowe)
  3219. * SOLR-9081: Make SolrTestCaseJ4.beforeClass() / .afterClass() public so it
  3220. works with Mockito (Georg Sorst, Alan Woodward)
  3221. * SOLR-8445: fix line separator in log4j.properties files (Ahmet Arslan via Mikhail Khludnev)
  3222. * SOLR-2199: DataImportHandler (DIH) JdbcDataSource supports multiple resultsets per query (Kristine Jetzke, Mark Waddle via Mikhail Khludnev)
  3223. ================== 6.0.1 ==================
  3224. Upgrade Notes
  3225. ----------------------
  3226. * If you use historical dates, specifically on or before the year 1582, you should re-index.
  3227. Bug Fixes
  3228. ----------------------
  3229. * SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. (Scott Blum, hoss,
  3230. sarowe, Erick Erickson, Mark Miller, shalin)
  3231. * SOLR-9016: Fix SolrIdentifierValidator to not allow empty identifiers. (Shai Erera)
  3232. * SOLR-8992: Restore Schema API GET method functionality removed in 6.0 (noble, Steve Rowe)
  3233. * SOLR-9080, SOLR-9085: (6.0 bug) For years <= 1582, date math (round,add,sub) introduced error. Range faceting
  3234. on such dates was also affected. With this fixed, this is the first release range faceting works on BC years.
  3235. (David Smiley)
  3236. * SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is
  3237. hard coded to 256. (Mark Miller, yonik, Gregory Chanan)
  3238. * SOLR-8902: Make sure ReturnFields only returns the requested fields from (fl=) evn when
  3239. DocumentTransformers ask for getExtraRequestFields() (ryan)
  3240. * SOLR-8875: SolrCloud Overseer clusterState could unexpectedly be null resulting in NPE.
  3241. (Scott Blum via David Smiley)
  3242. * SOLR-8946: bin/post failed to detect stdin usage on Ubuntu; maybe other unixes. (David Smiley)
  3243. * SOLR-9004: Fix "name" field type definition in films example. (Alexandre Rafalovitch via Varun Thacker)
  3244. * SOLR-8990: Fix top term links from schema browser page to use {!term} parser (hossman)
  3245. * SOLR-8971: Preserve root cause when wrapping exceptions (hossman)
  3246. * SOLR-9034: Atomic updates failed to work when there were copyField targets that had docValues
  3247. enabled. (Karthik Ramachandran, Ishan Chattopadhyaya, yonik)
  3248. * SOLR-9028: Fixed some test related bugs preventing SSL + ClientAuth from ever being tested (hossman)
  3249. * SOLR-9059: NPE in SolrClientCache following collection reload (Joel Bernstein, Ryan Yacyshyn)
  3250. * SOLR-8792: ZooKeeper ACL support fixed. (Esther Quansah, Ishan Chattopadhyaya, Steve Rowe)
  3251. * SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter.
  3252. (Scott Blum, Mark Miller, shalin)
  3253. * SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart.
  3254. (Lior Sapir, Mark Miller, shalin)
  3255. * SOLR-9058: Makes HashJoinStream and OuterHashJoinStream support different field names in the
  3256. incoming streams, eg. fieldA=fieldB. (Dennis Gove, Stephan Osthold)
  3257. * SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. (Christine Poerschke)
  3258. * SOLR-9118: HashQParserPlugin should trim partition keys (Joel Bernstein)
  3259. * SOLR-9117: The first SolrCore is leaked after reload. (Jessica Cheng Mallet via shalin)
  3260. * SOLR-9116: Race condition causing occasional SolrIndexSearcher leak when SolrCore is reloaded.
  3261. (Jessica Cheng Mallet via shalin)
  3262. * SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists.
  3263. (Khalid Alharbi, Marius Grama via Steve Rowe)
  3264. * SOLR-9134: Fix RestManager.addManagedResource return value. (Christine Poerschke)
  3265. Other Changes
  3266. ----------------------
  3267. * SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy.
  3268. (Jason Gerlowski, Benoit Vanalderweireldt, shalin)
  3269. * SOLR-8967: In SolrCloud mode, under the 'Core Selector' dropdown in the UI the Replication tab won't be displayed
  3270. anymore. The Replication tab is only beneficial to users running Solr in master-slave mode. (Varun Thacker)
  3271. * SOLR-8985: Added back support for 'includeDynamic' flag to /schema/fields endpoint (noble)
  3272. * SOLR-9131: Fix "start solr" text in cluster.vm Velocity template (janhoy)
  3273. * SOLR-9053: Upgrade commons-fileupload to 1.3.1, fixing a potential vulnerability (Jeff Field, Mike Drob via janhoy)
  3274. * SOLR-9115: Get rid of javax.xml.bind.DatatypeConverter in SimplePostTool
  3275. for Java 9 compatibility. (Uwe Schindler)
  3276. * SOLR-5776,SOLR-9068,SOLR-8970:
  3277. - Refactor SSLConfig so that SSLTestConfig can provide SSLContexts using a NullSecureRandom
  3278. to prevent SSL tests from blocking on entropy starved machines.
  3279. - SSLTestConfig: Alternate (psuedo random) NullSecureRandom for Constants.SUN_OS.
  3280. - SSLTestConfig: Replace NullSecureRandom w/ NotSecurePsuedoRandom.
  3281. - Change SSLTestConfig to use a keystore file that is included as a resource in the
  3282. test-framework jar so users subclassing SolrTestCaseJ4 don't need to preserve magic paths.
  3283. (hossman)
  3284. ================== 6.0.0 ==================
  3285. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
  3286. Versions of Major Components
  3287. ---------------------
  3288. Apache Tika 1.7
  3289. Carrot2 3.12.0
  3290. Velocity 1.7 and Velocity Tools 2.0
  3291. Apache UIMA 2.3.1
  3292. Apache ZooKeeper 3.4.6
  3293. Jetty 9.3.8.v20160314
  3294. System Requirements
  3295. ----------------------
  3296. * LUCENE-5950: Move to Java 8 as minimum Java version.
  3297. (Ryan Ernst, Uwe Schindler)
  3298. Upgrading from Solr 5.x
  3299. ----------------------
  3300. * The deprecated SolrServer and subclasses have been removed, use SolrClient
  3301. instead.
  3302. * The deprecated <nrtMode> configuration in solrconfig.xml has been removed.
  3303. Please remove it from solrconfig.xml.
  3304. * SolrClient.shutdown() has been removed, use SolrClient.close() instead.
  3305. * The deprecated zkCredientialsProvider element in solrcloud section of solr.xml
  3306. is now removed. Use the correct spelling (zkCredentialsProvider) instead.
  3307. * SOLR-7957: internal/expert - ResultContext was significantly changed and expanded
  3308. to allow for multiple full query results (DocLists) per Solr request.
  3309. TransformContext was rendered redundant and was removed. (yonik)
  3310. * Several changes have been made regarding the "Similarity" used in Solr, in order to provide
  3311. better default behavior for new users. There are 3 key impacts of these changes on existing
  3312. users who upgrade:
  3313. * DefaultSimilarityFactory has been removed. If you currently have DefaultSimilarityFactory explicitly
  3314. referenced in your schema.xml, edit your config to use the functionally identical
  3315. ClassicSimilarityFactory. See SOLR-8239 for more details.
  3316. * The implicit default Similarity used when no <similarity/> is configured in schema.xml has
  3317. been changed to SchemaSimilarityFactory. Users who wish to preserve back-compatible behavior should
  3318. either explicitly configure ClassicSimilarityFactory, or ensure that the luceneMatchVersion
  3319. for the collection is less then 6.0. See SOLR-8270 + SOLR-8271 for details.
  3320. * SchemaSimilarityFactory has been modified to use BM25Similarity as the default for fieldTypes that
  3321. do not explicitly declare a Similarity. The legacy behavior of using ClassicSimilarity as the
  3322. default will occur if the luceneMatchVersion for the collection is less then 6.0, or the
  3323. 'defaultSimFromFieldType' configuration option may be used to specify any default of your choosing.
  3324. See SOLR-8261 + SOLR-8329 for more details.
  3325. * If your solrconfig.xml file doesn't explicitly mention the schemaFactory to use then Solr will choose
  3326. the ManagedIndexSchemaFactory by default. Previously it would have chosen ClassicIndexSchemaFactory.
  3327. This means that the Schema APIs ( /<collection>/schema ) are enabled and the schema is mutable.
  3328. When Solr starts your schema.xml file will be renamed to managed-schema. If you want to retain the old behaviour
  3329. then please ensure that the solrconfig.xml explicitly uses the ClassicIndexSchemaFactory :
  3330. <schemaFactory class="ClassicIndexSchemaFactory"/> or your luceneMatchVersion in the solrconfig.xml is less than 6.0
  3331. * SolrIndexSearcher.QueryCommand and QueryResult were moved to their own classes. If you reference them
  3332. in your code, you should import them under o.a.s.search (or use your IDE's "Organize Imports").
  3333. * SOLR-8698: 'useParams' attribute specified in request handler cannot be overridden from request params
  3334. * When requesting stats in date fields, "sum" is now a double value instead of a date. See SOLR-8671
  3335. * SOLR-8736: The deprecated GET methods for schema are now accessible through the bulk API. The output
  3336. has less details and is not backward compatible.
  3337. * In the past, Solr guaranteed that retrieval of multi-valued fields would preserve the order of values.
  3338. Because values may now be retrieved from column-stored fields (docValues="true"), in conjunction with the
  3339. fact that docValues do not currently preserve order, means that users should set useDocValuesAsStored="false"
  3340. to prevent future optizations from using the column-stored values over the row-stored values when
  3341. fields have both stored="true" and docValues="true".
  3342. * Formatted date-times from Solr have some differences. If the year is more than 4 digits, there is a leading '+'.
  3343. When there is a non-zero number of milliseconds, it is padded with zeros to 3 digits. Negative year (BC) dates are
  3344. now possible. Parsing: It is now an error to supply a portion of the date out of its, range, like 67 seconds.
  3345. * SolrJ no longer includes DateUtil. If for some reason you need to format or parse dates, simply use Instant.format()
  3346. and Instant.parse().
  3347. * If you are using an RPT or other spatial field referencing Spatial4j in its configuration, then replace the string
  3348. "com.spatial4j.core" with "org.locationtech.spatial4j". Consider updating direct to Solr 6.2 which accepts the
  3349. old value, albeit with a warning.
  3350. Detailed Change List
  3351. ----------------------
  3352. New Features
  3353. ----------------------
  3354. * SOLR-3085: New edismax param mm.autoRelax which helps in certain cases of the stopwords/zero-hits issue (janhoy)
  3355. * SOLR-7560: Parallel SQL Support (Joel Bernstein)
  3356. * SOLR-7707: Add StreamExpression Support to RollupStream (Dennis Gove, Joel Bernstein)
  3357. * SOLR-7903: Add the FacetStream to the Streaming API and wire it into the SQLHandler (Joel Bernstein)
  3358. * SOLR-7986: JDBC Driver for SQL Interface (Uwe Schindler, Joel Bernstein)
  3359. * SOLR-8038: Add the StatsStream to the Streaming API and wire it into the SQLHandler (Joel Bernstein)
  3360. * SOLR-8086: Add support for SELECT DISTINCT queries to the SQL interface (Joel Bernstein)
  3361. * SOLR-7543: Basic graph traversal query
  3362. Example: {!graph from="node_id" to="edge_id"}id:doc_1
  3363. (Kevin Watters, yonik)
  3364. * SOLR-6273: Cross Data Center Replication. Active/passive replication for separate
  3365. SolrClouds hosted on separate data centers. (Renaud Delbru, Yonik Seeley via Erick Erickson)
  3366. * SOLR-7938: MergeStream now supports merging more than 2 streams together (Dennis Gove)
  3367. * SOLR-8198: Change ReducerStream to use StreamEqualitor instead of StreamComparator (Dennis Gove)
  3368. * SOLR-8268: StatsStream now implements the Expressible interface (Dennis Gove)
  3369. * SOLR-7584: Adds Inner and LeftOuter Joins to the Streaming API and Streaming Expressions (Dennis Gove, Corey Wu)
  3370. * SOLR-8188: Adds Hash and OuterHash Joins to the Streaming API and Streaming Expressions (Dennis Gove)
  3371. * SOLR-7669: Add SelectStream and Tuple Operations to the Streaming API and Streaming Expressions (Dennis Gove)
  3372. * SOLR-8337: Add ReduceOperation and wire it into the ReducerStream (Joel Bernstein)
  3373. * SOLR-7904: Add StreamExpression Support to FacetStream (Dennis Gove)
  3374. * SOLR-6398: Add IterativeMergeStrategy to support running Parallel Iterative Algorithms inside of Solr
  3375. (Joel Bernstein)
  3376. * SOLR-8436: Real-time get now supports filters. (yonik)
  3377. * SOLR-7535: Add UpdateStream to Streaming API and Streaming Expression (Jason Gerlowski, Joel Bernstein)
  3378. * SOLR-8479: Add JDBCStream to Streaming API and Streaming Expressions for integration with external data sources
  3379. (Dennis Gove)
  3380. * SOLR-8002: Add column alias support to the Parallel SQL Interface (Joel Bernstein)
  3381. * SOLR-7525: Add ComplementStream and IntersectStream to the Streaming API and Streaming Expressions
  3382. (Dennis Gove, Jason Gerlowski, Joel Bernstein)
  3383. * SOLR-8415: Provide command to switch between non/secure mode in ZK
  3384. (Mike Drob, Gregory Chanan)
  3385. * SOLR-8556: Add ConcatOperation to be used with the SelectStream (Joel Bernstein, Dennis Gove)
  3386. * SOLR-8550: Add asynchronous DaemonStreams to the Streaming API (Joel Bernstein)
  3387. * SOLR-8285: Ensure the /export handler works with NULL field values (Joel Bernstein)
  3388. * SOLR-8502: Improve Solr JDBC Driver to support SQL Clients like DBVisualizer (Kevin Risden, Joel Bernstein)
  3389. * SOLR-8588: Add TopicStream to the streaming API to support publish/subscribe messaging (Joel Bernstein, Kevin Risden)
  3390. * SOLR-8666: Adds header 'zkConnected' to response of SearchHandler and PingRequestHandler to notify the client when
  3391. a connection to zookeeper has been lost and there is a possibility of stale data on the node the request is coming
  3392. from. (Keith Laban, Dennis Gove)
  3393. * SOLR-8522: Make it possible to use ip fragments in replica placement rules , such as ip_1, ip_2 etc (Arcadius Ahouansou, noble)
  3394. * SOLR-8698: params.json can now specify 'appends' and 'invariants' (noble)
  3395. * SOLR-8831: allow _version_ field to be retrievable via docValues (yonik)
  3396. Bug Fixes
  3397. ----------------------
  3398. * SOLR-8386: Add field option in the new admin UI schema page loads up even when no schemaFactory has been
  3399. explicitly specified since the default is ManagedIndexSchemaFactory. (Erick Erickson, Upayavira, Varun Thacker)
  3400. * SOLR-8191: Guard against CloudSolrStream close method NullPointerException
  3401. (Kevin Risden, Joel Bernstein)
  3402. * SOLR-8485: SelectStream now properly handles non-lowercase and/or quoted select field names (Dennis Gove)
  3403. * SOLR-8525: Fix a few places that were failing to pass dimensional
  3404. values settings when copying a FieldInfo (Ishan Chattopadhyaya via
  3405. Mike McCandless)
  3406. * SOLR-8409: Ensures that quotes in solr params (eg. q param) are properly handled (Dennis Gove)
  3407. * SOLR-8640: CloudSolrClient does not send credentials for update request (noble, hoss)
  3408. * SOLR-8461: CloudSolrStream and ParallelStream can choose replicas that are not active
  3409. (Cao Manh Dat, Varun Thacker, Joel Bernstein)
  3410. * SOLR-8527: Improve JdbcTest to cleanup properly on failures (Kevin Risden, Joel Bernstein)
  3411. * SOLR-8578: Successful or not, requests are not always fully consumed by Solrj clients and we
  3412. count on HttpClient or the JVM. (Mark Miller)
  3413. * SOLR-8683: Always consume the full request on the server, not just in the case of an error.
  3414. (Mark Miller)
  3415. * SOLR-8416: The collections create API should return after all replicas are active.
  3416. (Michael Sun, Mark Miller, Alexey Serba)
  3417. * SOLR-8701: CloudSolrClient decides that there are no healthy nodes to handle a request too early.
  3418. (Mark Miller)
  3419. * SOLR-8694: DistributedMap/Queue can create too many Watchers and some code simplification.
  3420. (Scott Blum via Mark Miller)
  3421. * SOLR-8695: Ensure ZK watchers are not triggering our watch logic on connection events and
  3422. make this handling more consistent. (Scott Blum via Mark Miller)
  3423. * SOLR-8633: DistributedUpdateProcess processCommit/deleteByQuery call finish on DUP and
  3424. SolrCmdDistributor, which violates the lifecycle and can cause bugs. (hossman via Mark Miller)
  3425. * SOLR-8656: PeerSync should use same nUpdates everywhere. (Ramsey Haddad via Mark Miller)
  3426. * SOLR-8697, SOLR-8837: Scope ZK election nodes by session to prevent elections from interfering with each other
  3427. and other small LeaderElector improvements. (Scott Blum via Mark Miller, Alan
  3428. Woodward)
  3429. * SOLR-8599: After a failed connection during construction of SolrZkClient attempt to retry until a connection
  3430. can be made. (Keith Laban, Dennis Gove)
  3431. * SOLR-8497: Merge index does not mark the Directory objects it creates as 'done' and they are retained in the
  3432. Directory cache. (Sivlio Sanchez, Mark Miller)
  3433. * SOLR-8696: Start the Overseer before actions that need the overseer on init and when reconnecting after
  3434. zk expiration and improve init logic. (Scott Blum, Mark Miller)
  3435. * SOLR-8420: Fix long overflow in sumOfSquares for Date statistics. (Tom Hill, Christine Poerschke,
  3436. Tomás Fernández Löbbe)
  3437. * SOLR-8748: OverseerTaskProcessor limits number of concurrent tasks to just 10 even though the thread pool
  3438. size is 100. The limit has now been increased to 100. (Scott Blum, shalin)
  3439. * SOLR-8375: ReplicaAssigner rejects valid nodes (Kelvin Tan, noble)
  3440. * SOLR-8738: Fixed false success response when invalid deleteByQuery requests intially hit non-leader
  3441. cloud nodes (hossman)
  3442. * SOLR-8771: Multi-threaded core shutdown creates executor per core. (Mike Drob via Mark Miller)
  3443. * SOLR-8145: Fix position of OOM killer script when starting Solr in the background (Jurian Broertjes via
  3444. Timothy Potter)
  3445. * SOLR-8769: Fix document exclusion in mlt query parser in Cloud mode for schemas that have non-"id"
  3446. unique field (Erik Hatcher, Anshum Gupta)
  3447. * SOLR-8728: ReplicaAssigner throws NPE when a partial list of nodes are only participating in replica
  3448. placement. splitshard should preassign nodes using rules, if rules are present (noble, Shai Erera)
  3449. * SOLR-8779: Fix missing InterruptedException handling in ZkStateReader.java (Varun Thacker)
  3450. * SOLR-8449: Fix the core restore functionality to allow restoring multiple times on the same core
  3451. (Johannes Brucher, Varun Thacker)
  3452. * SOLR-8155: JSON Facet API - field faceting on a multi-valued string field without
  3453. docValues (i.e. UnInvertedField implementation), but with a prefix or with a sort
  3454. other than count, resulted in incorrect results. This has been fixed, and facet.prefix
  3455. support for facet.method=uif has been enabled. (Mikhail Khludnev, yonik)
  3456. * SOLR-8790: Collections API responses contain node name in the core-level responses that are
  3457. returned. (Anshum Gupta)
  3458. * SOLR-8804: Fix a race condition in the ClusterStatus API call whereby the call would fail when a concurrent delete
  3459. collection api command was executed (Alexey Serba, Varun Thacker)
  3460. * SOLR-8835: JSON Facet API: fix faceting exception on multi-valued numeric fields that
  3461. have docValues. (yonik)
  3462. * SOLR-8838: Returning non-stored docValues is incorrect for negative floats and doubles.
  3463. (Ishan Chattopadhyaya, Steve Rowe)
  3464. * SOLR-8867: {!frange} queries will now avoid matching documents without a value in the
  3465. numeric field. For more complex functions, FunctionValues.exists() must also return true
  3466. for the document to match. (yonik)
  3467. * SOLR-8886: Fix TrieField.toObject(IndexableField) to work for field with docValues
  3468. enabled. (yonik)
  3469. * SOLR-8891: Fix StrField.toObject and toExternal to work with docValue IndexableField
  3470. instances. (yonik)
  3471. * SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues.
  3472. (Ishan Chattopadhyaya, yonik)
  3473. Optimizations
  3474. ----------------------
  3475. * SOLR-7876: Speed up queries and operations that use many terms when timeAllowed has not been
  3476. specified. Speedups of up to 8% were observed. (yonik)
  3477. * SOLR-8037: Speed up creation of filters from term range queries (i.e. non-numeric range queries)
  3478. and use the filter cache for term range queries that are part of larger queries. Some observed
  3479. speedups were up to 2.5x for production of filters, and up to 10x for query evaluation with
  3480. embedded term range queres that resulted in filter cache hits. (yonik)
  3481. * SOLR-8559: FCS facet performance optimization which significantly speeds up processing when terms
  3482. are high cardinality and the matching docset is small. When facet minCount > 0 and the number of
  3483. matching documents is small (or 0) this enhancement prevents considering terms which have a 0
  3484. count. Also includes change to move to the next non-zero term value when selecting a segment
  3485. position. (Keith Laban, Steve Bower, Dennis Gove)
  3486. * SOLR-8532: Optimize GraphQuery when maxDepth is set by not collecting edges at the maxDepth level.
  3487. (Kevin Watters via yonik)
  3488. * SOLR-8669: Non binary responses use chunked encoding because we flush the outputstream early.
  3489. (Mark Miller)
  3490. * SOLR-8720: ZkController#publishAndWaitForDownStates should use #publishNodeAsDown. (Mark Miller)
  3491. * SOLR-8082: Can't query against negative float or double values when indexed="false"
  3492. docValues="true" multiValued="false". (hossman, Ishan Chattopadhyaya, yonik, Steve Rowe)
  3493. Other Changes
  3494. ----------------------
  3495. * SOLR-6127: Improve example docs, using films data (Varun Thacker via ehatcher)
  3496. * SOLR-6895: Deprecated SolrServer classes have been removed (Alan Woodward,
  3497. Erik Hatcher)
  3498. * SOLR-6954: Deprecated SolrClient.shutdown() method removed (Alan Woodward)
  3499. * SOLR-7355: Switch from Google's ConcurrentLinkedHashMap to Caffeine. Only
  3500. affects HDFS support. (Ben Manes via Shawn Heisey)
  3501. * SOLR-7624: Remove deprecated zkCredientialsProvider element in solrcloud section of solr.xml.
  3502. (Xu Zhang, Per Steffensen, Ramkumar Aiyengar, Mark Miller)
  3503. * SOLR-7513: Add Equalitors to Streaming Expressions (Dennis Gove, Joel Bernstein)
  3504. * SOLR-7528: Simplify Interfaces used in Streaming Expressions (Dennis Gove, Joel Bernstein)
  3505. * SOLR-7554: Add checks in Streams for incoming stream order (Dennis Gove, Joel Bernstein)
  3506. * SOLR-7441: Improve overall robustness of the Streaming stack: Streaming API,
  3507. Streaming Expressions, Parallel SQL (Joel Bernstein)
  3508. * SOLR-8153: Support upper case and mixed case column identifiers in the SQL interface
  3509. (Joel Bernstein)
  3510. * SOLR-8132: HDFSDirectoryFactory now defaults to using the global block cache. (Mark Miller)
  3511. * SOLR-8261: Change SchemaSimilarityFactory default to BM25Similarity (hossman)
  3512. * SOLR-8259: Remove deprecated JettySolrRunner.getDispatchFilter()
  3513. * SOLR-8258: Change default hdfs tlog replication factor from 1 to 3. (Mark Miller)
  3514. * SOLR-8270: Change implicit default Similarity to use BM25 when luceneMatchVersion >= 6 (hossman)
  3515. * SOLR-8271: Change implicit default Similarity to use SchemaSimilarityFactory when luceneMatchVersion >= 6 (hossman)
  3516. * SOLR-8179: SQL JDBC - DriverImpl loadParams doesn't support keys with no values in the connection string
  3517. (Kevin Risden, Joel Bernstein)
  3518. * SOLR-8131: Make ManagedIndexSchemaFactory the default schemaFactory when luceneMatchVersion >= 6
  3519. (Uwe Schindler, shalin, Varun Thacker)
  3520. * SOLR-8266: Remove Java Serialization from the Streaming API. The /stream handler now only accepts
  3521. Streaming Expressions. (Jason Gerlowski, Joel Bernstein)
  3522. * SOLR-8426: Enable /export, /stream and /sql handlers by default and remove them from example configs. (shalin)
  3523. * SOLR-8443: Change /stream handler http param from "stream" to "expr" (Joel Bernstein, Dennis Gove)
  3524. * SOLR-5209: Unloading or deleting the last replica of a shard now no longer
  3525. cascades to remove the shard from the clusterstate. (Christine Poerschke)
  3526. * SOLR-8190: Implement Closeable on TupleStream (Kevin Risden, Joel Bernstein)
  3527. * SOLR-8529: Improve JdbcTest to not use plain assert statements (Kevin Risden, Joel Bernstein)
  3528. * SOLR-7339: Upgrade Jetty to v9.3.8.v20160314. (Gregg Donovan, shalin, Mark Miller, Steve Rowe)
  3529. * SOLR-5730: Make Lucene's SortingMergePolicy and EarlyTerminatingSortingCollector configurable in Solr.
  3530. (Christine Poerschke, hossmann, Tomás Fernández Löbbe, Shai Erera)
  3531. * SOLR-8677: Prevent shards containing invalid characters from being created. Checks added server-side
  3532. and in SolrJ. (Shai Erera, Jason Gerlowski, Anshum Gupta)
  3533. * SOLR-8693: Improve ZkStateReader logging. (Scott Blum via Mark Miller)
  3534. * SOLR-8710: Upgrade morfologik-stemming to version 2.1.0. (Dawid Weiss)
  3535. * SOLR-8711: Upgrade Carrot2 clustering dependency to 3.12.0. (Dawid Weiss)
  3536. * SOLR-8690: Make peersync fingerprinting optional with solr.disableFingerprint system
  3537. property. (yonik)
  3538. * SOLR-8691: Cache index fingerprints per searcher. (yonik)
  3539. * SOLR-8746: Renamed Overseer.getInQueue to getStateUpdateQueue, getInternalQueue to getInternalWorkQueue
  3540. and added javadocs. (Scott Blum, shalin)
  3541. * SOLR-8752: Add a test for SizeLimitedDistributedMap and improve javadocs. (shalin)
  3542. * SOLR-8671: Date statistics: make "sum" a double instead of a long/date (Tom Hill, Christine Poerschke,
  3543. Tomás Fernández Löbbe)
  3544. * SOLR-8713: new UI and example solrconfig files point to Reference Guide for Solr Query Syntax instead
  3545. of the wiki. (Marius Grama via Tomás Fernández Löbbe)
  3546. * SOLR-8758: Add a new SolrCloudTestCase class, using MiniSolrCloudCluster (Alan
  3547. Woodward)
  3548. * SOLR-8736: schema GET operations on fields, dynamicFields, fieldTypes, copyField are
  3549. reimplemented as a part of the bulk API with less details (noble)
  3550. * SOLR-8766: Remove deprecated <admin> tag in solrconfig.xml and support for admin/gettableFiles
  3551. (noble, Jason Gerlowski, Varun Thacker)
  3552. * SOLR-8799: Improve error message when tuple can't be read by SolrJ JDBC (Kevin Risden, Joel Bernstein)
  3553. * SOLR-8836: Return 400, and a SolrException when an invalid json is provided to the update handler
  3554. instead of 500. (Jason Gerlowski via Anshum Gupta)
  3555. * SOLR-8740: docValues are now enabled by default for most non-text (string, date, and numeric) fields
  3556. in the schema templates. (yonik)
  3557. * SOLR-8819: Implement DatabaseMetaDataImpl getTables() and fix getSchemas(). (Trey Cahill,
  3558. Joel Bernstein, Kevin Risden)
  3559. * SOLR-8810: Implement Connection.setReadOnly, Statement.set/getFetchSize,
  3560. ResultSet.getType (Kevin Risden)
  3561. * SOLR-8904: All dates are formatted via Instant.toString() (ISO-8601); see Solr upgrade notes for differences. Will
  3562. now parse (and format) dates with a leading '+' or '-' (BC dates or dates > 4 digit year.
  3563. [value] and ms() and contrib/analytics now parse with date math. (David Smiley)
  3564. * SOLR-8904: DateUtil in SolrJ moved to the extraction contrib as ExtractionDateUtil. Obsolete methods were removed.
  3565. (David Smiley)
  3566. ======================= 5.5.5 =======================
  3567. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  3568. Versions of Major Components
  3569. ---------------------
  3570. Apache Tika 1.7
  3571. Carrot2 3.10.4
  3572. Velocity 1.7 and Velocity Tools 2.0
  3573. Apache UIMA 2.3.1
  3574. Apache ZooKeeper 3.4.6
  3575. Jetty 9.2.13.v20150730
  3576. Upgrade Notes
  3577. ----------------------
  3578. * SOLR-11477: in the XML query parser (defType=xmlparser or {!xmlparser ... })
  3579. the resolving of external entities is now disallowed by default.
  3580. * SOLR-11482: RunExecutableListener was deprecated and is disabled by default for
  3581. security reasons. Legacy applications still using it must explicitely pass
  3582. '-Dsolr.enableRunExecutableListener=true' to the Solr command line.
  3583. Be aware that you should really disable API-based config editing at the same
  3584. time, using '-Ddisable.configEdit=true'! (Uwe Schindler)
  3585. Bug Fixes
  3586. ----------------------
  3587. * SOLR-10420: Leaking one SolrZkClient instance per second (Scott Blum, Cao Manh Dat, Markus Jelsma, Steve Rowe)
  3588. * SOLR-11477: Disallow resolving of external entities in the XML query parser (defType=xmlparser).
  3589. (Michael Stepankin, Olga Barinova, Uwe Schindler, Christine Poerschke)
  3590. Other
  3591. ----------------------
  3592. * SOLR-11486: Update jmatio to 1.2 and prevent deserialization inside Matlab files.
  3593. (Uwe Schindler, Steve Rowe)
  3594. ======================= 5.5.4 =======================
  3595. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  3596. Versions of Major Components
  3597. ---------------------
  3598. Apache Tika 1.13
  3599. Carrot2 3.15.0
  3600. Velocity 1.7 and Velocity Tools 2.0
  3601. Apache UIMA 2.3.1
  3602. Apache ZooKeeper 3.4.6
  3603. Jetty 9.3.14.v20161028
  3604. Other Changes
  3605. ----------------------
  3606. * SOLR-9819: Upgrade commons-fileupload to 1.3.2, fixing a potential vulnerability CVE-2016-3092 (Anshum Gupta)
  3607. * SOLR-10031: Validation of filename params in ReplicationHandler (Hrishikesh Gadre, janhoy)
  3608. ======================= 5.5.3 =======================
  3609. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  3610. Versions of Major Components
  3611. ---------------------
  3612. Apache Tika 1.13
  3613. Carrot2 3.12.0
  3614. Velocity 1.7 and Velocity Tools 2.0
  3615. Apache UIMA 2.3.1
  3616. Apache ZooKeeper 3.4.6
  3617. Jetty 9.3.8.v20160314
  3618. (No Changes)
  3619. ======================= 5.5.2 =======================
  3620. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  3621. Versions of Major Components
  3622. ---------------------
  3623. Apache Tika 1.7
  3624. Carrot2 3.10.4
  3625. Velocity 1.7 and Velocity Tools 2.0
  3626. Apache UIMA 2.3.1
  3627. Apache ZooKeeper 3.4.6
  3628. Jetty 9.2.13.v20150730
  3629. Bug Fixes
  3630. ---------------------
  3631. * SOLR-8695: Ensure ZK watchers are not triggering our watch logic on connection events and
  3632. make this handling more consistent. (Scott Blum via Mark Miller)
  3633. * SOLR-9198: config APIs unable to add multiple values with same name (noble)
  3634. * SOLR-9191: OverseerTaskQueue.peekTopN() fatally flawed (Scott Blum, Noble Paul)
  3635. * SOLR-8812: edismax: turn off mm processing if no explicit mm spec is provided
  3636. and there are explicit operators (except for AND) - addresses problems caused by SOLR-2649.
  3637. (Greg Pendlebury, Jan Høydahl, Erick Erickson, Steve Rowe)
  3638. * SOLR-9034: Atomic updates failed to work when there were copyField targets that had docValues
  3639. enabled. (Karthik Ramachandran, Ishan Chattopadhyaya, yonik)
  3640. * SOLR-8940: Fix group.sort option (hossman)
  3641. * SOLR-8857: HdfsUpdateLog does not use configured or new default number of version buckets and is
  3642. hard coded to 256. (Mark Miller, yonik, Gregory Chanan)
  3643. * SOLR-8875: SolrCloud Overseer clusterState could unexpectedly be null resulting in NPE.
  3644. (Scott Blum via David Smiley)
  3645. * SOLR-8946: bin/post failed to detect stdin usage on Ubuntu; maybe other unixes. (David Smiley)
  3646. * SOLR-9004: Fix "name" field type definition in films example. (Alexandre Rafalovitch via Varun Thacker)
  3647. * SOLR-8990: Fix top term links from schema browser page to use {!term} parser (hossman)
  3648. * SOLR-8971: Preserve root cause when wrapping exceptions (hossman)
  3649. * SOLR-8792: ZooKeeper ACL support fixed. (Esther Quansah, Ishan Chattopadhyaya, Steve Rowe)
  3650. * SOLR-9030: The 'downnode' overseer command can trip asserts in ZkStateWriter.
  3651. (Scott Blum, Mark Miller, shalin)
  3652. * SOLR-9036: Solr slave is doing full replication (entire index) of index after master restart.
  3653. (Lior Sapir, Mark Miller, shalin)
  3654. * SOLR-9093: Fix NullPointerException in TopGroupsShardResponseProcessor. (Christine Poerschke)
  3655. * SOLR-9118: HashQParserPlugin should trim partition keys (Joel Bernstein)
  3656. * SOLR-9117: The first SolrCore is leaked after reload. (Jessica Cheng Mallet via shalin)
  3657. * SOLR-9116: Race condition causing occasional SolrIndexSearcher leak when SolrCore is reloaded.
  3658. (Jessica Cheng Mallet via shalin)
  3659. * SOLR-8801: /bin/solr create script always returns exit code 0 when a collection/core already exists.
  3660. (Khalid Alharbi, Marius Grama via Steve Rowe)
  3661. * SOLR-9134: Fix RestManager.addManagedResource return value. (Christine Poerschke)
  3662. * SOLR-9151: Fix SolrCLI so that bin/solr -e cloud example can be run from any CWD (janhoy)
  3663. * SOLR-9165: Spellcheck does not return collations if "maxCollationTries" is used with "cursorMark".
  3664. (James Dyer)
  3665. * SOLR-8612: closing JDBC Statement on failures in DataImportHandler (DIH) (Kristine Jetzke via Mikhail Khludnev)
  3666. * SOLR-8676: keep LOG4J_CONFIG in solr.cmd (Kristine Jetzke via Mikhail Khludnev)
  3667. * SOLR-9176: facet method ENUM was sometimes unnecessarily being rewritten to
  3668. FCS, causing slowdowns (Alessandro Benedetti, Jesse McLaughlin, Alan Woodward)
  3669. Other Changes
  3670. ----------------------
  3671. * SOLR-7516: Improve javadocs for JavaBinCodec, ObjectResolver and enforce the single-usage policy.
  3672. (Jason Gerlowski, Benoit Vanalderweireldt, shalin)
  3673. * SOLR-8967: In SolrCloud mode, under the 'Core Selector' dropdown in the UI the Replication tab won't be displayed
  3674. anymore. The Replication tab is only beneficial to users running Solr in master-slave mode. (Varun Thacker)
  3675. * SOLR-9131: Fix "start solr" text in cluster.vm Velocity template (janhoy)
  3676. * SOLR-9053: Upgrade commons-fileupload to 1.3.1, fixing a potential vulnerability (Jeff Field, Mike Drob via janhoy)
  3677. * SOLR-8866: UpdateLog will now throw an exception if it doesn't know how to serialize a value.
  3678. (David Smiley)
  3679. * SOLR-8933: Solr should not close container streams. (Mike Drob, Uwe Schindler, Mark Miller)
  3680. * SOLR-9037: Replace multiple "/replication" strings with one static constant. (Christine Poerschke)
  3681. * SOLR-9047: zkcli should allow alternative locations for log4j configuration (Gregory Chanan)
  3682. * SOLR-9105: Fix a bunch of typos across 103 files (Bartosz Krasiński via janhoy)
  3683. * SOLR-8445: fix line separator in log4j.properties files (Ahmet Arslan via Mikhail Khludnev)
  3684. * SOLR-8674: Stop ignoring sysprop solr.tests.mergePolicy, and make tests randomly choose between
  3685. setting <mergePolicy> and <mergePolicyFactory>, which was added in SOLR-8621. (Christine Poerschke)
  3686. ======================= 5.5.1 =======================
  3687. Bug Fixes
  3688. ----------------------
  3689. * SOLR-8737: Managed synonym lists do not include the original term in the expand (janhoy)
  3690. * SOLR-8734: fix (maxMergeDocs|mergeFactor) deprecation warnings: in solrconfig.xml
  3691. <maxMergeDocs|mergeFactor> may not be combined with <mergePolicyFactory> and
  3692. <maxMergeDocs|mergeFactor> on their own or combined with <mergePolicy> is a warning.
  3693. (Christine Poerschke, Shai Erera)
  3694. * SOLR-8712: Variable solr.core.instanceDir was not being resolved (Kristine
  3695. Jetzke, Shawn Heisey, Alan Woodward)
  3696. * SOLR-8793: Fix Core admin status API to not fail when computing the size of the segments_N
  3697. file if the file no longer exists (for example, if a commit happened and the IndexReader
  3698. hasn't refreshed yet). In this case the reported size of the file is -1.
  3699. (Shai Erera, Alexey Serba, Richard Coggins)
  3700. * SOLR-8728: ReplicaAssigner throws NPE when a partial list of nodes are only participating in replica
  3701. placement. splitshard should preassign nodes using rules, if rules are present (noble, Shai Erera)
  3702. * SOLR-8838: Returning non-stored docValues is incorrect for negative floats and doubles.
  3703. (Ishan Chattopadhyaya, Steve Rowe)
  3704. * SOLR-8870: AngularJS Query tab no longer URL-encodes the /select part of the request, fixing possible 404 issue
  3705. when Solr is behind a proxy. Also, now supports old-style &qt param when handler not prefixed with "/" (janhoy)
  3706. * SOLR-8725: Allow hyphen in collection, core, shard, and alias name as the non-first character
  3707. (Anshum Gupta) (from 6.0)
  3708. * SOLR-8155: JSON Facet API - field faceting on a multi-valued string field without
  3709. docValues (i.e. UnInvertedField implementation), but with a prefix or with a sort
  3710. other than count, resulted in incorrect results. This has been fixed, and facet.prefix
  3711. support for facet.method=uif has been enabled. (Mikhail Khludnev, yonik)
  3712. * SOLR-8835: JSON Facet API: fix faceting exception on multi-valued numeric fields that
  3713. have docValues. (yonik)
  3714. * SOLR-8908: Fix to OnReconnect listener registration to allow listeners to deregister, such
  3715. as when a core is reloaded or deleted to avoid a memory leak. (Timothy Potter)
  3716. * SOLR-8662: SchemaManager waits correctly for replicas to be notified of a new change
  3717. (sarowe, Noble Paul, Varun Thacker)
  3718. * SOLR-9007: Remove mention of the managed_schema_configs as valid config directory when creating
  3719. the collection for the SolrCloud example. (Timothy Potter)
  3720. * SOLR-8983: Cleanup clusterstate and replicas for a failed create collection request
  3721. (Varun Thacker, Anshum Gupta)
  3722. * SOLR-8578: Successful or not, requests are not always fully consumed by Solrj clients and we
  3723. count on HttpClient or the JVM. (Mark Miller)
  3724. * SOLR-8683: Always consume the full request on the server, not just in the case of an error.
  3725. (Mark Miller)
  3726. * SOLR-8701: CloudSolrClient decides that there are no healthy nodes to handle a request too early.
  3727. (Mark Miller)
  3728. * SOLR-8416: The collections create API should return after all replicas are active.
  3729. (Michael Sun, Mark Miller, Alexey Serba)
  3730. * SOLR-8914: ZkStateReader's refreshLiveNodes(Watcher) is not thread safe. (Scott Blum, hoss,
  3731. sarowe, Erick Erickson, Mark Miller, shalin)
  3732. * SOLR-8973: Zookeeper frenzy when a core is first created. (Janmejay Singh, Scott Blum, shalin)
  3733. * SOLR-8694: DistributedMap/Queue can create too many Watchers and some code simplification.
  3734. (Scott Blum via Mark Miller)
  3735. * SOLR-8633: DistributedUpdateProcess processCommit/deleteByQuery call finish on DUP and
  3736. SolrCmdDistributor, which violates the lifecycle and can cause bugs. (hossman via Mark Miller)
  3737. * SOLR-8656: PeerSync should use same nUpdates everywhere. (Ramsey Haddad via Mark Miller)
  3738. * SOLR-8697, SOLR-8837: Scope ZK election nodes by session to prevent elections from interfering with each other
  3739. and other small LeaderElector improvements. (Scott Blum via Mark Miller, Alan
  3740. Woodward)
  3741. * SOLR-8599: After a failed connection during construction of SolrZkClient attempt to retry until a connection
  3742. can be made. (Keith Laban, Dennis Gove)
  3743. * SOLR-8420: Fix long overflow in sumOfSquares for Date statistics. (Tom Hill, Christine Poerschke,
  3744. Tomás Fernández Löbbe)
  3745. * SOLR-8748: OverseerTaskProcessor limits number of concurrent tasks to just 10 even though the thread pool
  3746. size is 100. The limit has now been increased to 100. (Scott Blum, shalin)
  3747. * SOLR-8375: ReplicaAssigner rejects valid nodes (Kelvin Tan, noble)
  3748. * SOLR-8738: Fixed false success response when invalid deleteByQuery requests intially hit non-leader
  3749. cloud nodes (hossman)
  3750. * SOLR-8771: Multi-threaded core shutdown creates executor per core. (Mike Drob via Mark Miller)
  3751. * SOLR-8145: Fix position of OOM killer script when starting Solr in the background (Jurian Broertjes via
  3752. Timothy Potter)
  3753. * SOLR-8769: Fix document exclusion in mlt query parser in Cloud mode for schemas that have non-"id"
  3754. unique field (Erik Hatcher, Anshum Gupta)
  3755. * SOLR-8728: ReplicaAssigner throws NPE when a partial list of nodes are only participating in replica
  3756. placement. splitshard should preassign nodes using rules, if rules are present (noble, Shai Erera)
  3757. * SOLR-8779: Fix missing InterruptedException handling in ZkStateReader.java (Varun Thacker)
  3758. * SOLR-8449: Fix the core restore functionality to allow restoring multiple times on the same core
  3759. (Johannes Brucher, Varun Thacker)
  3760. * SOLR-8790: Collections API responses contain node name in the core-level responses that are
  3761. returned. (Anshum Gupta)
  3762. * SOLR-8804: Fix a race condition in the ClusterStatus API call whereby the call would fail when a concurrent delete
  3763. collection api command was executed (Alexey Serba, Varun Thacker)
  3764. * SOLR-9016: Fix SolrIdentifierValidator to not allow empty identifiers. (Shai Erera)
  3765. * SOLR-8886: Fix TrieField.toObject(IndexableField) to work for field with docValues
  3766. enabled. (yonik)
  3767. * SOLR-8891: Fix StrField.toObject and toExternal to work with docValue IndexableField
  3768. instances. (yonik)
  3769. * SOLR-8865: Real-time get sometimes fails to retrieve stored fields from docValues.
  3770. (Ishan Chattopadhyaya, yonik)
  3771. * SOLR-9046: Fix solr.cmd that wrongly assumes Jetty will always listen on 0.0.0.0.
  3772. (Bram Van Dam, Uwe Schindler)
  3773. Other Changes
  3774. ----------------------
  3775. * SOLR-8758: Add a new SolrCloudTestCase class, using MiniSolrCloudCluster (Alan
  3776. Woodward)
  3777. ======================= 5.5.0 =======================
  3778. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
  3779. Versions of Major Components
  3780. ---------------------
  3781. Apache Tika 1.7
  3782. Carrot2 3.10.4
  3783. Velocity 1.7 and Velocity Tools 2.0
  3784. Apache UIMA 2.3.1
  3785. Apache ZooKeeper 3.4.6
  3786. Jetty 9.2.13.v20150730
  3787. Upgrading from Solr 5.4
  3788. -----------------------
  3789. * The Solr schema version has been increased to 1.6. Since schema version 1.6, all non-stored docValues fields
  3790. will be returned along with other stored fields when all fields (or pattern matching globs) are specified
  3791. to be returned (e.g. fl=*) for search queries. This behavior can be turned on and off by setting
  3792. 'useDocValuesAsStored' parameter for a field or a field type to true (default since schema version 1.6)
  3793. or false (default till schema version 1.5).
  3794. Note that enabling this property has performance implications because DocValues are column-oriented and may
  3795. therefore incur additional cost to retrieve for each returned document. All example schema are upgraded to
  3796. version 1.6 but any older schemas will default to useDocValuesAsStored=false and continue to work as in
  3797. older versions of Solr. If this new behavior is desirable, then you should set version attribute in your
  3798. schema file to '1.6'. Re-indexing is not necessary to upgrade the schema version.
  3799. Also note that while returning non-stored fields from docValues (default in schema versions 1.6+, unless
  3800. useDocValuesAsStored is false), the values of a multi-valued field are returned in sorted order.
  3801. If you require the multi-valued fields to be returned in the original insertion order, then make your
  3802. multi-valued field as stored. This requires re-indexing.
  3803. See SOLR-8220 for more details.
  3804. * All protected methods from CoreAdminHandler other than handleCustomAction() is removed by SOLR-8476 and can
  3805. no more be overridden. If you still wish to override those methods, override the handleRequestBody()
  3806. * The PERSIST CoreAdmin action which was a NOOP and returned a deprecated message has been removed. See SOLR-8476
  3807. for more details. The corresponding SolrJ action has also been removed.
  3808. * bin/post now defaults application/json files to the /update/json/docs end-point. Use `-format solr` to force
  3809. files to the /update end-point. See SOLR-7042 for more details.
  3810. * In solrconfig.xml the <mergePolicy> element is deprecated in favor of a similar <mergePolicyFactory> element,
  3811. the <mergeFactor> and <maxMergeDocs> elements are also deprecated, please see SOLR-8621 for full details.
  3812. To migrate your existing solrconfig.xml, you can replace elements as follows:
  3813. <!-- TieredMergePolicy example -->
  3814. <!-- deprecated -->
  3815. <mergeFactor>??</mergeFactor>
  3816. <mergePolicy class="org.apache.lucene.index.TieredMergePolicy">
  3817. <bool name="useCompoundFile">???</bool> <!-- deprecated since Lucene/Solr 4.4.0 -->
  3818. ...
  3819. </mergePolicy>
  3820. <!-- replacement -->
  3821. <useCompoundFile>???</useCompoundFile> <!-- since Lucene/Solr 4.4.0 -->
  3822. <mergePolicyFactory class="org.apache.solr.index.TieredMergePolicyFactory">
  3823. <int name="maxMergeAtOnce">??</int> <!-- formerly the <mergeFactor> element implicitly set this -->
  3824. <int name="segmentsPerTier">??</int> <!-- formerly the <mergeFactor> element implicitly set this -->
  3825. ...
  3826. </mergePolicyFactory>
  3827. <!-- Log(ByteSize|Doc)MergePolicy example -->
  3828. <!-- deprecated -->
  3829. <maxMergeDocs>????</maxMergeDocs>
  3830. <mergeFactor>??</mergeFactor>
  3831. <mergePolicy class="org.apache.lucene.index.Log?MergePolicy">
  3832. <bool name="useCompoundFile">???</bool> <!-- deprecated since Lucene/Solr 4.4.0 -->
  3833. ...
  3834. </mergePolicy>
  3835. <!-- replacement -->
  3836. <useCompoundFile>???</useCompoundFile> <!-- since Lucene/Solr 4.4.0 -->
  3837. <mergePolicyFactory class="org.apache.solr.index.Log?MergePolicyFactory">
  3838. <int name="maxMergeDocs">????</int> <!-- formerly the <maxMergeDocs> element set this -->
  3839. <int name="mergeFactor">??</int> <!-- formerly the <mergeFactor> element set this -->
  3840. ...
  3841. </mergePolicyFactory>
  3842. * Clearing up stored async collection api responses via REQUESTSTATUS call is now deprecated and would be
  3843. removed in 6.0. See SOLR-8648 for more details.
  3844. * SOLR-6594: Deprecated the old schema API which will be removed in a later major release
  3845. Detailed Change List
  3846. ----------------------
  3847. New Features
  3848. ----------------------
  3849. * SOLR-7928: Improve CheckIndex to work against HdfsDirectory
  3850. (Mike Drob, Gregory Chanan)
  3851. * SOLR-8378: Add upconfig and downconfig commands to the bin/solr script
  3852. (Erick Erickson)
  3853. * SOLR-8434: Add wildcard support to role, to match any role in RuleBasedAuthorizationPlugin (noble)
  3854. * SOLR-4280: Allow specifying "spellcheck.maxResultsForSuggest" as a percentage of filter
  3855. query results (Markus Jelsma via James Dyer)
  3856. * SOLR-8429: Add a flag 'blockUnknown' to BasicAuthPlugin to block unauthenticated requests (noble)
  3857. * SOLR-8230: JSON Facet API: add "facet-info" into debug section of response when debugQuery=true
  3858. (Michael Sun, yonik)
  3859. * SOLR-8428: RuleBasedAuthorizationPlugin adds an 'all' permission (noble)
  3860. * SOLR-5743: BlockJoinFacetComponent and BlockJoinDocSetFacetComponent for calculating facets by
  3861. child.facet.field parameter with {!parent ..}.. query. They count facets on children documents
  3862. aggregating (deduplicating) counts by parent documents (Dr. Oleg Savrasov via Mikhail Khludnev)
  3863. * SOLR-8220: Read field from DocValues for non stored fields.
  3864. (Keith Laban, yonik, Erick Erickson, Ishan Chattopadhyaya, shalin)
  3865. * SOLR-8470: Make TTL of PKIAuthenticationPlugin's tokens configurable through a system property
  3866. (pkiauth.ttl) (noble)
  3867. * SOLR-8477: Let users choose compression mode in SchemaCodecFactory (Tomás Fernández Löbbe)
  3868. * SOLR-839: XML QueryParser support (defType=xmlparser)
  3869. Lucene includes a queryparser that supports the creation of Lucene queries from XML.
  3870. The queries supported by lucene.queryparser.xml.CoreParser are now supported by the newly
  3871. created solr.search.SolrCoreParser and in future SolrCoreParser could support additional
  3872. queries also.
  3873. Example: <BooleanQuery fieldName="description">
  3874. <Clause occurs="must"> <TermQuery>shirt</TermQuery> </Clause>
  3875. <Clause occurs="mustnot"> <TermQuery>plain</TermQuery> </Clause>
  3876. <Clause occurs="should"> <TermQuery>cotton</TermQuery> </Clause>
  3877. <Clause occurs="must">
  3878. <BooleanQuery fieldName="size">
  3879. <Clause occurs="should"> <TermsQuery>S M L</TermsQuery> </Clause>
  3880. </BooleanQuery>
  3881. </Clause>
  3882. </BooleanQuery>
  3883. (Erik Hatcher, Karl Wettin, Daniel Collins, Nathan Visagan, Ahmet Arslan, Christine Poerschke)
  3884. * SOLR-8312: Add domain size and numBuckets to facet telemetry info (facet debug info
  3885. for the new Facet Module). (Michael Sun, yonik)
  3886. * SOLR-8534: Add generic support for collection APIs to be async. Thus more actions benefit from having async
  3887. support. The commands that additionally get async support are: delete/reload collection, create/delete alias,
  3888. create/delete shard, delete replica, add/delete replica property, add/remove role,
  3889. overseer status, balance shard unique, rebalance leaders, modify collection, migrate state format (Varun Thacker)
  3890. * SOLR-4619: Improve PreAnalyzedField query analysis. (Andrzej Bialecki, Steve Rowe)
  3891. * SOLR-8560: Added RequestStatusState enum which can be used when comparing states of
  3892. asynchronous requests. (Shai Erera)
  3893. * SOLR-8586: added index fingerprint, a hash over all versions currently in the index.
  3894. PeerSync now uses this to check if replicas are in sync. (yonik)
  3895. * SOLR-8500: Allow the number of threads ConcurrentUpdateSolrClient StreamingSolrClients configurable by a
  3896. system property. NOTE: this is an expert option and can result in more often needing to do full index replication
  3897. for recovery, the sweet spot for using this is very high volume, leader-only indexing. (Tim Potter, Erick Erickson)
  3898. * SOLR-8642: SOLR allows creation of collections with invalid names
  3899. (Jason Gerlowski via Erick Erickson)
  3900. * SOLR-8621: Deprecate <mergePolicy> in favor of <mergePolicyFactory>. It allows to configure
  3901. both the "simple" merge policies, but also more advanced ones, e.g. UpgradeIndexMergePolicy.
  3902. (Christine Poerschke, Shai Erera)
  3903. * SOLR-8648: DELETESTATUS API for selective deletion and flushing of stored async collection API responses.
  3904. (Anshum Gupta)
  3905. * SOLR-8466: adding facet.method=uif to bring back UnInvertedField faceting which is used to work on
  3906. facet.method=fc. It's more performant for rarely changing indexes. Note: it ignores prefix and contains yet.
  3907. (Jamie Johnson via Mikhail Khludnev)
  3908. Bug Fixes
  3909. ----------------------
  3910. * SOLR-8175: Word Break Spellchecker would throw AIOOBE with certain queries containing
  3911. "should" clauses. (Ryan Josal via James Dyer)
  3912. * SOLR-2556: The default spellcheck query converter was ignoring terms consisting entirely
  3913. of digits. (James Dyer)
  3914. * SOLR-8366: ConcurrentUpdateSolrClient attempts to use response's content type as charset encoding
  3915. for parsing exception. (shalin)
  3916. * SOLR-6271: Fix ConjunctionSolrSpellChecker to not compare StringDistance by instance.
  3917. (Igor Kostromin via James Dyer)
  3918. * SOLR-7304: Fix Spellcheck Collate to not invalidate range queries. (James Dyer)
  3919. * SOLR-8373: KerberosPlugin: Using multiple nodes on same machine leads clients to
  3920. fetch TGT for every request (Ishan Chattopadhyaya via noble)
  3921. * SOLR-8367: Fix the LeaderInitiatedRecovery 'all replicas participate' fail-safe.
  3922. (Mark Miller, Mike Drob)
  3923. * SOLR-8401: Windows start script fails when executed from a different drive.
  3924. (Nicolas Gavalda via Erick Erickson)
  3925. * SOLR-6992: Fix "Files" UI to show the managed-schema file as well.
  3926. (Shawn Heisey, Varun Thacker)
  3927. * SOLR-2649: MM ignored in edismax queries with operators.
  3928. (Greg Pendlebury, Jan Høydahl et. al. via Erick Erickson)
  3929. * SOLR-8372: Canceled recovery can rarely lead to inconsistent shards:
  3930. If a replica is recovering via index replication, and that recovery fails
  3931. (for example if the leader goes down), and then some more updates are received
  3932. (there could be a few left to be processed from the leader that just went down),
  3933. and then that replica is brought down, it will think it is up-to-date when
  3934. restarted. (shalin, Mark Miller, yonik)
  3935. * SOLR-8419: TermVectorComponent for distributed search when distrib.singlePass could include term
  3936. vectors for documents that matched the query yet weren't in the returned documents. (David Smiley)
  3937. * SOLR-8015: HdfsLock may fail to close a FileSystem instance if it cannot immediately
  3938. obtain an index lock. (Mark Miller)
  3939. * SOLR-8422: When authentication enabled, requests fail if sent to a node that doesn't host
  3940. the collection (noble)
  3941. * SOLR-8059: &debug=results for distributed search when distrib.singlePass (sometimes activated
  3942. automatically) could result in an NPE. (David Smiley, Markus Jelsma)
  3943. * SOLR-8460: /analysis/field could throw exceptions for custom attributes. (David Smiley, Uwe Schindler)
  3944. * SOLR-8276: Atomic updates and realtime-get do not work with non-stored docvalues.
  3945. (Ishan Chattopadhyaya, yonik via shalin)
  3946. * SOLR-7462: AIOOBE in RecordingJSONParser (Scott Dawson, noble)
  3947. * SOLR-8494: SimplePostTool and therefore the bin/post script cannot upload files larger than 2.1GB. (shalin)
  3948. * SOLR-8451: We should not call method.abort in HttpSolrClient or HttpSolrCall#remoteQuery and
  3949. HttpSolrCall#remoteQuery should not close streams. (Mark Miller)
  3950. * SOLR-8450: Our HttpClient retry policy is too permissive. (Mark Miller, shalin)
  3951. * SOLR-8533: Raise default maxUpdateConnections and maxUpdateConnectionsPerHost to 100k each.
  3952. (Mark Miller)
  3953. * SOLR-8453: Solr should attempt to consume the request inputstream on errors as we cannot
  3954. count on the container to do it. (Mark Miller, Greg Wilkins, yonik, Joakim Erdfelt)
  3955. * SOLR-6279: cores?action=UNLOAD now waits for the core to close before unregistering it from ZK.
  3956. (Christine Poerschke)
  3957. * SOLR-2798: Fixed local params to work correctly with multivalued params
  3958. (Demian Katz via hossman)
  3959. * SOLR-8541: Highlighting a geo RPT field would throw an NPE instead of doing nothing.
  3960. (Pawel Rog via David Smiley)
  3961. * SOLR-8548: Core discovery was not following symlinks (Aaron LaBella via Alan
  3962. Woodward)
  3963. * SOLR-8564: Fix Embedded ZooKeeper to use <solrHome>/zoo_data for it's data directory
  3964. * SOLR-8371: Try and prevent too many recovery requests from stacking up and clean up some faulty
  3965. cancel recovery logic. (Mark Miller)
  3966. * SOLR-8582 : memory leak in JsonRecordReader affecting /update/json/docs. Large payloads
  3967. cause OOM (noble, shalin)
  3968. * SOLR-8605: Regular expression queries starting with escaped forward slash caused
  3969. an exception. (Scott Blum, yonik)
  3970. * SOLR-8607: The Schema API refuses to add new fields that match existing dynamic fields.
  3971. (Jan Høydahl, Steve Rowe)
  3972. * SOLR-8575: Fix HDFSLogReader replay status numbers, a performance bug where we can reopen
  3973. FSDataInputStream much too often, and an hdfs tlog data integrity bug.
  3974. (Mark Miller, Patrick Dvorack, yonik)
  3975. * SOLR-8651: The commitWithin parameter is not passed on for deleteById in UpdateRequest in
  3976. distributed queries (Jessica Cheng Mallet via Erick Erickson)
  3977. * SOLR-8551: Make collection deletion more robust. (Mark Miller)
  3978. Optimizations
  3979. ----------------------
  3980. * SOLR-8501: Specify the entity request size when known in HttpSolrClient. (Mark Miller)
  3981. * SOLR-8615: Just like creating cores, we should use multiple threads when closing cores.
  3982. (Mark Miller)
  3983. * SOLR-7281: Add an overseer action to publish an entire node as 'down'. (Mark Miller, shalin)
  3984. * SOLR-8669: Non binary responses use chunked encoding because we flush the outputstream early.
  3985. (Mark Miller)
  3986. Other Changes
  3987. ----------------------
  3988. * LUCENE-6900: Added test for score ordered grouping, and refactored TopGroupsResultTransformer.
  3989. (David Smiley)
  3990. * SOLR-8336: CoreDescriptor now takes a Path for its instance directory, rather
  3991. than a String (Alan Woodward)
  3992. * SOLR-8351: Improve HdfsDirectory toString representation
  3993. (Mike Drob via Gregory Chanan)
  3994. * SOLR-8321: add a (SolrQueryRequest free) SortSpecParsing.parseSortSpec variant
  3995. (Christine Poerschke)
  3996. * SOLR-8338: in OverseerTest replace strings such as "collection1" and "state" with variable
  3997. or enum equivalent (Christine Poerschke)
  3998. * SOLR-8333: Several API tweaks so that public APIs were no longer refering to private classes
  3999. (ehatcher, Shawn Heisey, hossman)
  4000. * SOLR-8357: UpdateLog.RecentUpdates now implements Closeable (Alan Woodward)
  4001. * SOLR-8339: Refactor SolrDocument and SolrInputDocument to have a common base abstract class
  4002. called SolrDocumentBase. Deprecated methods toSolrInputDocument and toSolrDocument in ClientUtils.
  4003. (Ishan Chattopadhyaya via shalin)
  4004. * SOLR-8353: Support regex for skipping license checksums (Gregory Chanan)
  4005. * SOLR-8313: SimpleQueryParser doesn't use MultiTermAnalysis for Fuzzy Queries (Tom Hill via Erick Erickson)
  4006. * SOLR-8359: Restrict child classes from using parent logger's state
  4007. (Jason Gerlowski, Mike Drob, Anshum Gupta)
  4008. * SOLR-8131: All example config sets now explicitly use the ManagedIndexSchemaFactory
  4009. instead of ClassicIndexSchemaFactory. This means that the Schema APIs ( /<collection>/schema )
  4010. are enabled by default and the schema is mutable. The schema file will be called managed-schema
  4011. (Uwe Schindler, shalin, Varun Thacker)
  4012. * SOLR-8381: Cleanup data_driven managed-schema and solrconfig.xml files. Commented out copyFields are removed
  4013. and solrconfig.xml doesn't refer to field which are not defined. (Varun Thacker)
  4014. * SOLR-7774: revise BasicDistributedZkTest.test logic w.r.t. 'commitWithin did not work on some nodes'
  4015. (Christine Poerschke)
  4016. * SOLR-8360: simplify ExternalFileField.getValueSource implementation (Christine Poerschke)
  4017. * SOLR-8387: All example configs shipped with Solr explicitly use ManagedIndexSchemaFactory, the schema file will
  4018. be called managed-schema instead of schema.xml . It is not advised to use hand edit the managed-schema. You should
  4019. use the schema APIs instead ( /<collection>/schema ) . If you do not want this behaviour in the example configs,
  4020. before you start solr rename managed-schema to schema.xml and change the schemaFactory in solrconfig.xml file
  4021. to explicitly use ClassicIndexSchemaFactory instead : <schemaFactory class="ClassicIndexSchemaFactory"/>
  4022. (Varun Thacker)
  4023. * SOLR-8305: replace LatLonType.getValueSource's QParser use (Christine Poerschke)
  4024. * SOLR-8388: factor out response/TestSolrQueryResponse.java from servlet/ResponseHeaderTest.java
  4025. more TestSolrQueryResponse.java tests; add SolrReturnFields.toString method, ReturnFieldsTest.testToString test;
  4026. (Christine Poerschke)
  4027. * SOLR-8383: SolrCore.java + QParserPlugin.java container initialCapacity tweaks
  4028. (Christine Poerschke, Mike Drob)
  4029. * LUCENE-6925: add RandomForceMergePolicy class in test-framework (Christine Poerschke)
  4030. * SOLR-8404: tweak SolrQueryResponse.getToLogAsString, add TestSolrQueryResponse.testToLog (Christine Poerschke)
  4031. * SOLR-8352: randomise unload order in UnloadDistributedZkTest.testUnloadShardAndCollection (Christine Poerschke)
  4032. * SOLR-8414: AbstractDistribZkTestBase.verifyReplicaStatus could throw NPE (Christine Poerschke)
  4033. * SOLR-8410: Add all read paths to 'read' permission in RuleBasedAuthorizationPlugin (noble)
  4034. * SOLR-8279: Add a new test fault injection approach and a new SolrCloud test that stops and starts the cluster
  4035. while indexing data and with random faults. (Mark Miller)
  4036. * SOLR-8419: TermVectorComponent for distributed search now requires a uniqueKey in the schema. Also, it no longer
  4037. returns "uniqueKeyField" in the response. (David Smiley)
  4038. * SOLR-8317: add & use responseHeader and response accessors to SolrQueryResponse. (Christine Poerschke)
  4039. * SOLR-8452: replace "partialResults" occurrences with SolrQueryResponse.RESPONSE_HEADER_PARTIAL_RESULTS_KEY
  4040. (Christine Poerschke)
  4041. * SOLR-8454: ZkStateReader logging improvements and cleanup of dead code (Shai Erera, Anshum Gupta)
  4042. * SOLR-8455: RecovertStrategy logging improvements and sleep-between-recovery-attempts bug fix.
  4043. (Shai Erera)
  4044. * SOLR-8481: TestSearchPerf no longer needs to duplicate SolrIndexSearcher.(NO_CHECK_QCACHE|NO_CHECK_FILTERCACHE)
  4045. (Christine Poerschke)
  4046. * SOLR-8486: No longer require jar/unzip for bin/solr (Steven E. Harris, janhoy)
  4047. * SOLR-8483: relocate 'IMPORTANT NOTE' in open-exchange-rates.json test-file to avoid
  4048. OpenExchangeRatesOrgProvider.java warnings (Christine Poerschke)
  4049. * SOLR-8489: TestMiniSolrCloudCluster.createCollection to support extra & alternative collectionProperties
  4050. (Christine Poerschke)
  4051. * SOLR-8482: add & use QueryCommand.[gs]etTerminateEarly accessors. (Christine Poerschke)
  4052. * SOLR-8498: Improve error message when a large value is stored in an indexed string field. (shalin)
  4053. * SOLR-8484: refactor update/SolrIndexConfig.LOCK_TYPE_* into core/DirectoryFactory.LOCK_TYPE_*
  4054. (Christine Poerschke)
  4055. * SOLR-8504: (IndexSchema|SolrIndexConfig)Test: private static finals for
  4056. solrconfig.xml and schema.xml String literals. (Christine Poerschke)
  4057. * SOLR-8505: core/DirectoryFactory.LOCK_TYPE_HDFS - add & use it instead of String literals
  4058. (Christine Poerschke)
  4059. * SOLR-7042: bin/post now uses /update/json/docs for application/json content types, including support for
  4060. .jsonl (JSON Lines) files. (Erik Hatcher and shalin)
  4061. * SOLR-8476: Refactor and cleanup CoreAdminHandler (noble, Varun Thacker)
  4062. * SOLR-8535: Support forcing define-lucene-javadoc-url to be local (Gregory Chanan)
  4063. * SOLR-8549: Solr start script checks for cores which have failed to load as well before attempting to
  4064. create a core with the same name (Varun Thacker)
  4065. * SOLR-8555: SearchGroupShardResponseProcessor (initialCapacity) tweaks (Christine Poerschke)
  4066. * LUCENE-6978: Refactor several code places that lookup locales
  4067. by string name to use BCP47 locale tag instead. LuceneTestCase
  4068. now also prints locales on failing tests this way. In addition,
  4069. several places in Solr now additionally support BCP47 in config
  4070. files. (Uwe Schindler, Robert Muir)
  4071. * SOLR-7907: Remove CLUSTERSTATUS related exclusivity checks while running commands in the Overseer because the
  4072. CLUSTERSTATUS request is served by the individual nodes itself and not via the Overseer node (Varun Thacker)
  4073. * SOLR-8566: various initialCapacity tweaks (Fix Versions: trunk 5.5)
  4074. (Christine Poerschke)
  4075. * SOLR-8565: add & use CommonParams.(ROWS|START)_DEFAULT constants (Christine Poerschke)
  4076. * SOLR-8595: Use BinaryRequestWriter by default in HttpSolrClient and ConcurrentUpdateSolrClient. (shalin)
  4077. * SOLR-8597: add default, no-op QParserPlugin.init(NamedList) method (Christine Poerschke)
  4078. * SOLR-7968: Make QueryComponent more extensible. (Markus Jelsma via David Smiley)
  4079. * SOLR-8600: add & use ReRankQParserPlugin parameter [default] constants,
  4080. changed ReRankQuery.toString to use StringBuilder. (Christine Poerschke)
  4081. * SOLR-8308: Core gets inaccessible after RENAME operation with special characters
  4082. (Erik Hatcher, Erick Erickson)
  4083. * SOLR-3141: Warn in logs when expensive optimize calls are made (yonik, janhoy)
  4084. ================== 5.4.1 ==================
  4085. Bug Fixes
  4086. ----------------------
  4087. * SOLR-8460: /analysis/field could throw exceptions for custom attributes. (David Smiley, Uwe Schindler)
  4088. * SOLR-8373: KerberosPlugin: Using multiple nodes on same machine leads clients to
  4089. fetch TGT for every request (Ishan Chattopadhyaya via noble)
  4090. * SOLR-8059: &debug=results for distributed search when distrib.singlePass (sometimes activated
  4091. automatically) could result in an NPE. (David Smiley, Markus Jelsma)
  4092. * SOLR-8422: When authentication enabled, requests fail if sent to a node that doesn't host
  4093. the collection (noble)
  4094. * SOLR-7462: AIOOBE in RecordingJSONParser (Scott Dawson, noble)
  4095. * SOLR-8496: SolrIndexSearcher.getDocSet(List<Query>) incorrectly included deleted documents
  4096. when all of the queries were uncached (or there was no filter cache). This caused
  4097. multi-select faceting (including the JSON Facet API) to include deleted doc counts
  4098. when the remaining non-excluded filters were all uncached. This bug was first introduced in 5.3.0
  4099. (Andreas Müller, Vasiliy Bout, Erick Erickson, Shawn Heisey, Hossman, yonik)
  4100. * SOLR-8418: Adapt to changes in LUCENE-6590 for use of boosts with MLTHandler and
  4101. Simple/CloudMLTQParser (Jens Wille, Ramkumar Aiyengar)
  4102. New Features
  4103. ----------------------
  4104. * SOLR-8470: Make TTL of PKIAuthenticationPlugin's tokens configurable through a system property
  4105. (pkiauth.ttl) (noble)
  4106. ================== 5.4.0 ==================
  4107. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
  4108. Versions of Major Components
  4109. ---------------------
  4110. Apache Tika 1.7
  4111. Carrot2 3.10.4
  4112. Velocity 1.7 and Velocity Tools 2.0
  4113. Apache UIMA 2.3.1
  4114. Apache ZooKeeper 3.4.6
  4115. Jetty 9.2.13.v20150730
  4116. Upgrading from Solr 5.3
  4117. -----------------------
  4118. * DefaultSimilarityFactory has been renamed to ClassicSimilarityFactory to match the underlying rename of
  4119. DefaultSimilarity to ClassicSimilarity and the (eventual) move away from using it as a default.
  4120. If you currently have DefaultSimilarityFactory explicitly referenced in your schema.xml, you will now get
  4121. a warning urging you to edit your config to use the functionally identical ClassicSimilarityFactory.
  4122. DefaultSimilarityFactory will be removed completely in Solr 6. See SOLR-8239 for more details.
  4123. * SOLR-7859: The following APIs are now deprecated:
  4124. - SolrCore.getStartTime: Use SolrCore.getStartTimeStamp instead.
  4125. - SolrIndexSearcher.getOpenTime: Use SolrIndexSearcher.getOpenTimeStamp instead.
  4126. * SOLR-8307: EmptyEntityResolver was moved from core to solrj, and moved from the org.apache.solr.util
  4127. package to org.apache.solr.common. If you are using this class, you will need to adjust the import package.
  4128. * Logger declarations in most source files have changed to code that
  4129. no longer needs to explicitly state the class name. This fixes situations
  4130. where a logger for a different class was incorrectly used. See SOLR-8324
  4131. and its sub-issues for details.
  4132. Detailed Change List
  4133. ----------------------
  4134. New Features
  4135. ----------------------
  4136. * SOLR-5756: A utility Collection API to move a collection from shared clusterstate.json (stateFormat=1,
  4137. default until 4.x) to the per-collection state.json stored in ZooKeeper (stateFormat=2,
  4138. default since 5.0) seamlessly without any application down-time.
  4139. Example:
  4140. http://localhost:8983/solr/admin/collections?action=MIGRATESTATEFORMAT&collection=<collection_name>
  4141. (Noble Paul, Scott Blum, shalin)
  4142. * SOLR-7219: filterCache access added to the solr query syntax.
  4143. Example: description:HDTV OR filter(+promotion:tv +promotion_date:[NOW/DAY TO NOW/DAY+7DAY])
  4144. (yonik)
  4145. * SOLR-7775: Allow fromIndex parameter to ScoreJoinQParserPlugin {!join score=.. fromIndex=..}..
  4146. to refer to a single-sharded collection that has a replica on all nodes where there is a
  4147. replica in the to index (Andrei Beliakov via Mikhail Khludnev)
  4148. * SOLR-7961: Print Solr's version with command bin/solr version (janhoy)
  4149. * SOLR-7789: Introduce a ConfigSet management API (Gregory Chanan)
  4150. * SOLR-4316: Add a collections dropdown to angular admin UI (Upayavira, Shalin Shekhar Mangar)
  4151. * SOLR-7915: Provide pluggable context tool support for VelocityResponseWriter (Erik Hatcher)
  4152. * LUCENE-6795: SystemInfoHandler was improved to also show detailed operating
  4153. system statistics on IBM J9 virtual machines. It also no longer fails on Java 9
  4154. with Jigsaw module system. (Uwe Schindler)
  4155. * SOLR-8053: Basic auth support in SolrJ (noble)
  4156. * SOLR-7995: Add a LIST command to ConfigSets API (Gregory Chanan)
  4157. * SOLR-4388: In Angular UI, add a Collections UI when in cloud mode (Upayavira)
  4158. * SOLR-7858, SOLR-8199: Add links between original and new Admin UIs (Upayavira)
  4159. * SOLR-7888: Analyzing suggesters can now filter suggestions by a context field (Arcadius Ahouansou, janhoy)
  4160. * SOLR-8217: JSON Facet API: add "method" param to terms/field facets to give an execution
  4161. hint for what method should be used to facet. (yonik)
  4162. * SOLR-8113: CloneFieldUpdateProcessorFactory now supports choosing a "dest" field name based on a regex
  4163. pattern and replacement init options. (Gus Heck, hossman)
  4164. * SOLR-8139: Create/delete fields/dynamic fields/copy fields via schema tab on Angular UI
  4165. * SOLR-8166: Introduce possibility to configure ParseContext in
  4166. ExtractingRequestHandler/ExtractingDocumentLoader (Andriy Binetsky
  4167. via Uwe Schindler)
  4168. * SOLR-7569: A collection API to force elect a leader, called FORCELEADER, when all replicas in a shard are down
  4169. (Ishan Chattopadhyaya, Mark Miller, shalin, noble)
  4170. * SOLR-6168: Add a 'sort' local param to the collapse QParser to support using complex sort options
  4171. to select the representitive doc for each collapsed group. (Umesh Prasad, hossman)
  4172. * SOLR-8329: SchemaSimilarityFactory now supports a 'defaultSimFromFieldType' init option for using
  4173. a fieldType name to identify which Similarity to use as a default. (hossman)
  4174. * SOLR-7912: Add boost support, and also exclude the queried document in MoreLikeThis QParser
  4175. (Jens Wille via Anshum Gupta)
  4176. Bug Fixes
  4177. ----------------------
  4178. * SOLR-7859: Fix usage of currentTimeMillis instead of nanoTime in multiple places,
  4179. whitelist valid uses of currentTimeMillis (Ramkumar Aiyengar)
  4180. * SOLR-7836: Possible deadlock when closing refcounted index writers.
  4181. (Jessica Cheng Mallet, Erick Erickson, Mark Miller, yonik)
  4182. * SOLR-7869: Overseer does not handle BadVersionException correctly and, in some cases,
  4183. can go into an infinite loop if cluster state in ZooKeeper is modified externally.
  4184. (Scott Blum, shalin)
  4185. * SOLR-7920: Resolve XSS issue in Admin UI Schema Browser (David Chiu via Upayavira)
  4186. * SOLR-7935: Fix very rare race condition that can cause an update to fail
  4187. via NullPointerException during a core reload. (yonik)
  4188. * SOLR-7941: multivalued params are concatenated when using config API (noble)
  4189. * SOLR-7956: There are interrupts on shutdown in places that can cause ChannelAlreadyClosed
  4190. exceptions which prevents proper closing of transaction logs, interfere with the IndexWriter,
  4191. the hdfs client and other things. (Mark Miller, Scott Blum)
  4192. * SOLR-7954: Fixed an integer overflow bug in the HyperLogLog code used by the 'cardinality' option
  4193. of stats.field to prevent ArrayIndexOutOfBoundsException in a distributed search when a large precision
  4194. is selected and a large number of values exist in each shard (hossman)
  4195. * SOLR-7844: Zookeeper session expiry during shard leader election can cause multiple leaders.
  4196. (Mike Roberts, Mark Miller, Jessica Cheng)
  4197. * SOLR-7984: wrong and misleading error message 'no default request handler is registered' (noble, hossman)
  4198. * SOLR-8001: Fixed bugs in field(foo,min) and field(foo,max) when some docs have no values
  4199. (David Smiley, hossman)
  4200. * SOLR-7819: ZK connection loss or session timeout do not stall indexing threads anymore. All activity
  4201. related to leader initiated recovery is performed by a dedicated LIR thread in the background.
  4202. (Ramkumar Aiyengar, shalin)
  4203. * SOLR-7746: Ping requests stopped working with distrib=true in Solr 5.2.1.
  4204. (Alexey Serba, Michael Sun via Gregory Chanan)
  4205. * SOLR-6547: ClassCastException in SolrResponseBase.getQTime on update response from CloudSolrClient
  4206. when parallelUpdates is enabled (default) and multiple docs are sent as a single update.
  4207. (kevin, hossman, shalin)
  4208. * SOLR-8058: Fix the exclusion filter so that collections that start with js, css, img, tpl
  4209. can be accessed. (Upayavira, Steve Rowe, Anshum Gupta)
  4210. * SOLR-8069: Ensure that only the valid ZooKeeper registered leader can put a replica into Leader
  4211. Initiated Recovery. (Mark Miller, Jessica Cheng, Anshum Gupta)
  4212. * SOLR-8077: Replication can still cause index corruption. (Mark Miller)
  4213. * SOLR-8104: Config API does not work for spellchecker (noble)
  4214. * SOLR-8095: Allow disabling HDFS Locality Metrics and disable by default as it may have performance
  4215. implications on rapidly changing indexes. (Mike Drob via Mark Miller)
  4216. * SOLR-8085: Fix a variety of issues that can result in replicas getting out of sync. (yonik, Mark Miller)
  4217. * SOLR-8094: HdfsUpdateLog should not replay buffered documents as a replacement to dropping them.
  4218. (Mark Miller)
  4219. * SOLR-8075: Leader Initiated Recovery should not stop a leader that participated in an election with all
  4220. of it's replicas from becoming a valid leader. (Mark Miller)
  4221. * SOLR-8072: Rebalance leaders feature does not set CloudDescriptor#isLeader to false when bumping leaders.
  4222. (Mark Miller)
  4223. * SOLR-7666: Many small fixes to Angular UI (Upayavira, Alexandre Rafalovitch)
  4224. * SOLR-7967: AddSchemaFieldsUpdateProcessorFactory does not check if the ConfigSet is immutable (Gregory Chanan)
  4225. * SOLR-6188: Skip the automatic loading of resources in the "lib" subdirectory
  4226. by SolrResourceLoader, but only if we are loading resources from the solr
  4227. home directory. Fixes the inability to use ICU analysis components with a
  4228. "solr." prefix on the classname. (Shawn Heisey)
  4229. * SOLR-8130: Solr's hdfs safe mode detection does not catch all cases of being in safe mode.
  4230. (Mark Miller, Mike Drob)
  4231. * SOLR-8128: Set v.locale specified locale for all LocaleConfig extending VelocityResponseWriter tools.
  4232. (Erik Hatcher)
  4233. * SOLR-8152: Overseer Task Processor/Queue can miss responses, leading to timeouts.
  4234. (Gregory Chanan)
  4235. * SOLR-8107: bin/solr -f should use exec to start the JVM (Martijn Koster via Timothy Potter)
  4236. * SOLR-8050: Partial update on document with multivalued date field fails to parse date and can
  4237. also fail to remove dates in some cases. (Burkhard Buelte, Luc Vanlerberghe, shalin)
  4238. * SOLR-8167: Authorization framework does not work with POST params (noble)
  4239. * SOLR-8162: JmxMonitoredMap#clear triggers a query on all the MBeans thus generating lots of warnings.
  4240. (Marius Dumitru Florea, shalin)
  4241. * SOLR-7843: DataImportHandler's delta imports leak memory because the delta keys are kept in memory
  4242. and not cleared after the process is finished. (Pablo Lozano via shalin)
  4243. * SOLR-8189: eTag calculation during HTTP Cache Validation uses unsynchronized WeakHashMap causing
  4244. threads to be stuck in runnable state. (shalin)
  4245. * SOLR-7993: Raw json output for fields stopped working in 5.3.0 when requested fields do not include
  4246. the unique key field name. (Bill Bell, Ryan McKinley via shalin)
  4247. * SOLR-8192: JSON Facet API allBuckets:true did not work correctly when faceting
  4248. on a multi-valued field with sub-facets / facet functions. (yonik)
  4249. * SOLR-8206: JSON Facet API limit:0 did not always work correctly. (yonik)
  4250. * SOLR-8126: update-<component-name> does not work if the component is only
  4251. present in solrconfig.xml (noble)
  4252. * SOLR-8203: Stop processing updates more quickly on node shutdown. When a node
  4253. is shut down, streaming updates would continue, but new update requests would
  4254. be aborted. This can cause big update reorders that can cause replicas to
  4255. get out of sync. (Mark Miller, yonik)
  4256. * SOLR-6406: ConcurrentUpdateSolrClient hang in blockUntilFinished. If updates are still
  4257. flowing and shutdown is called on the executor service used by ConcurrentUpdateSolrClient,
  4258. a race condition can cause that client to hang in blockUntilFinished.
  4259. (Mark Miller, yonik)
  4260. * SOLR-8215: Only active replicas should handle incoming requests against a collection (Varun Thacker)
  4261. * SOLR-8223: Avoid accidentally swallowing OutOfMemoryError (in LeaderInitiatedRecoveryThread.java
  4262. or CoreContainer.java) (Mike Drob via Christine Poerschke)
  4263. * SOLR-8255: MiniSolrCloudCluster needs to use a thread-safe list to keep track
  4264. of its child nodes (Alan Woodward)
  4265. * SOLR-8254: HttpSolrCore.getCoreByCollection() can throw NPE (Alan Woodward,
  4266. Mark Miller)
  4267. * SOLR-8262: Comment out /stream handler from sample solrconfig.xml's for security reasons
  4268. (Joel Bernstein)
  4269. * SOLR-7989: After a new leader is elected it should change it's state to ACTIVE even
  4270. if the last published state is something else if it has already registered with ZK.
  4271. (Ishan Chattopadhyaya, Mark Miller via noble)
  4272. * SOLR-8287: TrieDoubleField and TrieLongField now override toNativeType
  4273. (Ishan Chattopadhyaya via Christine Poerschke)
  4274. * SOLR-8284: JSON Facet API - fix NPEs when short form "sort:index" or "sort:count"
  4275. are used. (Michael Sun via yonik)
  4276. * SOLR-8295: Fix NPE in collapse QParser when collapse field is missing from all docs in a segment (hossman)
  4277. * SOLR-8280: Fixed bug in SimilarityFactory initialization that prevented SolrCoreAware factories -- such
  4278. as SchemaSimilarityFactory -- from functioning properly with managed schema features. (hossman)
  4279. * SOLR-5971: Fix error 'Illegal character in query' when proxying request.
  4280. (Uwe Schindler, Ishan Chattopadhyaya, Eric Bus)
  4281. * SOLR-8307: Fix XXE vulnerability in MBeansHandler "diff" feature (Erik Hatcher)
  4282. * SOLR-8073: Solr fails to start on Windows with obscure errors when using relative path.
  4283. (Alexandre Rafalovitch, Ishan Chattopadhyaya via shalin)
  4284. * SOLR-7169: bin/solr status should return exit code 3, not 0 if Solr is not running
  4285. (Dominik Siebel via Timothy Potter)
  4286. * SOLR-8341: Fix JSON Facet API excludeTags when specified in the
  4287. form of domain:{excludeTags:mytag} (yonik)
  4288. * SOLR-8326: If BasicAuth enabled, inter node requests fail after node restart (noble, Anshum Gupta)
  4289. * SOLR-8340: Fixed NullPointerException in HighlightComponent.
  4290. (zengjie via Christine Poerschke)
  4291. * SOLR-8355: update permissions were failing node recovery (noble , Anshum Gupta)
  4292. Optimizations
  4293. ----------------------
  4294. * SOLR-7918: Filter (DocSet) production from term queries has been optimized and
  4295. is anywhere from 20% to over 100% faster and produces less garbage on average.
  4296. (yonik)
  4297. * SOLR-6760: New optimized DistributedQueue implementation for overseer increases
  4298. message processing performance by ~470%.
  4299. (Noble Paul, Scott Blum, shalin)
  4300. * SOLR-6629: Watch /collections zk node on all nodes so that cluster state updates
  4301. are more efficient especially when cluster has a mix of collections in stateFormat=1
  4302. and stateFormat=2. (Scott Blum, shalin)
  4303. * SOLR-7971: Reduce memory allocated by JavaBinCodec to encode small strings by an amount
  4304. equal to the string.length(). JavaBinCodec now uses a double pass approach to write strings
  4305. larger than 64KB to avoid allocating buffer memory equal to string's UTF8 size.
  4306. (yonik, Steve Rowe, Mikhail Khludnev, Noble Paul, shalin)
  4307. * SOLR-7983: Utils.toUTF8 uses larger buffer than necessary for holding UTF8 data. (shalin)
  4308. * SOLR-8222: JSON Facet API optimization to faceting by count on docvalue fields (or indexed fields
  4309. with method=dv) when there are multiple hits expected for enoug buckets. For example, this
  4310. more than doubled the performance of faceting 5M documents over a field with 1M unique values.
  4311. (yonik)
  4312. * SOLR-8288: DistributedUpdateProcessor#doFinish should explicitly check and ensure it
  4313. does not try to put itself into LIR. (Mark Miller)
  4314. Other Changes
  4315. ----------------------
  4316. * SOLR-8294: Cleanup solrconfig.xmls under solr/example/example-DIH/solr (removed
  4317. obsolete clustering handler sections). (Dawid Weiss)
  4318. * SOLR-7969: Unavailable clustering engines should not fail the core. (Dawid Weiss)
  4319. * SOLR-7790, SOLR-7791: Update Carrot2 clustering component to
  4320. version 3.10.4. Upgrade HPPC library to version 0.7.1. (Dawid Weiss)
  4321. * SOLR-7831: Start Scripts: Allow a configurable stack size [-Xss] (Steve Davids via Mark Miller)
  4322. * SOLR-7870: Write a test which asserts that requests to stateFormat=2 collection succeed on a node
  4323. even after all local replicas of that collection have been removed.
  4324. (Scott Blum via shalin)
  4325. * SOLR-7902: Split out use of child timers from RTimer to a sub-class
  4326. (Ramkumar Aiyengar)
  4327. * SOLR-7943: Upgrade Jetty to 9.2.13.v20150730. (Bill Bell, shalin)
  4328. * SOLR-7007: DistributedUpdateProcessor now logs replay flag as boolean instead of int
  4329. (Mike Drob via Christine Poerschke)
  4330. * SOLR-7960: Start scripts now gives generic help for bin/solr -h and bin/solr --help (janhoy)
  4331. * SOLR-7970: Factor out a SearchGroupsFieldCommandResult class.
  4332. (Christine Poerschke)
  4333. * SOLR-7942: Previously removed unlockOnStartup option (LUCENE-6508) now logs warning if configured,
  4334. will be an error in 6.0. Also improved error msg if an index is locked on startup (hossman)
  4335. * SOLR-7979: Fix two typos (in a CoreAdminHandler log message and a TestCloudPivotFacet comment).
  4336. (Mike Drob via Christine Poerschke)
  4337. * SOLR-7966: Solr Admin UI Solr now sets the HTTP header X-Frame-Options to DENY
  4338. to avoid clickjacking. (yonik)
  4339. * SOLR-7999: SolrRequestParser tests no longer depend on external URLs
  4340. that may fail to work. (Uwe Schindler)
  4341. * SOLR-8034: Leader no longer puts replicas in recovery in case of a failed update, when minRF
  4342. isn't achieved. (Jessica Cheng, Timothy Potter, Anshum Gupta)
  4343. * SOLR-8066: SolrCore.checkStale method doesn't restore interrupt status. (shalin)
  4344. * SOLR-8068: Throw a SolrException if the core container has initialization errors or is
  4345. shutting down (Ishan Chattopadhyaya, Noble Paul, Anshum Gupta)
  4346. * SOLR-8083: Convert the ZookeeperInfoServlet to a handler at /admin/zookeeper (noble)
  4347. * SOLR-8025: remove unnecessary ResponseBuilder.getQueryCommand() calls (Christine Poerschke)
  4348. * SOLR-8150: Fix build failure due to too much output from QueryResponseTest (janhoy)
  4349. * SOLR-8151: OverseerCollectionMessageHandler was logging info data as WARN
  4350. (Alan Woodward)
  4351. * SOLR-8116: SearchGroupsResultTransformer tweaks (String literals, list/map initialCapacity)
  4352. (Christine Poerschke)
  4353. * SOLR-8114: in Grouping.java rename groupSort and sort to withinGroupSort and groupSort
  4354. (Christine Poerschke)
  4355. * SOLR-8074: LoadAdminUIServlet directly references admin.html (Mark Miller, Upayavira)
  4356. * SOLR-8195: IndexFetcher download trace now includes bytes-downloaded[-per-second]
  4357. (Christine Poerschke)
  4358. * SOLR-4854: Add a test to assert that [elevated] DocTransfer works correctly with javabin
  4359. response format. (Ray, shalin)
  4360. * SOLR-8196: TestMiniSolrCloudCluster.testStopAllStartAll case plus necessary
  4361. MiniSolrCloudCluster tweak (Christine Poerschke)
  4362. * SOLR-8221: MiniSolrCloudCluster should create subdirectories for its nodes
  4363. (Alan Woodward)
  4364. * SOLR-8218: DistributedUpdateProcessor (initialCapacity) tweaks
  4365. (Christine Poerschke)
  4366. * SOLR-8147: contrib/analytics FieldFacetAccumulator now throws IOException instead of SolrException
  4367. (Scott Stults via Christine Poerschke)
  4368. * SOLR-8239: Added ClassicSimilarityFactory, marked DefaultSimilarityFactory as deprecated. (hossman)
  4369. * SOLR-8253: AbstractDistribZkTestBase can sometimes fail to shut down its
  4370. ZKServer (Alan Woodward)
  4371. * SOLR-8260: Use NIO2 APIs in core discovery (Alan Woodward)
  4372. * SOLR-8259: Deprecate JettySolrRunner.getDispatchFilter(), add
  4373. .getSolrDispatchFilter() and .getCoreContainer() (Alan Woodward)
  4374. * SOLR-8278: Use NIO2 APIs in ConfigSetService (Alan Woodward)
  4375. * SOLR-8286: Remove instances of solr.hdfs.blockcache.write.enabled from tests
  4376. and docs (Gregory Chanan)
  4377. * SOLR-8269: Upgrade commons-collections to 3.2.2. This fixes a known serialization vulnerability (janhoy)
  4378. * SOLR-8246: Fix SolrCLI to clean the config directory in case creating a core failed.
  4379. (Jason Gerlowski via Shai Erera)
  4380. * SOLR-8290: remove SchemaField.checkFieldCacheSource's unused QParser argument (Christine Poerschke)
  4381. * SOLR-8300: Use constants for the /overseer_elect znode (Varun Thacker)
  4382. * SOLR-8283: factor out StrParser from QueryParsing.StrParser and SortSpecParsing[Test]
  4383. from QueryParsing[Test] (Christine Poerschke)
  4384. * SOLR-8298: small preferLocalShards implementation refactor (Christine Poerschke)
  4385. * SOLR-8315: Removed default core checks in the dispatch filter since we don't have a default
  4386. core anymore (Varun Thacker)
  4387. * SOLR-8302: SolrResourceLoader now takes a Path as its instance directory (Alan
  4388. Woodward, Shawn Heisey)
  4389. * SOLR-8303: CustomBufferedIndexInput now includes resource description when
  4390. throwing EOFException. (Mike Drob via Uwe Schindler)
  4391. * SOLR-8194: Improve error reporting for null documents in UpdateRequest (Markus
  4392. Jelsma, Alan Woodward)
  4393. * SOLR-8277: (Search|Top)GroupsFieldCommand tweaks (Christine Poerschke)
  4394. * SOLR-8299: ConfigSet DELETE operation no longer allows deletion of config sets that
  4395. are currently in use by other collections (Anshum Gupta)
  4396. * SOLR-8101: Improve Linux service installation script (Sergey Urushkin via Timothy Potter)
  4397. * SOLR-8180: jcl-over-slf4j should have officially been a SolrJ dependency; it now is.
  4398. (David Smiley, Kevin Risden)
  4399. * SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared
  4400. across source files.(Jason Gerlowski, Uwe Schindler, Anshum Gupta)
  4401. * SOLR-8363: Fix check-example-lucene-match-version Ant task and addVersion.py script to
  4402. check and update luceneMatchVersion under solr/example/ configs as well logic. (Varun Thacker)
  4403. ================== 5.3.2 ==================
  4404. Bug Fixes
  4405. ----------------------
  4406. * SOLR-8460: /analysis/field could throw exceptions for custom attributes. (David Smiley, Uwe Schindler)
  4407. * SOLR-8373: KerberosPlugin: Using multiple nodes on same machine leads clients to
  4408. fetch TGT for every request (Ishan Chattopadhyaya via noble)
  4409. * SOLR-8340: Fixed NullPointerException in HighlightComponent. (zengjie via Christine Poerschke)
  4410. * SOLR-8059: &debug=results for distributed search when distrib.singlePass (sometimes activated
  4411. automatically) could result in an NPE. (David Smiley, Markus Jelsma)
  4412. * SOLR-8167: Authorization framework does not work with POST params (noble)
  4413. * SOLR-8355: update permissions were failing node recovery (noble , Anshum Gupta)
  4414. * SOLR-8326: If BasicAuth enabled, inter node requests fail after node restart (noble, Anshum Gupta)
  4415. * SOLR-8269: Upgrade commons-collections to 3.2.2. This fixes a known serialization vulnerability (janhoy)
  4416. * SOLR-8422: When authentication enabled, requests fail if sent to a node that doesn't host
  4417. the collection (noble)
  4418. * SOLR-8496: SolrIndexSearcher.getDocSet(List<Query>) incorrectly included deleted documents
  4419. when all of the queries were uncached (or there was no filter cache). This caused
  4420. multi-select faceting (including the JSON Facet API) to include deleted doc counts
  4421. when the remaining non-excluded filters were all uncached. This bug was first introduced in 5.3.0
  4422. (Andreas Müller, Vasiliy Bout, Erick Erickson, Shawn Heisey, Hossman, yonik)
  4423. ================== 5.3.1 ==================
  4424. Bug Fixes
  4425. ----------------------
  4426. * SOLR-7949: Resolve XSS issue in Admin UI stats page (David Chiu via janhoy)
  4427. * SOLR-8000: security.json is not loaded on server start (noble)
  4428. * SOLR-8004: RuleBasedAuthorization plugin does not work for the collection-admin-edit permission (noble)
  4429. * SOLR-7972: Fix VelocityResponseWriter template encoding issue.
  4430. Templates must be UTF-8 encoded. (Erik Hatcher)
  4431. * SOLR-7929: SimplePostTool (also bin/post) -filetypes "*" now works properly in 'web' mode (Erik Hatcher)
  4432. * SOLR-7978: Fixed example/files update-script.js to be Java 7 and 8 compatible. (Erik Hatcher)
  4433. * SOLR-7988: SolrJ could not make requests to handlers with '/admin/' prefix (noble , ludovic Boutros)
  4434. * SOLR-7990: Use of timeAllowed can cause incomplete filters to be cached and incorrect
  4435. results to be returned on subsequent requests. (Erick Erickson, yonik)
  4436. * SOLR-8041: Fix VelocityResponseWriter's $resource.get(key,baseName,locale) to use specified locale.
  4437. (Erik Hatcher)
  4438. ================== 5.3.0 ==================
  4439. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
  4440. Versions of Major Components
  4441. ---------------------
  4442. Apache Tika 1.7
  4443. Carrot2 3.9.0
  4444. Velocity 1.7 and Velocity Tools 2.0
  4445. Apache UIMA 2.3.1
  4446. Apache ZooKeeper 3.4.6
  4447. Jetty 9.2.11.v20150529
  4448. Upgrading from Solr 5.2
  4449. -----------------------
  4450. * SolrJ's CollectionAdminRequest class is now marked as abstract. Use one of its concrete
  4451. sub-classes instead.
  4452. * Solr no longer supports forcefully unlocking an index.
  4453. This is no longer supported by the underlying Lucene locking
  4454. framework. The setting in solrconfig.xml has no effect anymore.
  4455. Background: If you use native lock factory, unlocking should
  4456. not be needed, because the locks are cleared after process
  4457. shutdown automatically by the operating system. If you are
  4458. using simple lock factory (not recommended) or hdfs lock
  4459. factory, you may need to manually unlock by deleting the lock
  4460. file from filesystem / HDFS.
  4461. * The zkCredientialsProvider element in solrcloud section of solr.xml is now deprecated.
  4462. Use the correct spelling (zkCredentialsProvider) instead.
  4463. * class TransformerWithContext is deprecated . Use DocTransformer directly
  4464. * The "name" parameter in ADDREPLICA Collections API call has be deprecated. One cannot specify
  4465. the core name for a replica. See SOLR-7499 for more info.
  4466. * The ShardHandler interface has changed. The interface used to provide a
  4467. `checkDistributed` function which doubled up in purpose to determine if the
  4468. request is distributed, and to prepare for distributed requests. This unfortunately
  4469. meant that the object had to be instantiated even when the request is not
  4470. distributed. The task of initially determining if the request is distributed
  4471. is now done by SearchHandler using the distrib/shards parameters, and a
  4472. ShardHandler object is created only if the request is distributed. The interface
  4473. now has a `prepDistributed` function instead of the `checkDistributed` function,
  4474. which can then be used to prepare for the distributed request. Users with custom
  4475. ShardHandler implementations would need to modify their code to this effect.
  4476. * The system property "solr.solrxml.location" is not supported any more. Now, solr.xml is first
  4477. looked up in zookeeper, and if not found, fallback to SOLR_HOME. See SOLR-7735 for more info.
  4478. Detailed Change List
  4479. ----------------------
  4480. New Features
  4481. ----------------------
  4482. * SOLR-7724: SolrJ now supports parsing the output of the clustering component.
  4483. (Alessandro Benedetti via Dawid Weiss)
  4484. * SOLR-7389: Expose znodeVersion property for each of the collections returned for the clusterstatus
  4485. operation in the collections API (Marius Grama via shalin)
  4486. * SOLR-7622: A DocTransformer can now request fields from the SolrIndexSearcher that are not
  4487. necessarily returned in the file SolrDocument by returning a list of fields from
  4488. DocTransformer#getExtraRequestFields (ryan)
  4489. * SOLR-7458: Expose HDFS Block Locality Metrics via JMX (Mike Drob via Mark Miller)
  4490. * SOLR-7676: Faceting on nested objects / Block-join faceting with the new JSON Facet API.
  4491. Example: Assuming books with nested pages and an input domain of pages, the following
  4492. will switch the domain to books before faceting on the author field:
  4493. authors:{ type:terms, field:author, domain:{toParent:"type:book"} }
  4494. (yonik)
  4495. * SOLR-7668: Add 'port' tag support in replica placement rules (Adam McElwee, Noble Paul)
  4496. * SOLR-5886: Response for an async call is now stored in zk so that it can be returned by the REQUESTSTATUS API.
  4497. Also, the number of stored (failed and successful) responses are now restricted to 10,000 each as a safety net.
  4498. (Anshum Gupta)
  4499. * SOLR-7639: MoreLikeThis QParser now supports all options provided by the MLT Handler i.e. mintf, mindf,
  4500. minwl, maxwl, maxqt, and maxntp.
  4501. * SOLR-7182: Make the Schema-API a first class citizen of SolrJ. The new SchemaRequest and its inner
  4502. classes can be used to make requests to the Schema API. (Sven Windisch, Marius Grama via shalin)
  4503. * SOLR-7651: New response format added wt=smile (noble)
  4504. * SOLR-4212: SOLR-6353: Let facet queries and facet ranges hang off of pivots. Example:
  4505. facet.range={!tag=r1}price&facet.query={!tag=q1}somequery&facet.pivot={!range=r1 query=q1}category,manufacturer
  4506. (Steve Molloy, hossman, shalin)
  4507. * SOLR-7742: Support for Immutable ConfigSets (Gregory Chanan)
  4508. * SOLR-2522: new two argument option for the existing field() function; picks the min/max value of a
  4509. docValues field to use as a ValueSource: "field(field_name,min)" and "field(field_name,max)" (hossman)
  4510. * SOLR-6234: Scoring for query time join (Mikhail Khludnev)
  4511. * SOLR-5882: score local parameter for block join query parser {!parent} (Andrey Kudryavtsev, Mikhail Khludnev)
  4512. * SOLR-7799: Added includeIndexFieldFlags (backwards compatible default is true) to /admin/luke.
  4513. When there are many fields in the index, setting this flag to false can dramatically speed up requests. (ehatcher)
  4514. * SOLR-7769: Add bin/post -p alias for -port parameter. (ehatcher)
  4515. * SOLR-7766: support creation of a coreless collection via createNodeSet=EMPTY (Christine Poerschke)
  4516. * SOLR-7849: Solr-managed inter-node authentication when authentication enabled (Noble Paul)
  4517. * SOLR-7220: Nested C-style comments in queries. (yonik)
  4518. * SOLR-7757: Improved security framework where security components can be edited/reloaded, Solr
  4519. now watches /security.json. Components can choose to make their config editable
  4520. (Noble Paul, Anshum Gupta, Ishan Chattopadhyaya)
  4521. * SOLR-7838: An authorizationPlugin interface where the access control rules are stored/managed in
  4522. ZooKeeper (Noble Paul, Anshum Gupta, Ishan Chattopadhyaya)
  4523. * SOLR-7837: An AuthenticationPlugin which implements the HTTP BasicAuth protocol and stores credentials
  4524. securely in ZooKeeper (Noble Paul, Anshum Gupta,Ishan Chattopadhyaya)
  4525. Bug Fixes
  4526. ----------------------
  4527. * SOLR-7361: Slow loading SolrCores should not hold up all other SolrCores that have finished loading from serving
  4528. requests. (Mark Miller, Timothy Potter, Ramkumar Aiyengar)
  4529. * SOLR-4506: Clean-up old (unused) index directories in the background after initializing a new index;
  4530. previously, Solr would leave old index.yyyyMMddHHmmssSSS directories left behind after failed recoveries
  4531. in the data directory, which unnecessarily consumes disk space. (Mark Miller, Timothy Potter)
  4532. * SOLR-7108: Change default query used by /admin/ping to not rely on other parameters such as query parser or
  4533. default field. (ehatcher)
  4534. * SOLR-6835: ReRankQueryParserPlugin checks now whether the reRankQuery parameter is present and not empty.
  4535. (帅广应, Marius Grama via shalin)
  4536. * SOLR-7566: Search requests should return the shard name that is down. (Marius Grama, shalin)
  4537. * SOLR-7675: Add missing _root_ field to managed-schema template so that the default data driven
  4538. config set can index nested documents by default. (yonik)
  4539. * SOLR-7635: Limit lsof port check in bin/solr to just listening ports
  4540. (Upayavira, Ramkumar Aiyengar)
  4541. * SOLR-7091: Nested documents with unknown fields don't work in schemaless mode.
  4542. (Steve Rowe)
  4543. * SOLR-7682: Schema API: add-copy-field should accept the maxChars parameter. (Steve Rowe)
  4544. * SOLR-7693: Fix the bin/solr -e cloud example to work if lsof is not installed
  4545. on the local machine by waiting for 10 seconds before starting the second node.
  4546. (hossman, Timothy Potter)
  4547. * SOLR-7689: ReRankQuery rewrite method can change the QueryResultKey causing cache misses.
  4548. (Emad Nashed, Yonik Seeley, Joel Bernstein)
  4549. * SOLR-7697: Schema API doesn't take class or luceneMatchVersion attributes into
  4550. account for the analyzer when adding a new field type. (Marius Grama, Steve Rowe)
  4551. * SOLR-7679: Schema API doesn't take similarity attribute into account when adding
  4552. field types. (Marius Grama, Steve Rowe)
  4553. * SOLR-7664: Throw correct exception (RemoteSolrException) on receiving a HTTP 413.
  4554. (Ramkumar Aiyengar, Eirik Lygre)
  4555. * SOLR-6686: facet.threads can return wrong results when using facet.prefix multiple
  4556. times on same field. (Michael Ryan, Tim Underwood via shalin)
  4557. * SOLR-7673: Race condition in shard splitting can cause operation to hang indefinitely
  4558. or sub-shards to never become active. (shalin)
  4559. * SOLR-7741: Add missing fields to SolrIndexerConfig.toMap
  4560. (Mike Drob, Christine Poerschke via Ramkumar Aiyengar)
  4561. * SOLR-7748: Fix bin/solr to start on IBM J9. (Shai Erera)
  4562. * SOLR-7143: MoreLikeThis Query parser should handle multiple field names
  4563. (Jens Wille, Anshum Gupta)
  4564. * SOLR-7132: The Collections API ADDREPLICA command property.name is not reflected
  4565. in the clusterstate until after Solr restarts (Erick Erickson)
  4566. * SOLR-7172: addreplica API fails with incorrect error msg "cannot create collection"
  4567. (Erick Erickson)
  4568. * SOLR-7705: CoreAdminHandler Unload no longer handles null core name and throws NPE
  4569. instead of a bad request error. (John Call, Edward Ribeiro via shalin)
  4570. * SOLR-7529: CoreAdminHandler Reload throws NPE on null core name instead of a bad
  4571. request error. (Jellyfrog, Edward Ribeiro via shalin)
  4572. * SOLR-7781: JSON Facet API: Terms facet on string/text fields with sub-facets caused
  4573. a bug that resulted in filter cache lookup misses as well as the filter cache
  4574. exceeding it's configured size. (yonik)
  4575. * SOLR-7810: map-reduce contrib script to set classpath for convenience refers to example
  4576. rather than server. (Mark Miller)
  4577. * SOLR-7765: Hardened the behavior of TokenizerChain when null arguments are used in constructor.
  4578. This prevents NPEs in some code paths. (Konstantin Gribov, hossman)
  4579. * SOLR-7829: Fixed a bug in distributed pivot faceting that could result in a facet.missing=true count
  4580. which was lower then the correct count if facet.sort=index and facet.pivot.mincount > 1 (hossman)
  4581. * SOLR-7842: ZK connection loss or session expiry events should not fire config directory listeners.
  4582. (noble, shalin)
  4583. * SOLR-6357: Allow delete documents by doing a score join query. (Mikhail Khludnev, Timothy Potter)
  4584. * SOLR-7756: Fixed ExactStatsCache and LRUStatsCache to not throw an NPE when a term is not present on a shard.
  4585. (Varun Thacker, Anshum Gupta)
  4586. * SOLR-7818: Fixed distributed stats to be calculated for all the query terms. Earlier the stats were calculated with
  4587. the terms that are present in the last shard of a distributed request. (Varun Thacker, Anshum Gupta)
  4588. * SOLR-7866: VersionInfo caused an unhandled NPE when trying to determine the max value for the
  4589. version field. (Timothy Potter)
  4590. * SOLR-7666 (and linked tickets): Many fixes to AngularJS Admin UI bringing it close to feature
  4591. parity with existing UI. (Upayavira)
  4592. * SOLR-7908: SegmentsInfoRequestHandler gets a ref counted IndexWriter and does not properly release it.
  4593. (Mark Miller, shalin)
  4594. * SOLR-7921: The techproducts example fails when running in a directory that contains spaces.
  4595. (Ishan Chattopadhyaya via Timothy Potter)
  4596. * SOLR-7934: SolrCLI masks underlying cause of create collection failure. (Timothy Potter)
  4597. Optimizations
  4598. ----------------------
  4599. * SOLR-7660: Avoid redundant 'exists' calls made to ZK while fetching cluster state updates. (shalin)
  4600. * SOLR-7714: Reduce SearchHandler's use of ShardHandler objects across shards in a search,
  4601. from one for each shard and the federator, to just one for the federator.
  4602. (Christine Poerschke via Ramkumar Aiyengar)
  4603. * SOLR-7751: Minor optimizations to QueryComponent.process (reduce eager instantiations,
  4604. cache method calls) (Christine Poerschke via Ramkumar Aiyengar)
  4605. * SOLR-7455: Terms facets with the JSON Facet API now defer calculating non-sorting stats
  4606. until a second phase, after the top N facets are found. This improves performance
  4607. proportional to the number of non-sorting statistics being calculated in addition to
  4608. the number of buckets and domain documents.
  4609. For Example: The facet request {type:terms, field:field1, facet:{x:"unique(field2)"}}
  4610. saw a 7x improvement when field1 and 1M unique terms and field2 had 1000 unique terms.
  4611. (yonik)
  4612. * SOLR-7840: ZkStateReader.updateClusterState fetches watched collections twice from ZK. (shalin)
  4613. * SOLR-7875: Speedup SolrQueryTimeoutImpl. Avoid setting a timeout time when timeAllowed
  4614. parameter is not set. (Tomás Fernández Löbbe)
  4615. Other Changes
  4616. ----------------------
  4617. * SOLR-7787: Removed fastutil and java-hll dependency, integrated HyperLogLog from java-hll
  4618. into Solr core. (Dawid Weiss)
  4619. * SOLR-7595: Allow method chaining for all CollectionAdminRequests in Solrj. (shalin)
  4620. * SOLR-7146: MiniSolrCloudCluster based tests can fail with ZooKeeperException NoNode for /live_nodes.
  4621. (Vamsee Yarlagadda via shalin)
  4622. * SOLR-7590: Finish and improve MDC context logging support. (Mark Miller)
  4623. * SOLR-7599: Remove cruft from SolrCloud tests. (shalin)
  4624. * SOLR-7636: CLUSTERSTATUS API is executed at CollectionsHandler (noble)
  4625. * LUCENE-6508: Remove ability to forcefully unlock an index.
  4626. This is no longer supported by the underlying Lucene locking
  4627. framework. (Uwe Schindler, Mike McCandless, Robert Muir)
  4628. * SOLR-3719: Add as-you-type "instant search" to example/files /browse.
  4629. (Esther Quansah, ehatcher)
  4630. * SOLR-7645: Remove explicitly defined request handlers from example and test solrconfig's that are
  4631. already defined implicitly, such as /admin/ping, /admin/system, and several others. (ehatcher)
  4632. * SOLR-7603: Fix test only bug in UpdateRequestProcessorFactoryTest (hossman)
  4633. * SOLR-7634: Upgrade Jetty to 9.2.11.v20150529 (Bill Bell, shalin)
  4634. * SOLR-7659: Rename releaseCommitPointAndExtendReserve in DirectoryFileStream
  4635. to extendReserveAndReleaseCommitPoint, and reverse the code to match.
  4636. (shalin, Shawn Heisey)
  4637. * SOLR-7624: Add correct spelling (zkCredentialsProvider) as an alternative to
  4638. zkCredientialsProvider element in solrcloud section of solr.xml.
  4639. (Xu Zhang, Per Steffensen, Ramkumar Aiyengar, Mark Miller)
  4640. * SOLR-7619: Fix SegmentsInfoRequestHandlerTest when more than one segment is created.
  4641. (Ramkumar Aiyengar, Steve Rowe)
  4642. * SOLR-7678: Switch RTimer to use nanoTime (improves accuracy of QTime, and other times
  4643. returned by Solr handlers) (Ramkumar Aiyengar)
  4644. * SOLR-7680: Use POST instead of GET when finding versions for mismatches with
  4645. CloudInspectUtil for tests (Ramkumar Aiyengar)
  4646. * SOLR-7665: deprecate the class TransformerWithContext (noble)
  4647. * SOLR-7629: Have RulesTest consider disk space limitations of where the test is
  4648. being run (Christine Poerschke via Ramkumar Aiyengar)
  4649. * SOLR-7499: The "name" parameter in ADDREPLICA Collections API call has be deprecated. One cannot specify
  4650. the core name for a replica (Varun Thacker, noble, Erick Erickson)
  4651. * SOLR-7711: Correct initial capacity for the list that holds the default components for the SearchHandler
  4652. (Christine Poerschke via Varun Thacker)
  4653. * SOLR-7485: Replace shards.info occurrences with ShardParams.SHARDS_INFO
  4654. (Christine Poerschke via Ramkumar Aiyengar)
  4655. * SOLR-7710: Replace async occurrences with CommonAdminParams.ASYNC
  4656. (Christine Poerschke, Ramkumar Aiyengar)
  4657. * SOLR-7712: fixed test to account for aggregate floating point precision loss (hossman)
  4658. * SOLR-7740: Fix typo bug with TestConfigOverlay (Christine Poerschke via Ramkumar Aiyengar)
  4659. * SOLR-7750: Change TestConfig.testDefaults to cover all SolrIndexConfig fields
  4660. (Christine Poerschke via Ramkumar Aiyengar)
  4661. * SOLR-7703: Authentication plugin is now loaded using the ResourceLoader.
  4662. (Avi Digmi via Anshum Gupta)
  4663. * SOLR-7800: JSON Facet API: the avg() facet function now skips missing values
  4664. rather than treating them as a 0 value. The def() function can be used to
  4665. treat missing values as 0 if that is desired.
  4666. Example: facet:{ mean:"avg(def(myfield,0))" }
  4667. * SOLR-7805: Update Kite Morphlines to 1.1.0 (Mark Miller)
  4668. * SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date
  4669. formatting and parsing out of TrieDateField and move to static utility class
  4670. DateFormatUtil. (Markus Heiden, Uwe Schindler)
  4671. * SOLR-7825: Forbid all usages of log4j and java.util.logging classes in Solr except
  4672. classes which are specific to logging implementations. Remove accidental usage of log4j
  4673. logger from a few places. The default log level for org.apache.zookeeper is changed from
  4674. ERROR to WARN for zkcli.{sh,cmd} only.
  4675. (Oliver Schrenk, Tim Potter, Uwe Schindler, shalin)
  4676. * SOLR-7735: Look for solr.xml in Zookeeper by default in SolrCloud mode. If not found, it will be loaded
  4677. from $SOLR_HOME/solr.xml as before. Sysprop solr.solrxml.location is now gone. (janhoy)
  4678. * SOLR-7227: Ship Solr with the Web application directory exploded into
  4679. server/solr-webapp, solr.war is no longer included in the distribution
  4680. bundles. (Timothy Potter, Uwe Schindler)
  4681. * SOLR-6625: Enable registering interceptors for the calls made using HttpClient and make the
  4682. request object available at the interceptor context ( Ishan Chattopadhyay, Gregory Chanan, noble, Anshum Gupta)
  4683. * SOLR-5022: On Java 7 raise permgen for running tests. (Uwe Schindler)
  4684. * SOLR-7823: TestMiniSolrCloudCluster.testCollectionCreateSearchDelete async collection-creation (sometimes)
  4685. (Christine Poerschke)
  4686. * SOLR-7854: Remove unused ZkStateReader.updateClusterState(false) method. (Scott Blum via shalin)
  4687. * SOLR-7863: Lowercase the CLUSTERPROP command in ZkCLI for consistency, print error for unknown cmd (janhoy)
  4688. * SOLR-7832: bin/post now allows either -url or -c, rather than requiring both. (ehatcher)
  4689. * SOLR-7847: Implement run example logic in Java instead of OS-specific scripts in
  4690. bin/solr and bin\solr.cmd (Timothy Potter)
  4691. * SOLR-7877: TestAuthenticationFramework.testBasics to preserve/restore the original request(Username|Password)
  4692. (Christine Poerschke)
  4693. * SOLR-7900: example/files improvements - added language detection and faceting, added title field, relocated .js files.
  4694. (Esther Quansah and Erik Hatcher)
  4695. ================== 5.2.1 ==================
  4696. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
  4697. Versions of Major Components
  4698. ---------------------
  4699. Apache Tika 1.7
  4700. Carrot2 3.9.0
  4701. Velocity 1.7 and Velocity Tools 2.0
  4702. Apache UIMA 2.3.1
  4703. Apache ZooKeeper 3.4.6
  4704. Jetty 9.2.10.v20150310
  4705. Detailed Change List
  4706. ----------------------
  4707. Bug Fixes
  4708. ----------------------
  4709. * SOLR-7588: Fix javascript bug introduced by SOLR-7409 that breaks the
  4710. dataimport screen in the admin UI. (Bill Bell via Shawn Heisey)
  4711. * SOLR-7616: Faceting on a numeric field with a unique() subfacet function on another numeric field
  4712. can result in incorrect results or an exception. (yonik)
  4713. * SOLR-7518: New Facet Module should respect shards.tolerant and process all non-failing shards
  4714. instead of throwing an exception. (yonik)
  4715. * SOLR-7574: A request with a json content type but no body caused a null pointer exception (yonik)
  4716. * SOLR-7512: SolrOutputFormat creates an invalid solr.xml in the solr home zip for MapReduceIndexerTool.
  4717. (Mark Miller, Adam McElwee)
  4718. * SOLR-7652: Fix example/files update-script.js to work with Java 7 (ehatcher)
  4719. * SOLR-7638: Fix new (Angular-based) admin UI Cloud pane (Upayavira via ehatcher)
  4720. * SOLR-7655: The DefaultSolrHighlighter since 5.0 was determining if payloads were present in a way
  4721. that was slow, especially when lots of fields were highlighted. It's now fast. (David Smiley)
  4722. * SOLR-7493: Requests aren't distributed evenly if the collection isn't present locally.
  4723. (Jeff Wartes, shalin)
  4724. Other Changes
  4725. ----------------------
  4726. * SOLR-7623: Fix regression from SOLR-7484 that made it impossible to override
  4727. SolrDispatchFilter#execute() and SolrDispatchFilter#sendError(). You can now override these
  4728. functions in HttpSolrCall. (ryan)
  4729. * SOLR-7648: Expose remote IP and Host via the AuthorizationContext to be used by the authorization plugin.
  4730. (Ishan Chattopadhyaya via Anshum Gupta)
  4731. ================== 5.2.0 ==================
  4732. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
  4733. Versions of Major Components
  4734. ---------------------
  4735. Apache Tika 1.7
  4736. Carrot2 3.9.0
  4737. Velocity 1.7 and Velocity Tools 2.0
  4738. Apache UIMA 2.3.1
  4739. Apache ZooKeeper 3.4.6
  4740. Jetty 9.2.10.v20150310
  4741. Upgrading from Solr 5.1
  4742. -----------------------
  4743. * A bug was introduced in Solr 4.10 that caused index time document boosts to trigger excessive field
  4744. boosts in multivalued fields -- the result being that some field norms might be excessively large.
  4745. This bug has now been fixed, but users of document boosts are strongly encouraged to re-index.
  4746. See SOLR-7335 for more details.
  4747. * The Slice and Replica classes have been changed to use State enums instead of string constants
  4748. to track the respective stats. Advanced users with client code manipulating these objects will
  4749. need to update their code accordingly. See SOLR-7325 and SOLR-7336 for more info.
  4750. * Solr has internally been upgraded to use Jetty 9. See SOLR-4839 for full details, but there are
  4751. a few key details all Solr users should know when upgrading:
  4752. - It is no longer possible to run "java -jar start.jar" from inside the server directory.
  4753. The bin/solr script is the only supported way to run Solr. This is necessary to support
  4754. HTTP and HTTPS modules in Jetty which can be selectively enabled by the bin/solr scripts.
  4755. In case you have a pressing need to run solr the old way, you can run
  4756. "java -jar start.jar --module=http" to get the same behavior as before.
  4757. - The way SSL support is configured has been changed. Before this release,
  4758. the SOLR_SSL_OPTS property configured in solr.in.sh (linux/mac) or solr.in.cmd (windows)
  4759. was used to enable/disable SSL but starting in 5.2.0, new properties named as
  4760. SOLR_SSL_KEY_STORE, SOLR_SSL_KEY_STORE_PASSWORD, SOLR_SSL_TRUST_STORE,
  4761. SOLR_SSL_TRUST_STORE_PASSWORD, SOLR_SSL_NEED_CLIENT_AUTH and SOLR_SSL_WANT_CLIENT_AUTH
  4762. have been introduced. The bin/solr scripts configure the SOLR_SSL_OPTS property
  4763. automatically based on the above new properties.
  4764. You should *not* configure the SOLR_SSL_OPTS property directly inside solr.in.{sh,cmd}.
  4765. - Support for SOLR_SSL_PORT property has been removed. Instead use the regular SOLR_PORT
  4766. property or specify the port while invoking the bin/solr script using the "-p" switch.
  4767. - Furthermore, it is now possible to configure the HTTP client with
  4768. different SSL properties than the ones used for Jetty using the same files.
  4769. - Please refer to the "Enabling SSL" section in the Solr Reference Guide for complete details.
  4770. * Support for pathPrefix has been completely removed from Solr. Since 5.0, Solr no longer officially
  4771. supports being run as a webapp but allowed users to play around with the web.xml to have a path prefix.
  4772. That would no longer be true. See SOLR-7500 for more info.
  4773. * The package structure under org.apache.solr.client.solrj.io has been changed to support
  4774. the Streaming Expression Language (SOLR-7377). Any code written with the 5.1 Streaming API will have to
  4775. be updated to reflect these changes.
  4776. * Merge Policy's "noCFSRatio" is no longer set based on <useCompoundFile> element in the indexConfig section
  4777. of solrconfig.xml. This means that Solr will start using Lucene's default for MP "noCFSRatio", with this
  4778. new default Solr will decide if a segment should use cfs or not based on the size of the segment in relation
  4779. the size of the complete index. For TieredMergePolicy for example (current default), segments will use cfs
  4780. if they are less than 10% of the index, otherwise cfs is disabled. Old values for this setting
  4781. (1.0 for useCompoundFile=true and 0.0 for useCompoundFile=false) as well as any other value can be set
  4782. inside the <mergePolicy> element in solrconfig.xml. <useCompoundFile> will only apply to newly created
  4783. segments. See SOLR-7463.
  4784. Detailed Change List
  4785. ----------------------
  4786. New Features
  4787. ----------------------
  4788. * SOLR-6637: Restore a Solr core from a backed up index.
  4789. Restore API Example -
  4790. http://localhost:8983/solr/techproducts/replication?command=restore&name=backup_name
  4791. Restore Status API Example -
  4792. http://localhost:8983/solr/techproducts/replication?command=restorestatus
  4793. (Varun Thacker, noble, shalin)
  4794. * SOLR-7241, SOLR-7263, SOLR-7279, SOLR-7300, SOLR-7396, SOLR-7397, SOLR-7492:
  4795. Admin UI - Refactoring using AngularJS. More functionality moving the Admin
  4796. UI to Angular JS (Upayavira via Erick)
  4797. * SOLR-7372: Limit memory consumed by LRUCache with a new 'maxRamMB' config parameter.
  4798. (yonik, shalin)
  4799. * SOLR-7376: Return raw XML or JSON (in the appropriate writer) using DocumentTransformers.
  4800. ?fl=id,name,json_s:[json],xml_s:[xml] (ryan)
  4801. * SOLR-7422: Optional flatter form for the JSON Facet API via a "type" parameter:
  4802. top_authors : { type:terms, field:author, limit:5 } is equivalent to
  4803. top_authors : { terms : { field:author, limit:5 } }
  4804. (yonik)
  4805. * SOLR-7176: zkcli script can perfrom the CLUSTERPROP command without a running Solr cluster
  4806. (Hrishikesh Gadre, Per Steffensen, Noble Paul)
  4807. * SOLR-7417: JSON Facet API - unique() is now implemented for numeric and date fields.
  4808. (yonik)
  4809. * SOLR-7406: Add a new "facet.range.method" parameter to let users choose how to do range
  4810. faceting between an implementation based on filters (previous algorithm, using
  4811. "facet.range.method=filter") or DocValues ("facet.range.method=dv").
  4812. Input parameters and output of both methods are the same. (Tomás Fernández Löbbe)
  4813. * SOLR-7473: Facet Module (Json Facet API) range faceting now supports the "mincount"
  4814. parameter in range facets to supress buckets less than that count. The default
  4815. for "mincount" remains 0 for range faceting.
  4816. Example: prices:{ type:range, field:price, mincount:1, start:0, end:100, gap:10 }
  4817. (yonik)
  4818. * SOLR-7437: Make HDFS transaction log replication factor configurable. (Mark Miller)
  4819. * SOLR-7477: Multi-select faceting support for the Facet Module via the "excludeTags"
  4820. parameter which disregards any matching tagged filters for that facet. Example:
  4821. & q=shoes
  4822. & fq={!tag=COLOR}color:blue
  4823. & json.facet={ colors:{type:terms, field:color, excludeTags=COLOR} }
  4824. (yonik)
  4825. * SOLR-7231: DIH-TikaEntityprocessor, create lat-lon field from Metadata
  4826. (Tim Allison via Noble Paul)
  4827. * SOLR-6220: Rule Based Replica Assignment during collection, shard creation
  4828. and replica creation (Noble Paul)
  4829. * SOLR-6968: New 'cardinality' option for stats.field, uses HyperLogLog to efficiently
  4830. estimate the cardinality of a field w/bounded RAM. (hossman)
  4831. * SOLR-4392: Make it possible to specify AES encrypted password in dataconfig.xml (Noble Paul)
  4832. * SOLR-7461: stats.field now supports individual local params for 'countDistinct' and 'distinctValues'.
  4833. 'calcdistinct' is still supported as an alias for both options (hossman)
  4834. * SOLR-7522: Facet Module - Implement field/terms faceting over single-valued
  4835. numeric fields. (yonik)
  4836. * SOLR-7275: Authorization framework for Solr. It defines an interface and a mechanism to create,
  4837. load, and use an Authorization plugin. (Noble Paul, Ishan Chattopadhyaya, Anshum Gupta)
  4838. * SOLR-7377: Solr Streaming Expressions (Dennis Gove, Joel Bernstein, Steven Bower)
  4839. * SOLR-7553: Facet Analytics Module: new "hll" function that uses HyperLogLog to calculate
  4840. distributed cardinality. The original "unique" function is still available.
  4841. Example: json.facet={ numProducts : "hll(product_id)" }
  4842. (yonik)
  4843. * SOLR-7546: bin/post (and SimplePostTool in -Dauto=yes mode) now sends rather than skips files
  4844. without a known content type, as "application/octet-stream", provided it still is in the
  4845. allowed filetypes setting. (ehatcher)
  4846. * SOLR-7274: Pluggable authentication module in Solr. This defines an interface and a mechanism to create,
  4847. load, and use an Authentication plugin. (Noble Paul, Ishan Chattopadhyaya, Gregory Chanan, Anshum Gupta)
  4848. * SOLR-7379: (experimental) New spatial RptWithGeometrySpatialField, based on CompositeSpatialStrategy,
  4849. which blends RPT indexes for speed with serialized geometry for accuracy. Includes a Lucene segment based
  4850. in-memory shape cache. (David Smiley)
  4851. * SOLR-7465, SOLR-7610: New file indexing example, under example/files. (Esther Quansah, Erik Hatcher)
  4852. * SOLR-7468: Kerberos authenticaion plugin for Solr. This would allow running a Kerberized Solr.
  4853. (Noble Paul, Ishan Chattopadhyaya, Gregory Chanan, Anshum Gupta)
  4854. Bug Fixes
  4855. ----------------------
  4856. * SOLR-6709: Fix QueryResponse to deal with the "expanded" section when using the XMLResponseParser
  4857. (Varun Thacker, Joel Bernstein)
  4858. * SOLR-7066: autoAddReplicas feature has bug when selecting replacement nodes. (Mark Miller)
  4859. * SOLR-7370: FSHDFSUtils#recoverFileLease tries to recover the lease every one second after
  4860. the first four second wait. (Mark Miller)
  4861. * SOLR-7369: AngularJS UI insufficient URLDecoding in cloud/tree view (janhoy)
  4862. * SOLR-7380: SearchHandler should not try to load runtime components in inform() (Noble Paul)
  4863. * SOLR-7385: The clusterstatus API now returns the config set used to create a collection
  4864. inside a 'configName' key. (Shai Erera, shalin)
  4865. * SOLR-7401: Fixed a NullPointerException when concurrently creating and deleting collections,
  4866. while accessing other collections. (Shai Erera)
  4867. * SOLR-7412: Fixed range.facet.other parameter for distributed requests.
  4868. (Will Miller, Tomás Fernández Löbbe)
  4869. * SOLR-6087: SolrIndexSearcher makes no DelegatingCollector.finish() call when IndexSearcher
  4870. throws an expected exception. (Christine Poerschke via shalin)
  4871. * SOLR-7420: Overseer stats are not reset on loss of ZK connection. (Jessica Cheng, shalin)
  4872. * SOLR-7392: Fix SOLR_JAVA_MEM and SOLR_OPTS customizations in solr.in.sh being ignored
  4873. (Ramkumar Aiyengar, Ere Maijala)
  4874. * SOLR-7426: SolrConfig#getConfigOverlay does not clean up it's resources. (Mark Miller)
  4875. * SOLR-6665: ZkController.publishAndWaitForDownStates can return before all local cores are
  4876. marked as 'down' if multiple replicas with the same core name exist in the cluster.
  4877. (shalin)
  4878. * SOLR-7418: Check and raise a SolrException instead of an NPE when an invalid doc id is sent
  4879. to the MLTQParser. (Anshum Gupta)
  4880. * SOLR-7443: Implemented range faceting over date fields in the new facet module
  4881. (JSON Facet API). (yonik)
  4882. * SOLR-7440: DebugComponent does not return the right requestPurpose for pivot facet refinements.
  4883. (shalin)
  4884. * SOLR-7408: Listeners set by SolrCores on config directories in ZK could be removed if collections
  4885. are created/deleted in paralle against the same config set. (Shai Erera, Anshum Gupta)
  4886. * SOLR-7450: Fix edge case which could cause `bin/solr stop` to hang forever
  4887. (Ramkumar Aiyengar)
  4888. * SOLR-7157: initParams must support tags other than appends, defaults and, invariants (Noble Paul)
  4889. * SOLR-7387: Facet Module - distributed search didn't work when sorting terms
  4890. facet by min, max, avg, or unique functions. (yonik)
  4891. * SOLR-7469: Fix check-licenses to correctly detect if start.jar.sha1 is incorrect (hossman)
  4892. * SOLR-7449: solr/server/etc/jetty-https-ssl.xml hard codes the key store file and password rather
  4893. than pulling them from the sysprops defined in solr/bin/solr.in.{sh,cmd}
  4894. * SOLR-7470: Fix sample data to eliminate file order dependency for successful indexing, also
  4895. fixed SolrCloudExampleTest to help catch this in the future. (hossman)
  4896. * SOLR-7478: UpdateLog#close shuts down it's executor with interrupts before running it's close logic,
  4897. possibly preventing a clean close. (Mark Miller)
  4898. * SOLR-7494: Facet Module - unique() facet function was wildly inaccurate for high cardinality
  4899. fields. (Andy Crossen, yonik)
  4900. * SOLR-7502: start script should not try to create configset for .system collection (Noble Paul)
  4901. * SOLR-7514: SolrClient.getByIds fails with ClassCastException (Tom Farnworth, Ramkumar Aiyengar)
  4902. * SOLR-7531: config API shows a few keys merged together (Noble Paul)
  4903. * SOLR-7542: Schema API: Can't remove single dynamic copy field directive
  4904. (Steve Rowe)
  4905. * SOLR-7472: SortingResponseWriter does not log fl parameters that don't exist. (Joel Bernstein)
  4906. * SOLR-7545: Honour SOLR_HOST parameter with bin/solr{,.cmd}
  4907. (Ishan Chattopadhyaya via Ramkumar Aiyengar)
  4908. * SOLR-7503: Recovery after ZK session expiration should happen in parallel for all cores
  4909. using the thread-pool managed by ZkContainer instead of a single thread.
  4910. (Jessica Cheng Mallet, Timothy Potter, shalin, Mark Miller)
  4911. * SOLR-7335: Fix doc boosts to no longer be multiplied in each field value in multivalued fields that
  4912. are not used in copyFields (Shingo Sasaki via hossman)
  4913. * SOLR-7585: Fix NoSuchElementException in LFUCache resulting from heavy writes
  4914. making concurrent put() calls. (Maciej Zasada via Shawn Heisey)
  4915. * SOLR-7587: Seeding bucket versions from index when the firstSearcher event fires has a race condition
  4916. that leads to an infinite wait on VersionInfo's ReentrantReadWriteLock because the read-lock acquired
  4917. during a commit cannot be upgraded to a write-lock needed to block updates; solution is to move the
  4918. call out of the firstSearcher event path and into the SolrCore constructor. (Timothy Potter)
  4919. * SOLR-7625: Ensure that the max value for seeding version buckets is updated after recovery even if
  4920. the UpdateLog is not replayed. (Timothy Potter)
  4921. * SOLR-7610: Fix VelocityResponseWriter's $resource.locale to accurately report locale in use.
  4922. (ehatcher)
  4923. * SOLR-7614: Distributed pivot facet refinement was broken due to a single correlation counter
  4924. used across multiple requests as if it was private to each request. (yonik)
  4925. Optimizations
  4926. ----------------------
  4927. * SOLR-7324: IndexFetcher does not need to call isIndexStale if full copy is already needed
  4928. (Stephan Lagraulet via Varun Thacker)
  4929. * SOLR-7547: Short circuit SolrDisptachFilter for static content request. Right now it creates
  4930. a new HttpSolrCall object and tries to process it. (Anshum Gupta)
  4931. * SOLR-7333: Make the poll queue time a leader uses when distributing updates to replicas
  4932. configurable and use knowledge that a batch is being processed to poll efficiently.
  4933. (Timothy Potter)
  4934. * SOLR-7332: Initialize the highest value for all version buckets with the max value from
  4935. the index or recent updates to avoid unnecessary lookups to the index to check for reordered
  4936. updates when processing new documents. (Timothy Potter, yonik)
  4937. * SOLR-5855: DefaultSolrHighlighter now re-uses the document's term vectors instance when highlighting
  4938. more than one field. Applies to the standard and FVH highlighters. (David Smiley, Daniel Debray)
  4939. Other Changes
  4940. ----------------------
  4941. * SOLR-6865: Upgrade HttpClient to 4.4.1 (Shawn Heisey)
  4942. * SOLR-7358: TestRestoreCore fails in Windows (Ishan Chattopadhyaya via Varun Thacker)
  4943. * SOLR-7371: Make DocSet implement Accountable to estimate memory usage. (yonik, shalin)
  4944. * SOLR-7381: Improve logging by adding node name in MDC in SolrCloud mode and adding MDC to
  4945. all thread pools. A new MDCAwareThreadPoolExecutor is introduced and usages of
  4946. Executors#newFixedThreadPool, #newSingleThreadExecutor, #newCachedThreadPool as well as
  4947. ThreadPoolExecutor directly is now forbidden in Solr. MDC keys are now exposed in thread
  4948. names automatically so that a thread dump can give hints on what the thread was doing.
  4949. Uncaught exceptions thrown by tasks in the pool are logged along with submitter's stack trace.
  4950. (shalin)
  4951. * SOLR-7384: Fix spurious failures in FullSolrCloudDistribCmdsTest. (shalin)
  4952. * SOLR-6692: Default highlighter changes:
  4953. - hl.maxAnalyzedChars now applies cumulatively on a multi-valied field.
  4954. - fragment ranking on a multi-valued field should be more relevant.
  4955. - hl.usePhraseHighlighter is now toggleable on a per-field basis.
  4956. - Much more extensible (get values from another source; return snippet scores and offsets).
  4957. - When using hl.maxMultiValuedToMatch with hl.preserveMulti, only count matched snippets.
  4958. (David Smiley)
  4959. * SOLR-6886: Removed redundant size check and added missing calls to
  4960. DelegatingCollection.finish inside Grouping code. (Christine Poerschke via shalin)
  4961. * SOLR-7421: RecoveryAfterSoftCommitTest fails frequently on Jenkins due to full index
  4962. replication taking longer than 30 seconds. (Timothy Potter, shalin)
  4963. * SOLR-7081: Add new test case to test if create/delete/re-create collections work.
  4964. (Christine Poerschke via Ramkumar Aiyengar)
  4965. * SOLR-7467: Upgrade t-digest to 3.1 (hossman)
  4966. * SOLR-7471: Stop requiring docValues for interval faceting (Tomás Fernández Löbbe)
  4967. * SOLR-7391: Use a time based expiration cache for one off HDFS FileSystem instances.
  4968. (Mark Miller)
  4969. * SOLR-5213: Log when shard splitting unexpectedly leads to documents going to
  4970. no or multiple shards (Christine Poerschke, Ramkumar Aiyengar)
  4971. * SOLR-7425: Improve MDC based logging format. (Mark Miller)
  4972. * SOLR-4839: Upgrade Jetty to 9.2.10.v20150310 and restlet-jee to 2.3.0
  4973. (Bill Bell, Timothy Potter, Uwe Schindler, Mark Miller, Steve Rowe, Steve Davids, shalin)
  4974. * SOLR-7457: Make DirectoryFactory publishing MBeanInfo extensible.
  4975. (Mike Drob via Mark Miller)
  4976. * SOLR-7325: Slice.getState() now returns a State enum instead of a String. This helps
  4977. clarify the states a Slice can be in, as well comparing the state of a Slice.
  4978. (Shai Erera)
  4979. * SOLR-7336: Added Replica.getState() and removed ZkStateReader state-related constants.
  4980. You should use Replica.State to compare a replica's state. (Shai Erera)
  4981. * SOLR-7487: Fix check-example-lucene-match-version Ant task to check luceneMatchVersion
  4982. in solr/server/solr/configsets instead of example and harden error checking / validation
  4983. logic. (hossman, Timothy Potter)
  4984. * SOLR-7409: When there are multiple dataimport handlers defined, the admin UI
  4985. was listing them in a random order. Now they are sorted in a natural order
  4986. that handles numbers properly. (Jellyfrog via Shawn Heisey)
  4987. * SOLR-7484: Refactor SolrDispatchFilter to extract all Solr specific implementation detail
  4988. to HttpSolrCall and also extract methods from within the current SDF.doFilter(..) logic
  4989. making things easier to manage. HttpSolrCall converts the processing to a 3-step process
  4990. i.e. Construct, Init, and Call so the context of the request would be available after Init
  4991. and before the actual call operation. (Anshum Gupta, Noble Paul)
  4992. * SOLR-6878: Allow symmetric lists of synonyms to be added using the managed synonym REST
  4993. API to support legacy expand=true type mappings; previously the API only allowed adding
  4994. explicit mappings, with this feature you can now add a list and have the mappings
  4995. expanded when the update is applied (Timothy Potter, Vitaliy Zhovtyuk, hossman)
  4996. * SOLR-7102: bin/solr should activate cloud mode if ZK_HOST is set (Timothy Potter)
  4997. * SOLR-7500: Remove pathPrefix from SolrDispatchFilter as Solr no longer runs as a part
  4998. of a bigger webapp. (Anshum Gupta)
  4999. * SOLR-7243: CloudSolrClient was always returning SERVER_ERROR for exceptions,
  5000. even when a more relevant ErrorCode was available, via SolrException. Now
  5001. the actual ErrorCode is used when available.
  5002. (Hrishikesh Gadre via Shawn Heisey)
  5003. * SOLR-7544: CollectionsHandler refactored to be more modular (Noble Paul)
  5004. * SOLR-7532: Removed occurrences of the unused 'commitIntervalLowerBound' property for
  5005. updateHandler elements from Solr configuration. (Marius Grama via shalin)
  5006. * SOLR-7541: Removed CollectionsHandler#createNodeIfNotExists. All calls made to this method now call
  5007. ZkCmdExecutor#ensureExists as they were doing the same thing. Also ZkCmdExecutor#ensureExists now respects the
  5008. CreateMode passed to it. (Varun Thacker)
  5009. * SOLR-6820: Make the number of version buckets used by the UpdateLog configurable as
  5010. increasing beyond the default 256 has been shown to help with high volume indexing
  5011. performance in SolrCloud; helps overcome a limitation where Lucene uses the request
  5012. thread to perform expensive index housekeeping work. (Mark Miller, yonik, Timothy Potter)
  5013. * SOLR-7463: Stop forcing MergePolicy's "NoCFSRatio" based on the IWC "useCompoundFile" configuration
  5014. (Tomás Fernández Löbbe)
  5015. * SOLR-7582: Allow auto-commit to be set with system properties in data_driven_schema_configs and
  5016. enable auto soft-commits for the bin/solr -e cloud example using the Config API.
  5017. (Timothy Potter)
  5018. * SOLR-7183: Fix Locale blacklisting for Minikdc based tests. (Ishan Chattopadhyaya, hossman
  5019. via Anshum Gupta)
  5020. * SOLR-7662: Refactored response writing to consolidate the logic in one place (Noble Paul)
  5021. * SOLR-7110: Added option to optimize JavaBinCodec to minimize string Object creation (Noble Paul)
  5022. ================== 5.1.0 ==================
  5023. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
  5024. Versions of Major Components
  5025. ---------------------
  5026. Apache Tika 1.7
  5027. Carrot2 3.9.0
  5028. Velocity 1.7 and Velocity Tools 2.0
  5029. Apache UIMA 2.3.1
  5030. Apache ZooKeeper 3.4.6
  5031. Jetty 8.1.10.v20130312
  5032. Upgrading from Solr 5.0
  5033. -----------------------
  5034. * SolrClient query functions now declare themselves as throwing IOException in
  5035. addition to SolrServerException, to bring them in line with the update
  5036. functions.
  5037. * SolrRequest.process() is now final. Subclasses should instead be parameterized
  5038. by their corresponding SolrResponse type, and implement createResponse()
  5039. * The signature of SolrDispatchFilter.createCoreContainer() has changed to take
  5040. (String,Properties) arguments
  5041. * Deprecated the 'lib' option added to create-requesthandler as part of SOLR-6801 in 5.0 release.
  5042. Please use the add-runtimelib command
  5043. * Tika's runtime dependency of 'jhighlight' was removed as the latter was found to
  5044. contain some LGPL-only code. Until that's resolved by Tika, you can download the
  5045. .jar yourself and place it under contrib/extraction/lib.
  5046. * The _text catch-all field in data_driven_schema_configs has been renamed to _text_.
  5047. Detailed Change List
  5048. ----------------------
  5049. New Features
  5050. ----------------------
  5051. * SOLR-6909: Extract atomic update handling logic into AtomicUpdateDocumentMerger class
  5052. and enable subclassing. (Steve Davids, yonik)
  5053. * SOLR-6845: Add a “buildOnStartup” option for suggesters. (Tomás Fernández Löbbe)
  5054. * SOLR-6449: Add first class support for Real Time Get in Solrj.
  5055. (Anurag Sharma, Steve Davids via shalin)
  5056. * SOLR-6954: SolrClient now implements Closeable, and shutdown() has been
  5057. deprecated in favour of close(). (Mark Miller, Tomás Fernández Löbbe, Alan
  5058. Woodward)
  5059. * SOLR-4905: Allow fromIndex parameter to JoinQParserPlugin to refer to a single-sharded
  5060. collection that has a replica on all nodes where there is a replica in the to index
  5061. (Jack Lo, Timothy Potter)
  5062. * SOLR-6648: Add support in AnalyzingInfixLookupFactory and BlendedInfixLookupFactory
  5063. for setting 'highlight' and 'allTermsRequired' in the suggester configuration.
  5064. (Boon Low, Varun Thacker via Tomás Fernández Löbbe)
  5065. * SOLR-7083: Support managing all named components in solrconfig such as
  5066. requestHandler, queryParser, queryResponseWriter, valueSourceParser,
  5067. transformer, queryConverter (Noble Paul)
  5068. * SOLR-7005: Spatial 2D heatmap faceting on RPT fields via new facet.heatmap with PNG and
  5069. 2D int array formats. (David Smiley)
  5070. * SOLR-7019: Support changing field key when using interval faceting.
  5071. (Tomás Fernández Löbbe)
  5072. * SOLR-6832: Queries be served locally rather than being forwarded to another replica.
  5073. (Sachin Goyal, Timothy Potter)
  5074. * SOLR-1945: Add support for child docs in DocumentObjectBinder (Noble Paul, Mark Miller)
  5075. * SOLR-7125, SOLR-7158: You can upload and download configurations via CloudSolrClient
  5076. (Alan Woodward, Ishan Chattopadhyaya)
  5077. * SOLR-5507: Admin UI - Refactoring using AngularJS, first part (Upayavira via
  5078. Erick Erickson)
  5079. * SOLR-7164: BBoxField defaults sub fields to not-stored (ryan)
  5080. * SOLR-7155,SOLR-7201: All SolrClient methods now take an optional 'collection' argument
  5081. (Alan Woodward, Shawn Heisey)
  5082. * SOLR-6359: Allow number of logs and records kept by UpdateLog to be configured
  5083. (Ramkumar Aiyengar)
  5084. * SOLR-7189: Allow DIH to extract content from embedded documents via Tika.
  5085. (Tim Allison via shalin)
  5086. * SOLR-6841: Visualize lucene segment information in Admin UI.
  5087. (Alexey Kozhemiakin, Michal Bienkowski, hossman, Shawn Heisey, Varun Thacker via shalin)
  5088. * SOLR-5846: EnumField supports DocValues functionality. (Elran Dvir, shalin)
  5089. * SOLR-4044: CloudSolrClient.connect() throws a more useful exception if the
  5090. cluster is not ready, and can now take an optional timeout argument to wait
  5091. for the cluster. (Alan Woodward, shalin, yonik, Mark Miller, Vitaliy Zhovtyuk)
  5092. * SOLR-7073: Support adding a jar to a collections classpath (Noble Paul)
  5093. * SOLR-7126: Secure loading of runtime external jars (Noble Paul)
  5094. * SOLR-6349: Added support for stats.field localparams to enable/disable individual stats to
  5095. limit the amount of computation done and the amount of data returned.
  5096. eg: stats.field={!min=true max=true}field_name
  5097. (Tomas Fernandez-Lobbe, Xu Zhang, hossman)
  5098. * SOLR-7218: lucene/solr query syntax to give any query clause a constant score.
  5099. General Form: <clause>^=<constant_score>
  5100. Example: (color:blue color:green)^=2.0 text:shoes
  5101. (yonik)
  5102. * SOLR-7214: New Facet module with a JSON API, facet functions, aggregations, and analytics.
  5103. Any facet type can have sub facets, and facets can be sorted by arbitrary aggregation functions.
  5104. Examples:
  5105. json.facet={x:'avg(price)', y:'unique(color)'}
  5106. json.facet={count1:{query:"price:[10 TO 20]"}, count2:{query:"color:blue AND popularity:[0 TO 50]"} }
  5107. json.facet={categories:{terms:{field:cat, sort:"x desc", facet:{x:"avg(price)", y:"sum(price)"}}}}
  5108. (yonik)
  5109. * SOLR-6141: Schema API: Remove fields, dynamic fields, field types and copy
  5110. fields; and replace fields, dynamic fields and field types. (Steve Rowe)
  5111. * SOLR-7217: HTTP POST body is auto-detected when the client is curl and the content
  5112. type is form data (curl's default), allowing users to use curl to send
  5113. JSON or XML without having to specify the content type. (yonik)
  5114. * SOLR-6892: Update processors can now be top-level components and they can be
  5115. specified in request to create a new custom update chain (Noble Paul)
  5116. * SOLR-7216: Solr JSON Request API:
  5117. - HTTP search requests can have a JSON body.
  5118. - JSON request can also be passed via the "json" parameter.
  5119. - Smart merging of multiple JSON parameters: ruery parameters starting with "json."
  5120. will be merged into the JSON request.
  5121. - Legacy query parameters can also be passed in the "params" block of
  5122. the JSON request.
  5123. (yonik)
  5124. * SOLR-7245: Temporary ZK election or connection loss should not stall indexing
  5125. due to leader initiated recovery (Ramkumar Aiyengar)
  5126. * SOLR-6350: StatsComponent now supports Percentiles (Xu Zhang, hossman)
  5127. * SOLR-7306: Percentiles support for the new facet module. Percentiles
  5128. can be calculated for all facet buckets and field faceting can sort
  5129. by percentile values.
  5130. Examples:
  5131. json.facet={ median_age : "percentile(age,50)" }
  5132. json.facet={ salary_percentiles : "percentile(salary,25,50,75)" }
  5133. (yonik)
  5134. * SOLR-7307: EmbeddedSolrServer can now be started up by passing a path to a
  5135. solr home directory, or a NodeConfig object (Alan Woodward, Mike Drob)
  5136. * SOLR-1387: Add facet.contains and facet.contains.ignoreCase options (Tom Winch
  5137. via Alan Woodward)
  5138. * SOLR-7082: Streaming Aggregation for SolrCloud (Joel bernstein, Yonik Seeley)
  5139. * SOLR-7212: Parameter substitution / macro expansion across entire request.
  5140. Substitution can contain further expansions and default values are supported.
  5141. Example: q=price:[ ${low:0} TO ${high} ]&low=100&high=200
  5142. (yonik)
  5143. * SOLR-7226: Make /query/* jmx/* , requestDispatcher/*, <listener> <initParams>
  5144. properties in solrconfig.xml editable (Noble Paul)
  5145. * SOLR-7240: '/' redirects to '/solr/' for convenience (Martijn Koster, hossman)
  5146. * SOLR-5911: Added payload support for term vectors. New "termPayloads" option for fields
  5147. / types in the schema, and "tv.payloads" param for the term vector component.
  5148. (Mike McCandless, David Smiley)
  5149. * SOLR-5132: Added a new collection action MODIFYCOLLECTION (Noble Paul)
  5150. Bug Fixes
  5151. ----------------------
  5152. * SOLR-7046: NullPointerException when group.function uses query() function.
  5153. (Jim Musil via Erick Erickson)
  5154. * SOLR-7072: Multiple mlt.fl does not work. (Constantin Mitocaru, shalin)
  5155. * SOLR-6775: Creating backup snapshot results in null pointer exception.
  5156. (Ryan Hesson, Varun Thacker via shalin)
  5157. * SOLR-5890: Delete silently fails if not sent to shard where document was
  5158. added (Ishan Chattopadhyaya, Noble Paul)
  5159. * SOLR-7101: JmxMonitoredMap can throw an exception in clear when queryNames fails.
  5160. (Mark Miller, Wolfgang Hoschek)
  5161. * SOLR-6214: Snapshots numberToKeep param only keeps n-1 backups.
  5162. (Mathias H., Ramana, Varun Thacker via shalin)
  5163. * SOLR-7084: FreeTextSuggester: Better error message when doing a lookup
  5164. during dictionary build. Used to be nullpointer (janhoy)
  5165. * SOLR-6956: OverseerCollectionProcessor and replicas on the overseer node can sometimes
  5166. operate on stale cluster state due to overseer holding the state update lock for a
  5167. long time. (Mark Miller, shalin)
  5168. * SOLR-7104: Propagate property prefix parameters for ADDREPLICA Collections API call.
  5169. (Varun Thacker via Anshum Gupta)
  5170. * SOLR-7113: Multiple calls to UpdateLog#init is not thread safe with respect to the
  5171. HDFS FileSystem client object usage. (Mark Miller, Vamsee Yarlagadda)
  5172. * SOLR-7128: Two phase distributed search is fetching extra fields in GET_TOP_IDS phase.
  5173. (Pablo Queixalos, shalin)
  5174. * SOLR-7139: Fix SolrContentHandler for TIKA to ignore multiple startDocument events.
  5175. (Chris A. Mattmann, Uwe Schindler)
  5176. * SOLR-7178: OverseerAutoReplicaFailoverThread compares Integer objects using ==
  5177. (shalin)
  5178. * SOLR-7171: BaseDistributedSearchTestCase now clones getSolrHome() for each subclass,
  5179. and consistently uses getSolrXml(). (hossman)
  5180. * SOLR-6657: DocumentDictionaryFactory requires weightField to be mandatory, but it shouldn't
  5181. (Erick Erickson)
  5182. * SOLR-7206: MiniSolrCloudCluster wasn't dealing with SSL mode correctly (Alan
  5183. Woodward)
  5184. * SOLR-4464: DIH Processed documents counter resets to zero after first entity is processed.
  5185. (Dave Cook, Shawn Heisey, Aaron Greenspan, Thomas Champagne via shalin)
  5186. * SOLR-7209: /update/json/docs carry forward fields from previous records (Noble Paul)
  5187. * SOLR-7195: Fixed a bug where the bin/solr shell script would incorrectly
  5188. detect another Solr process listening on the same port number. If the
  5189. requested listen port was 8983, it would match on another Solr using port
  5190. 18983 for any purpose. Also escapes the dot character in all grep commands
  5191. looking for start.jar.
  5192. (Xu Zhang via Shawn Heisey)
  5193. * SOLR-6682: Fix response when using EnumField with StatsComponent
  5194. (Xu Zhang via hossman)
  5195. * SOLR-7109: Indexing threads stuck during network partition can put leader into down state.
  5196. (Mark Miller, Anshum Gupta, Ramkumar Aiyengar, yonik, shalin)
  5197. * SOLR-7092: Stop the HDFS lease recovery retries in HdfsTransactionLog on close and try
  5198. to avoid lease recovery on closed files. (Mark Miller)
  5199. * SOLR-7285: ActionThrottle will not pause if getNanoTime first returns 0.
  5200. (Mark Miller, Gregory Chanan)
  5201. * SOLR-7141: RecoveryStrategy: Raise time that we wait for any updates from the leader before
  5202. they saw the recovery state to have finished. (Mark Miller)
  5203. * SOLR-7248: In legacyCloud=false mode we should check if the core was hosted on the same node before registering it
  5204. (Varun Thacker, Noble Paul, Mark Miller)
  5205. * SOLR-7294: Migrate API fails with 'Invalid status request: notfoundretried 6times' message.
  5206. (Jessica Cheng Mallet, shalin)
  5207. * SOLR-7254: Make an invalid negative start/rows throw a HTTP 400 error (Bad Request) instead
  5208. of causing a 500 error. (Ramkumar Aiyengar, Hrishikesh Gadre, yonik)
  5209. * SOLR-7305: BlendedInfixLookupFactory swallows root IOException when it occurs.
  5210. (Stephan Lagraulet via shalin)
  5211. * SOLR-7293: Fix bug that Solr server does not listen on IPv6 interfaces by default.
  5212. (Uwe Schindler, Sebastian Pesman)
  5213. * SOLR-7298: Fix Collections API calls (SolrJ) to not add name parameter when not needed.
  5214. (Shai Erera, Anshum Gupta)
  5215. * SOLR-7134: Replication can still cause index corruption. (Mark Miller, shalin, Mike Drob)
  5216. * SOLR-7309: Make bin/solr, bin/post work when Solr installation directory contains spaces
  5217. (Ramkumar Aiyengar, Martijn Koster)
  5218. * SOLR-6924: The config API forcefully refreshes all replicas in the collection to ensure all are
  5219. updated (Noble Paul)
  5220. * SOLR-7266: The IgnoreCommitOptimizeUpdateProcessor blocks commit requests from
  5221. replicas needing to recover. (Jessica Cheng Mallet, Timothy Potter)
  5222. * SOLR-7299: bin\solr.cmd doesn't use jetty SSL configuration. (Steve Rowe)
  5223. * SOLR-7334: Admin UI does not show "Num Docs" and "Deleted Docs". (Erick Erickson, Timothy Potter)
  5224. * SOLR-7338, SOLR-6583: A reloaded core will never register itself as active after a ZK session expiration
  5225. (Mark Miller, Timothy Potter)
  5226. * SOLR-7366: Can't index example XML docs into the cloud example using bin/post due to regression in
  5227. ManagedIndexSchema's handling of ResourceLoaderAware objects used by field types (Steve Rowe, Timothy Potter)
  5228. * SOLR-7284: HdfsUpdateLog is using hdfs FileSystem.get without turning off the cache.
  5229. (Mark Miller)
  5230. * SOLR-7286: Using HDFS's FileSystem.newInstance does not guarantee a new instance.
  5231. (Mark Miller)
  5232. * SOLR-7508: SolrParams.toMultiMap() does not handle arrays (Thomas Scheffler , Noble Paul)
  5233. Optimizations
  5234. ----------------------
  5235. * SOLR-7049: Move work done by the LIST Collections API call to the Collections
  5236. Handler (Varun Thacker via Anshum Gupta).
  5237. * SOLR-7116: Distributed facet refinement requests would needlessly compute other types
  5238. of faceting that have already been computed. (David Smiley, Hossman)
  5239. * SOLR-7239: improved performance of min & max in StatsComponent, as well as situations
  5240. where local params disable all stats (hossman)
  5241. * SOLR-7050: realtime get should internally load only fields specified in fl.
  5242. (yonik, Noble Paul)
  5243. Other Changes
  5244. ----------------------
  5245. * SOLR-7014: Collapse identical catch branches in try-catch statements. (shalin)
  5246. * SOLR-6500: Refactor FileFetcher in SnapPuller, add debug logging.
  5247. (Ramkumar Aiyengar via Mark Miller)
  5248. * SOLR-7076: In DIH, TikaEntityProcessor should have support for onError=skip
  5249. (Noble Paul)
  5250. * SOLR-7094: Better error reporting of JSON parse issues when indexing docs
  5251. (Ishan Chattopadhyaya via Timothy Potter)
  5252. * SOLR-7103: Remove unused method params in faceting code. (shalin)
  5253. * SOLR-6311: When performing distributed queries, SearchHandler should use path
  5254. when no qt or shard.qt parameter is specified; fix also resolves SOLR-4479.
  5255. (Steve Molloy, Timothy Potter)
  5256. * SOLR-7112: Fix DeleteInactiveReplicaTest.deleteLiveReplicaTest test failures.
  5257. (shalin)
  5258. * SOLR-6902: Use JUnit rules instead of inheritance with distributed Solr
  5259. tests to allow for multiple tests without the same class.
  5260. (Ramkumar Aiyengar, Erick Erickson, Mike McCandless)
  5261. * SOLR-7032: Clean up test remnants of old-style solr.xml (Erick Erickson)
  5262. * SOLR-7145: SolrRequest is now parametrized by its response type (Alan
  5263. Woodward)
  5264. * SOLR-7142: Fix TestFaceting.testFacets. (Michal Kroliczek via shalin)
  5265. * SOLR-7156: Fix test failures due to resource leaks on windows.
  5266. (Ishan Chattopadhyaya via shalin)
  5267. * SOLR-7147: Introduce new TrackingShardHandlerFactory for monitoring what requests
  5268. are sent to shards during tests. (hossman, shalin)
  5269. * SOLR-7160: Rename ConfigSolr to NodeConfig, and decouple it from xml
  5270. representation (Alan Woodward)
  5271. * SOLR-7166: Encapsulate JettySolrRunner configuration (Alan Woodward)
  5272. * SOLR-7130: Make stale state notification work without failing the requests
  5273. (Noble Paul, shalin)
  5274. * SOLR-7151: SolrClient query methods throw IOException (Alan Woodward)
  5275. * SOLR-7179: JettySolrRunner no longer passes configuration to
  5276. SolrDispatchFilter via system properties, but instead uses a Properties
  5277. object in the servlet context (Alan Woodward)
  5278. * SOLR-6275: Improve accuracy of QTime reporting (Ramkumar Aiyengar)
  5279. * SOLR-7174: DIH should reset TikaEntityProcessor so that it is capable
  5280. of re-use (Alexandre Rafalovitch , Gary Taylor via Noble Paul)
  5281. * SOLR-6804: Untangle SnapPuller and ReplicationHandler (Ramkumar Aiyengar)
  5282. * SOLR-7180: MiniSolrCloudCluster will startup and shutdown its jetties in
  5283. parallel (Alan Woodward, Tomás Fernández Löbbe, Vamsee Yarlagadda)
  5284. * SOLR-7173: Fix ReplicationFactorTest on Windows by adding better retry
  5285. support after seeing no response exceptions. (Ishan Chattopadhyaya via Timothy Potter)
  5286. * SOLR-7246: Speed up BasicZkTest, TestManagedResourceStorage (Ramkumar Aiyengar)
  5287. * SOLR-7258: Forbid MessageFormat.format and MessageFormat single-arg constructor.
  5288. (shalin)
  5289. * SOLR-7162: Remove unused SolrSortField interface. (yonik, Connor Warrington via shalin)
  5290. * SOLR-6414: Update to Hadoop 2.6.0. (Mark Miller)
  5291. * SOLR-6673: MDC based logging of collection, shard, replica, core
  5292. (Ishan Chattopadhyaya , Noble Paul)
  5293. * SOLR-7291: Test indexing on ZK disconnect with ChaosMonkey tests (Ramkumar Aiyengar)
  5294. * SOLR-7203: Remove buggy no-op retry code in HttpSolrClient (Alan Woodward,
  5295. Mark Miller, Greg Solovyev)
  5296. * SOLR-7202: Remove deprecated string action types in Overseer and OverseerCollectionProcessor -
  5297. "deletecollection", "createcollection", "reloadcollection", "removecollection", "removeshard".
  5298. (Varun Thacker, shalin)
  5299. * SOLR-7290: Rename catchall _text field in data_driven_schema_configs
  5300. to _text_ (Steve Rowe)
  5301. * SOLR-7346: Stored XSS in Admin UI Schema-Browser page and Analysis page (Mei Wang via Timothy Potter)
  5302. ================== 5.0.0 ==================
  5303. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.
  5304. NOTE: Solr 5.0 only supports creating and removing SolrCloud collections through
  5305. the collections API, unlike previous versions. While not using the
  5306. collections API may still work in 5.0, it is unsupported, not recommended,
  5307. and the behavior will change in a 5.x release.
  5308. Versions of Major Components
  5309. ---------------------
  5310. Apache Tika 1.7
  5311. Carrot2 3.9.0
  5312. Velocity 1.7 and Velocity Tools 2.0
  5313. Apache UIMA 2.3.1
  5314. Apache ZooKeeper 3.4.6
  5315. Jetty 8.1.10.v20130312
  5316. Upgrading from Solr 4.x
  5317. ----------------------
  5318. * Apache Solr has no support for Lucene/Solr 3.x and earlier indexes anymore.
  5319. Be sure to run Lucene's IndexUpgrader on the previous 4.10 version if you might
  5320. still have old segments in your index. Alternatively fully optimize your index
  5321. with Solr 4.10 to make sure it consists only of one up-to-date index segment.
  5322. * The "file" attribute of infoStream in solrconfig.xml is removed. Control this
  5323. via your logging configuration (org.apache.solr.update.LoggingInfoStream) instead.
  5324. * UniqFieldsUpdateProcessorFactory no longer supports the <lst named="fields"> init
  5325. param style that was deprecated in Solr 4.5. If you are still using this syntax,
  5326. update your configs to use <arr name="fieldName"> instead. See SOLR-4249 for more
  5327. details.
  5328. * The following legacy numeric and date field types, deprecated in Solr 4.8, are no
  5329. longer supported: BCDIntField, BCDLongField, BCDStrField, IntField, LongField,
  5330. FloatField, DoubleField, SortableIntField, SortableLongField, SortableFloatField,
  5331. SortableDoubleField, and DateField. Convert these types in your schema to the
  5332. corresponding Trie-based field type and then re-index. See SOLR-5936 for more
  5333. information.
  5334. * getAnalyzer() in IndexSchema and FieldType that was deprecated in Solr 4.9 has
  5335. been removed. Use getIndexAnalyzer() instead. See SOLR-6022 for more information.
  5336. * The spellcheck response format has changed, affecting xml and json clients. In
  5337. particular, the "correctlySpelled" and "collations" subsections have been moved outside
  5338. the "suggestions" subsection, and now are directly under "spellcheck".
  5339. See SOLR-3029 for more information.
  5340. * The CollectionsAPI SolrJ calls createCollection(), reloadCollection(),
  5341. deleteCollection(), requestStatus(), createShard(), splitShard(), deleteShard(),
  5342. createAlias() and deleteAlias() which were deprecated in 4.11 have been removed.
  5343. The new usage involves a builder style construction of the call.
  5344. * The OVERSEERSTATUS API returns new key names for operations such as "create"
  5345. for "createcollection", "delete" for "removecollection" and "deleteshard" for
  5346. "removeshard".
  5347. * If you have been using the /update/json/docs to index documents, SOLR-6617 introduces
  5348. backward incompatible change. the key names created are fully qualified paths of keys .
  5349. If you need the old functionality back , please add an extra parameter f=/**
  5350. example: /update/json/docs?f=/**
  5351. * Bugs fixed in several ValueSource functions may result in different behavior in
  5352. situations where some documents do not have values for fields wrapped in other value
  5353. sources. Users who want to preserve the previous behavior may need to wrap fields
  5354. in the "def()" function. Example: changing "fl=sum(fieldA,fieldB)" to
  5355. "fl=sum(def(fieldA,0.0),def(fieldB,0.0))". See LUCENE-5961 for more details.
  5356. * AdminHandlers is deprecated, /admin/* are implicitly defined, /get, /replication and
  5357. handlers are also implicitly registered (refer to SOLR-6792)
  5358. * SolrCore.reload(ConfigSet coreConfig, SolrCore prev) was deprecated in 4.10.3 and
  5359. removed in 5.0. use SolrCore.reload(ConfigSet coreConfig). See SOLR-5864.
  5360. * The "termIndexInterval" option in solrconfig.xml has been a No-Op in the default codec
  5361. since Solr 4.0, and has been removed completely in 5.0. If you get an "Illegal parameter
  5362. 'termIndexInterval'" error when upgrading, you can safely remove this option from your
  5363. configs. If you have a strong need to configure this, you must explicitly configure your
  5364. schema with a custom codec. See SOLR-6560 and for more details.
  5365. * The "checkIntegrityAtMerge" option in solrconfig.xml is now a No-Op and should be removed
  5366. from any solrconfig.xml files -- these integrity checks are now done automatically at a very
  5367. low level during the segment merging process. See SOLR-6834 for more details.
  5368. * SimplePostTool (post.jar) no longer defaults to collection1, making either of core/collection
  5369. name or update URL mandatory. An existing call without an explicit update URL needs to now
  5370. have the core/collection name passed as "-Dc=<collection/core name>" e.g.:
  5371. java -jar -Dc=<collection_name> post.jar *.xml (new call with collection name)
  5372. See SOLR-6852 for more details.
  5373. * Relative paths specified in the solr.xml coreRootDirectory parameter for core
  5374. discovery are now resolved relative to SOLR_HOME, rather than cwd. See
  5375. SOLR-6718.
  5376. * SolrServer and associated classes have been deprecated. Applications using
  5377. SolrJ should use the equivalent SolrClient classes instead.
  5378. * Spatial fields originating from Solr 4 (e.g. SpatialRecursivePrefixTreeFieldType, BBoxField)
  5379. have the 'units' attribute deprecated, now replaced with 'distanceUnits'. If you change it to
  5380. a unit other than 'degrees' (or if you don't specify it, which will default to kilometers if
  5381. geo=true), then be sure to update maxDistErr as it's in those units. If you keep units=degrees
  5382. then it should be backwards compatible but you'll get a deprecation warning on startup. See
  5383. SOLR-6797.
  5384. * The <nrtMode> configuration in solrconfig.xml has been discontinued and should be removed from
  5385. solrconfig.xml. Solr defaults to using NRT searchers regardless of the value in configuration
  5386. and a warning is logged on startup if the solrconfig.xml has <nrtMode> specified.
  5387. * There was an old spatial syntax to specify a circle using Circle(x,y d=...) which should be
  5388. replaced with simply using {!geofilt} (if you can) or BUFFER(POINT(x y),d). Likewise a rect syntax
  5389. comprised of minX minY maxX maxY that should now be replaced with
  5390. ENVELOPE(minX, maxX, maxY, minY).
  5391. * Due to changes in the underlying commons-codec package, users of the BeiderMorseFilterFactory
  5392. will need to rebuild their indexes after upgrading. See LUCENE-6058 for more details.
  5393. * CachedSqlEntityProcessor has been removed, use SqlEntityProcessor with the
  5394. cacheImpl parameter.
  5395. * HttpDataSource has been removed, use URLDataSource instead.
  5396. * LegacyHTMLStripCharFilter has been removed
  5397. * CoreAdminRequest.persist() call has been removed. All changes made via
  5398. CoreAdmin are persistent.
  5399. * SpellCheckResponse.getSuggestions() and getSuggestionFrequencies() have been
  5400. removed, use getAlternatives() and getAlternativeFrequencies() instead.
  5401. * SolrQuery deprecated methods have been removed:
  5402. - setMissing() is now setFacetMissing()
  5403. - getFacetSort() is now getFacetSortString()
  5404. - setFacetSort(boolean) should instead use setFacetSort(String) with
  5405. FacetParams.FACET_SORT_COUNT or FacetParams.FACET_SORT_INDEX
  5406. - setSortField(String, ORDER) should use setSort(SortClause)
  5407. - addSortField(String, ORDER) should use addSort(SortClause)
  5408. - removeSortField(String, ORDER) should use removeSort(SortClause)
  5409. - getSortFields() should use getSorts()
  5410. - set/getQueryType() should use set/getRequestHandler()
  5411. * ClientUtil deprecated date methods have been removed, use DateUtil instead
  5412. * FacetParams.FacetDateOther has been removed, use FacetRangeOther
  5413. * ShardParams.SHARD_KEYS has been removed, use ShardParams._ROUTE_
  5414. * The 'old-style' solr.xml format is no longer supported, and cores must be
  5415. defined using core.properties files. See
  5416. https://cwiki.apache.org/confluence/display/solr/Format+of+solr.xml
  5417. Detailed Change List
  5418. ----------------------
  5419. New Features
  5420. ----------------------
  5421. * SOLR-6103: Added DateRangeField for indexing date ranges, especially multi-valued ones.
  5422. Supports facet.range, DateMath, and is mostly interoperable with TrieDateField.
  5423. Based on LUCENE-5648. (David Smiley)
  5424. * SOLR-6403: TransactionLog replay status logging. (Mark Miller)
  5425. * SOLR-4580: Support for protecting content in ZooKeeper. (Per Steffensen, Mark Miller)
  5426. * SOLR-6365: specify appends, defaults, invariants outside of the request handler.
  5427. (Noble Paul, Erik Hatcher, shalin)
  5428. * SOLR-5097: Schema API: Add REST support for adding dynamic fields to the schema.
  5429. (Steve Rowe)
  5430. * SOLR-5098: Schema API: Add REST support for adding field types to the schema.
  5431. (Timothy Potter)
  5432. * SOLR-5473 : Split clusterstate.json per collection and watch states selectively
  5433. (Noble Paul, Mark Miller, shalin, Jessica Cheng Mallet, Timothy Potter, Anshum Gupta)
  5434. * SOLR-5474 : Support for SOLR-5473 in SolrJ (Timothy Potter, Noble Paul, Mark Miller)
  5435. * SOLR-5810 : Support for SOLR-5473 in solr admin UI (Timothy Potter, Noble Paul)
  5436. * SOLR-6482: Add an onlyIfDown flag for DELETEREPLICA collections API command
  5437. (Erick Erickson)
  5438. * SOLR-6354: stats.field can now be used to generate stats over the numeric results
  5439. of arbitrary functions, ie: stats.field={!func}product(price,popularity)
  5440. (hossman)
  5441. * SOLR-6485: ReplicationHandler should have an option to throttle the speed of
  5442. replication (Varun Thacker, Noble Paul)
  5443. * SOLR-6543: Give HttpSolrClient the ability to send PUT requests (Gregory Chanan)
  5444. * SOLR-5986: Don't allow runaway queries from harming Solr cluster health or search
  5445. performance (Anshum Gupta, Steve Rowe, Robert Muir)
  5446. * SOLR-6565: SolrRequest support for query params (Gregory Chanan)
  5447. * SOLR-6476: Create a bulk mode for schema API (Noble Paul, Steve Rowe)
  5448. * SOLR-6512: Add a collections API call to add/delete arbitrary properties
  5449. to a specific replica. Optionally adding sliceUnique=true will remove
  5450. this property from all other replicas within a particular slice.
  5451. (Erick Erickson)
  5452. * SOLR-6513: Add a collectionsAPI call BALANCESLICEUNIQUE. Allows the even
  5453. distribution of custom replica properties across nodes making up a
  5454. collection, at most one node per slice will have the property.
  5455. * SOLR-6605: Make ShardHandlerFactory maxConnections configurable.
  5456. (Christine Poerschke via shalin)
  5457. * SOLR-6585: RequestHandlers can optionally handle sub paths as well (Noble Paul)
  5458. * SOLR-6617: /update/json/docs path will use fully qualified node names by default
  5459. (Noble Paul)
  5460. * SOLR-4715: Add CloudSolrClient constructors which accept a HttpClient instance.
  5461. (Hardik Upadhyay, Shawn Heisey, shalin)
  5462. * SOLR-5992: add "removeregex" as an atomic update operation
  5463. (Vitaliy Zhovtyuk via Erick Erickson)
  5464. * SOLR-6633: /update/json/docs path can now save the underlying json doc asa string field
  5465. and better support added to the default example (Noble Paul)
  5466. * SOLR-6650: Add optional slow request logging at WARN level
  5467. (Jessica Cheng Mallet via Timothy Potter)
  5468. * SOLR-6655: SimplePostTool now features -Dhost, -Dport, and -Dc (for core/collection)
  5469. properties to allow easier overriding of just the right piece of the Solr URL.
  5470. (ehatcher)
  5471. * SOLR-6248: MoreLikeThis QParser that accepts a document id and returns documents that
  5472. have similar content. It works in standalone/cloud mode and shares logic with the
  5473. Lucene MoreLikeThis class (Anshum Gupta).
  5474. * SOLR-6670: change BALANCESLICEUNIQUE to BALANCESHARDUNIQUE. Also, the parameter
  5475. for ADDREPLICAPROP that used to be sliceUnique is now shardUnique. (Erick Erickson)
  5476. * SOLR-6351: Stats can now be nested under pivot values by adding a 'stats' local param to
  5477. facet.pivot which refers to a 'tag' local param in one or more stats.field params.
  5478. (hossman, Vitaliy Zhovtyuk, Steve Molloy)
  5479. * SOLR-6533: Support editing common solrconfig.xml values (Noble Paul)
  5480. * SOLR-6607: Managing requesthandlers through API (Noble Paul)
  5481. * SOLR-4799: faster join using join="zipper" aka merge join for nested DIH EntityProcessors
  5482. (Mikhail Khludnev via Noble Paul)
  5483. * SOLR-6787: API to manage blobs in Solr (Noble Paul)
  5484. * SOLR-6801: Load RequestHandler from blob store (Noble Paul)
  5485. * SOLR-1632: Support Distributed IDF (Andrzej Bialecki, Mark Miller, Yonik Seeley,
  5486. Robert Muir, Markus Jelsma, Vitaliy Zhovtyuk, Anshum Gupta)
  5487. * SOLR-6729: createNodeSet.shuffle=(true|false) support for /admin/collections?action=CREATE.
  5488. (Christine Poerschke, Ramkumar Aiyengar via Mark Miller)
  5489. * SOLR-6851: Scripts to support installing and running Solr as a service on Linux
  5490. (Timothy Potter, Hossman, Steve Rowe)
  5491. * SOLR-6770: Add/edit param sets and use them in Requests (Noble Paul)
  5492. * SOLR-6879: Have an option to disable autoAddReplicas temporarily for all collections.
  5493. (Varun Thacker via Steve Rowe)
  5494. * SOLR-6435: Add bin/post script to simplify posting content to Solr (Erik Hatcher)
  5495. * SOLR-6761: Ability to ignore commit and/or optimize requests from clients when running in
  5496. SolrCloud mode using the IgnoreCommitOptimizeUpdateProcessorFactory. (Timothy Potter)
  5497. * SOLR-6797: Spatial fields that used to require units=degrees like
  5498. SpatialRecursivePrefixTreeFieldType (RPT) now take distanceUnits=degrees|kilometers|miles
  5499. instead. It is applied to nearly all distance measurements involving the field: maxDistErr,
  5500. distErr, d, geodist, score=distance|area|area2d. score now accepts these units as well. It does
  5501. NOT affect distances embedded in WKT strings like BUFFER(POINT(200 10),0.2)).
  5502. (Ishan Chattopadhyaya, David Smiley)
  5503. * SOLR-6766: Expose HdfsDirectoryFactory Block Cache statistics via JMX.
  5504. (Mike Drob, Mark Miller)
  5505. * SOLR-2035: Add a VelocityResponseWriter $resource tool for locale-specific string lookups.
  5506. (Erik Hatcher)
  5507. * SOLR-6916: Toggle payload support for the default highlighter via hl.payloads. It's auto
  5508. enabled when the index has payloads. (David Smiley)
  5509. * SOLR-6581: Efficient DocValues support and numeric collapse field implementations
  5510. for Collapse and Expand (Joel Bernstein)
  5511. * SOLR-6937: In schemaless mode ,replace spaces and special characters with underscore (Noble Paul)
  5512. * SOLR-5147: Support child documents in DIH
  5513. (Vadim Kirilchuk, Shawn Heisey, Thomas Champagne, Mikhail Khludnev via Noble Paul)
  5514. Bug Fixes
  5515. ----------------------
  5516. * SOLR-4895: An error should be returned when a rollback is attempted in SolrCloud mode.
  5517. (Vamsee Yarlagadda via Mark Miller)
  5518. * SOLR-6424: The hdfs block cache BLOCKCACHE_WRITE_ENABLED is not defaulting to false like it
  5519. should. (Mark Miller)
  5520. * SOLR-6426: SolrZkClient clean can fail due to a race with children nodes. (Mark Miller)
  5521. * SOLR-5966: Admin UI Menu is fixed and doesn't respect smaller viewports.
  5522. (Aman Tandon, steffkes via shalin)
  5523. * SOLR-4406: Fix RawResponseWriter to respect 'base' writer
  5524. (Steve Davids, hossman)
  5525. * SOLR-6297: Fix WordBreakSolrSpellChecker to not lose suggestions in shard/cloud
  5526. environments (James Dyer)
  5527. * SOLR-6467: bin/solr script should direct stdout/stderr when starting in the background
  5528. to the solr-PORT-console.log in the logs directory instead of bin. (Timothy Potter)
  5529. * SOLR-6187: SOLR-6154: facet.mincount ignored in range faceting using distributed search
  5530. NOTE: This does NOT fixed for the (deprecated) facet.date idiom, use facet.range
  5531. instead. (Erick Erickson, Zaccheo Bagnati, Ronald Matamoros, Vamsee Yalargadda)
  5532. * SOLR-6457: LBHttpSolrClient: ArrayIndexOutOfBoundsException risk if counter overflows
  5533. (longkey via Noble Paul)
  5534. * SOLR-6499: Log warning about multiple update request handlers
  5535. (Noble Paul, Andreas Hubold, hossman)
  5536. * SOLR-6507: Fixed several bugs involving stats.field used with local params (hossman)
  5537. * SOLR-6481: CLUSTERSTATUS should check if the node hosting a replica is live when
  5538. reporting replica status (Timothy Potter)
  5539. * SOLR-6484: SolrCLI's healthcheck action needs to check live nodes as part of reporting
  5540. the status of a replica (Timothy Potter)
  5541. * SOLR-6540 Fix NPE from strdist() func when doc value source does not exist in a doc (hossman)
  5542. * SOLR-6624 Spelling mistakes in the Java source (Hrishikesh Gadre)
  5543. * SOLR-6307: Atomic update remove does not work for int array or date array
  5544. (Anurag Sharma , noble)
  5545. * SOLR-6224: Post soft-commit callbacks are called before soft commit actually happens.
  5546. (shalin)
  5547. * SOLR-6591: Overseer can use stale cluster state and lose updates for collections
  5548. with stateFormat > 1. (shalin)
  5549. * SOLR-6631: DistributedQueue spinning on calling zookeeper getChildren()
  5550. (Jessica Cheng Mallet, Mark Miller, Timothy Potter)
  5551. * SOLR-6579: SnapPuller Replication blocks clean shutdown of tomcat
  5552. (Philip Black-Knight via Noble Paul)
  5553. * SOLR-6721: ZkController.ensureReplicaInLeaderInitiatedRecovery puts replica
  5554. in local map before writing to ZK. (shalin)
  5555. * SOLR-6679: Disabled suggester component from techproduct solrconfig.xml since
  5556. it caused long startup times on large indexes even when it wasn't used.
  5557. (yonik, hossman)
  5558. * SOLR-6738: Admin UI - Escape Data on Plugins-View (steffkes)
  5559. * SOLR-3774: Solr adds RequestHandler SolrInfoMBeans twice to the JMX server.
  5560. (Tomás Fernández Löbbe, hossman, Mark Miller)
  5561. * SOLR-6763: Shard leader elections should not persist across session expiry
  5562. (Alan Woodward, Mark Miller)
  5563. * SOLR-3881: Avoid OOMs in LanguageIdentifierUpdateProcessor:
  5564. - Added langid.maxFieldValueChars and langid.maxTotalChars params to limit
  5565. input, by default 10k and 20k chars, respectively.
  5566. - Moved input concatenation to Tika implementation; the langdetect
  5567. implementation instead appends each input piece via the langdetect API.
  5568. (Vitaliy Zhovtyuk, Tomás Fernández Löbbe, Rob Tulloh, Steve Rowe)
  5569. * SOLR-6626: NPE in FieldMutatingUpdateProcessor when indexing a doc with
  5570. null field value (Noble Paul)
  5571. * SOLR-6604: SOLR-6812: Fix NPE with distrib.singlePass=true and expand
  5572. component. Increased test coverage of expand component with docValues.
  5573. (Christine Poerschke, Per Steffensen, shalin)
  5574. * SOLR-6718: Core discovery was walking paths relative to the Jetty working
  5575. directory, rather than SOLR_HOME. (Andreas Hubold, Alan Woodward)
  5576. * SOLR-6864: Support registering searcher listeners in SolrCoreAware.inform(SolrCore)
  5577. method. Existing components rely on this. (Tomás Fernández Löbbe)
  5578. * SOLR-6850: AutoAddReplicas makes a call to wait to see live replicas that times
  5579. out after 30 milliseconds instead of 30 seconds. (Varun Thacker via Mark Miller)
  5580. * SOLR-6397: zkcli script put/putfile should allow overwriting an existing znode's data
  5581. (Timothy Potter)
  5582. * SOLR-6873: Lib relative path is incorrect for techproduct configset
  5583. (Alexandre Rafalovitch via Erick Erickson)
  5584. * SOLR-6899: Change public setter for CollectionAdminRequest.action to protected.
  5585. (Anshum Gupta)
  5586. * SOLR-6779: fix /browse for schemaless example (ehatcher)
  5587. * SOLR-6874: There is a race around SocketProxy binding to it's port the way we setup
  5588. JettySolrRunner and SocketProxy. (Mark Miller, Timothy Potter)
  5589. * SOLR-6735: Make CloneFieldUpdateProcessorFactory null safe (Steve Davids via ehatcher)
  5590. * SOLR-6907: URLEncode documents directory in MorphlineMapperTest to handle spaces etc.
  5591. in file name. (Ramkumar Aiyengar via Erick Erickson)
  5592. * SOLR-6880: Harden ZkStateReader to expect that getCollectionLive may return null
  5593. as it's contract states. (Mark Miller, shalin)
  5594. * SOLR-6643: Fix error reporting & logging of low level JVM Errors that occur when
  5595. loading/reloading a SolrCore (hossman)
  5596. * SOLR-6839: Direct routing with CloudSolrServer will ignore the Overwrite document option.
  5597. (Mark Miller)
  5598. * SOLR-6793: ReplicationHandler does not destroy all of it's created SnapPullers.
  5599. (Mark Miller)
  5600. * SOLR-6946: Document -p port option for the create_core and create_collection actions in
  5601. bin/solr (Timothy Potter)
  5602. * SOLR-6923: AutoAddReplicas also consults live_nodes to see if a state change has happened.
  5603. (Varun Thacker via Anshum Gupta)
  5604. * SOLR-6941: DistributedQueue#containsTaskWithRequestId can fail with NPE. (Mark Miller)
  5605. * SOLR-6764: Field types need to be re-informed after reloading a managed schema from ZK
  5606. (Timothy Potter)
  5607. * SOLR-6931: We should do a limited retry when using HttpClient.
  5608. (Mark Miller, Hrishikesh Gadre, Gregory Chanan)
  5609. * SOLR-7004: Add a missing constructor for CollectionAdminRequest.BalanceShardUnique that
  5610. sets the collection action. (Anshum Gupta)
  5611. * SOLR-6993: install_solr_service.sh won't install on RHEL / CentOS
  5612. (David Anderson via Timothy Potter)
  5613. * SOLR-6928: solr.cmd stop works only in english (john.work, Jan Høydahl, Timothy Potter)
  5614. * SOLR-7011: Delete collection returns before collection is actually removed.
  5615. (Christine Poerschke via shalin)
  5616. * SOLR-6640: Close searchers before rollback and recovery to avoid index corruption.
  5617. (Robert Muir, Varun Thacker, shalin)
  5618. * SOLR-6847: LeaderInitiatedRecoveryThread compares wrong replica's state with lirState.
  5619. (shalin)
  5620. * SOLR-6856: Restore ExtractingRequestHandler's ability to capture all HTML tags when
  5621. parsing (X)HTML. (hossman, Uwe Schindler, ehatcher, Steve Rowe)
  5622. * SOLR-7024: Improved error messages when java is not found by the bin/solr
  5623. shell script, particularly when JAVA_HOME has an invalid location.
  5624. (Shawn Heisey)
  5625. * SOLR-7038: Validate the presence of configset before trying to create a collection.
  5626. (Anshum Gupta, Mark Miller)
  5627. * SOLR-7037: bin/solr start -e techproducts -c fails to start Solr in cloud mode
  5628. (Timothy Potter)
  5629. * SOLR-7016: Fix bin\solr.cmd to work in a directory with spaces in the name.
  5630. (Timothy Potter, Uwe Schindler)
  5631. * SOLR-6969: When opening an HDFSTransactionLog for append we must first attempt to recover
  5632. it's lease to prevent data loss. (Mark Miller, Praneeth Varma, Colin McCabe)
  5633. * SOLR-7067: bin/solr won't run under bash 4.2+. (Steve Rowe)
  5634. * SOLR-7068: Collapse on numeric field breaks when min/max values are negative.
  5635. (Joel Bernstein)
  5636. * SOLR-6780: Fixed a bug in how default/appends/invariants params were affecting the set
  5637. of all "keys" found in the request parameters, resulting in some key=value param pairs
  5638. being duplicated. This was noticeably affecting some areas of the code where iteration
  5639. was done over the set of all params:
  5640. - literal.* in ExtractingRequestHandler
  5641. - facet.* in FacetComponent
  5642. - spellcheck.[dictionary name].* and spellcheck.collateParam.* in SpellCheckComponent
  5643. - olap.* in AnalyticsComponent
  5644. (Alexandre Rafalovitch & hossman)
  5645. * SOLR-6920: A replicated index can end up corrupted when small files end up with the same
  5646. file name and size. (Varun Thacker, Mark Miller)
  5647. * SOLR-7033, SOLR-5961: RecoveryStrategy should not publish any state when
  5648. closed / cancelled and there should always be a pause between recoveries
  5649. even when recoveries are rapidly stopped and started as well as when a
  5650. node attempts to become the leader for a shard.
  5651. (Mark Miller, Maxim Novikov)
  5652. * SOLR-6693: bin\solr.cmd doesn't support 32-bit JRE/JDK running on Windows due to
  5653. parenthesis in JAVA_HOME. (Timothy Potter, Christopher Hewitt, Jan Høydahl)
  5654. * SOLR-12662: Reproducing TestPolicy failures: NPE and NoClassDefFoundError.
  5655. (Steve Rowe)
  5656. Optimizations
  5657. ----------------------
  5658. * SOLR-6603: LBHttpSolrClient - lazily allocate skipped-zombie-servers list.
  5659. (Christine Poerschke via shalin)
  5660. * SOLR-6554: Speed up overseer operations avoiding cluster state reads from
  5661. zookeeper at the start of each loop and instead relying on local state and
  5662. compare-and-set writes. This change also adds batching for consecutive messages
  5663. belonging to the same collection with stateFormat=2. (shalin)
  5664. * SOLR-6680: DefaultSolrHighlighter can sometimes avoid CachingTokenFilter with
  5665. hl.usePhraseHighlighter, and can be more efficient handling data from term vectors.
  5666. (David Smiley)
  5667. * SOLR-6666: Dynamic copy fields are considering all dynamic fields, causing
  5668. a significant performance impact on indexing documents. (Liram Vardi via Erick
  5669. Erickson, Steve Rowe)
  5670. Other Changes
  5671. ----------------------
  5672. * SOLR-4622: Hardcoded SolrCloud defaults for hostContext and hostPort that
  5673. were deprecated in 4.3 have been removed completely. (hossman)
  5674. * SOLR-5936: Removed deprecated non-Trie-based numeric & date field types.
  5675. (Steve Rowe)
  5676. * SOLR-6169: Finish removal of CoreAdminHandler handleAlias action begun in 4.9
  5677. (Alan Woodward)
  5678. * SOLR-6215: TrieDateField should directly extend TrieField instead of
  5679. forwarding to a wrapped TrieField. (Steve Rowe)
  5680. * SOLR-3029: Changes to spellcheck response format (Nalini Kartha via James Dyer)
  5681. * SOLR-3957: Removed RequestHandlerUtils#addExperimentalFormatWarning(), which
  5682. removes "experimental" warning from two places: replication handler details
  5683. command and DataImportHandler responses. (ehatcher)
  5684. * SOLR-6073: Remove helper methods from CollectionsRequest (SolrJ) for CollectionsAPI
  5685. calls and move to a builder design for the same. (Varun Thacker, Anshum Gupta)
  5686. * SOLR-6519: Make DirectoryFactory#create() take LockFactory.
  5687. (Uwe Schindler)
  5688. * SOLR-6400: SolrCloud tests are not properly testing session expiration. (Mark Miller)
  5689. * LUCENE-5650: Tests can no longer write to CWD. Update log dir is now made relative
  5690. to the instance dir if it is not an absolute path. (Ryan Ernst, Dawid Weiss)
  5691. * SOLR-6390: Remove unnecessary checked exception for CloudSolrClient
  5692. constructors, improve javadocs for CloudSolrClient constructors.
  5693. (Steve Davids via Shawn Heisey)
  5694. * LUCENE-5901: Replaced all occurrences of LUCENE_CURRENT with LATEST for luceneMatchVersion.
  5695. (Ryan Ernst)
  5696. * SOLR-6445: Upgrade Noggit to version 0.6 to support more flexible JSON input (Noble Paul, Yonik Seeley)
  5697. * SOLR-6073: Remove helper methods from CollectionsRequest (SolrJ) for CollectionsAPI
  5698. calls and move to a builder design for the same. (Varun Thacker, Anshum Gupta)
  5699. * SOLR-5322: core discovery can fail w/NPE and no explanation if a non-readable directory exists
  5700. (Said Chavkin, Erick Erickson)
  5701. * SOLR-6488, SOLR-6991: Update to Apache Tika 1.7. This adds support for parsing Outlook PST and
  5702. Matlab MAT files. Parsing for NetCDF files was removed because of license issues; if you need
  5703. support for this format, download the parser JAR yourself and add it to contrib/extraction/lib
  5704. folder: http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/
  5705. (Uwe Schindler)
  5706. * SOLR-6115: Cleanup enum/string action types in Overseer, OverseerCollectionProcessor and
  5707. CollectionHandler. (Erick Erickson, shalin)
  5708. * SOLR-6453: Stop throwing an error message from Overseer when node exits (Ramkumar Aiyengar, Noble Paul)
  5709. * SOLR-6550: Provide simple mechanism for passing additional metadata / context about a server-side
  5710. SolrException back to the client-side (Timothy Potter)
  5711. * SOLR-6249: Schema API changes return success before all cores are updated; client application
  5712. can provide the optional updateTimeoutSecs parameter to cause the server handling the
  5713. managed schema update to block until all replicas of the same collection have processed the
  5714. update or until the specified timeout is reached (Timothy Potter)
  5715. * SOLR-6597: SolrIndexConfig parameter in one of the SolrIndexSearcher constructor has been removed.
  5716. It was just passed and never used via that constructor. (Anshum Gupta)
  5717. * SOLR-5852: Add CloudSolrClient helper method to connect to a ZK ensemble. (Varun Thacker, Furkan KAMACI,
  5718. Shawn Heisey, Mark Miller, Erick Erickson via shalin)
  5719. * SOLR-6592: Avoid waiting for the leader to see the down state if that leader is not live.
  5720. (Timothy Potter)
  5721. * SOLR-6641: SystemInfoHandler should include the zkHost the node is using (when running in solrcloud mode)
  5722. (Timothy Potter)
  5723. * SOLR-6295: Fix child filter query creation to never match parent docs in SolrExampleTests.
  5724. (Varun Thacker, Mikhail Khludnev via shalin)
  5725. * SOLR-6578: Update commons-io dependency to the latest 2.4 version
  5726. (Steve Rowe, Shawn Heisey)
  5727. * SOLR-6651: Fix wrong timeout logged in waitForReplicasToComeUp. (shalin)
  5728. * SOLR-6698: Solr is not consistent wrt ZkCredentialsProvider / ZkCredentialProvider.
  5729. References to zkCredentialProvider in System properties or configurations should be
  5730. changed to zkCredentialsProvider. (Gregory Chanan)
  5731. * SOLR-6715: ZkSolrResourceLoader constructors accept a parameter called 'collection'
  5732. but it should be 'configName'. (shalin)
  5733. * SOLR-6697: bin/solr start scripts allow setting SOLR_OPTS in solr.in.* (janhoy)
  5734. * SOLR-6739: Admin UI - Sort list of command line args (steffkes)
  5735. * SOLR-6740: Admin UI - improve Files View (steffkes)
  5736. * SOLR-6570: Run SolrZkClient session watch asynchronously.
  5737. (Ramkumar Aiyengar via Mark Miller)
  5738. * SOLR-6747: Add an optional caching option as a workaround for SOLR-6586.
  5739. (Mark Miller, Gregory Chanan)
  5740. * SOLR-6459: Normalize logging of operations in Overseer and log current queue size.
  5741. (Ramkumar Aiyengar, shalin via Mark Miller)
  5742. * SOLR-6754: ZkController.publish doesn't use the updateLastState parameter.
  5743. (shalin)
  5744. * SOLR-6751: Exceptions thrown in the analysis chain in DirectUpdateHandler2
  5745. should return a BAD_REQUEST status (Alan Woodward)
  5746. * SOLR-6792: deprecate AdminHandlers, Clean up solrconfig.xml of
  5747. unnecessary plugin definitions, implicit registration of /replication,
  5748. /get and /admin/* handlers (Noble Paul)
  5749. * SOLR-5864: Remove previous SolrCore as parameter on reload.
  5750. (Tomás Fernández Löbbe)
  5751. * SOLR-4792: Stop shipping a .war. (Robert Muir, Ramkumar Aiyengar, Mark Miller)
  5752. * SOLR-6799: Update Saxon-HE to 9.6.0-2. (Mark Miller)
  5753. * SOLR-6454: Suppress EOFExceptions in SolrDispatchFilter.
  5754. (Ramkumar Aiyengar via Mark Miller)
  5755. * SOLR-6370: Allow tests to report/fail on many ZK watches being parallelly
  5756. requested on the same data (Ramkumar Aiyengar via Timothy Potter)
  5757. * SOLR-6752: Buffer Cache allocate/lost metrics should be exposed.
  5758. (Mike Drob via Mark Miller)
  5759. * SOLR-6560: Purge termIndexInterval from example/test configs
  5760. (Tom Burton-West, hossman)
  5761. * SOLR-6773: Remove the multicore example as the DIH and cloud examples
  5762. illustrate multicore behavior (hossman, Timothy Potter)
  5763. * SOLR-6834: Warn if checkIntegrityAtMerge is configured. This option is no longer meaningful
  5764. since the checks are done automatically at a very low level in the segment merging.
  5765. This warning will become an error in Solr 6.0. (hossman)
  5766. * SOLR-6833: Examples started with bin/solr -e should use a solr.solr.home directory under
  5767. the example directory instead of server/solr. (Alexandre Rafalovitch, Anshum Gupta, hossman,
  5768. Timothy Potter)
  5769. * SOLR-6826: fieldType capitalization is not consistent with the rest of case-sensitive field names.
  5770. (Alexandre Rafalovitch via Erick Erickson)
  5771. * SOLR-6849: HttpSolrClient.RemoteSolrException reports the URL of the remote
  5772. host where the exception occurred. (Alan Woodward)
  5773. * SOLR-6852: SimplePostTool no longer defaults to collection1 making core/collection/update URL
  5774. mandatory. (Anshum Gupta)
  5775. * SOLR-6861: post.sh from exampledocs directory has been removed as there no longer is a default update
  5776. URL. (Anshum Gupta)
  5777. * SOLR-5922: Add support for adding core properties to SolrJ Collection Admin Request calls.
  5778. (Varun Thacker via Anshum Gupta).
  5779. * SOLR-6523: Provide SolrJ support for specifying stateFormat while creating Collections.
  5780. (Anshum Gupta)
  5781. * SOLR-6881: Add split.key support for SPLITSHARD via SolrJ (Anshum Gupta)
  5782. * SOLR-6883: CLUSTERPROP API switch case does not call break. (Varun Thacker via shalin)
  5783. * SOLR-6882: Misspelled collection API actions in ReplicaMutator exception messages.
  5784. (Steve Rowe via shalin)
  5785. * SOLR-6867: SolrCLI should check for existence before creating a new core/collection,
  5786. more user-friendly error reporting (no stack trace), and the ability to pass a
  5787. directory when using bin/solr to create a core or collection (Timothy Potter)
  5788. * SOLR-6885: Add core name to RecoveryThread name. (Christine Poerschke via shalin)
  5789. * SOLR-6855: bin/solr -e dih launches, but has some path cruft issues preventing some of the
  5790. imports don't work (Hossman, Timothy Potter)
  5791. * SOLR-3711: Truncate long strings in /browse field facets (ehatcher)
  5792. * SOLR-6876: Remove unused legacy scripts.conf (Alexandre Rafalovitch via Erick Erickson)
  5793. * SOLR-6896: Speed up tests by dropping SolrJettyRunner thread max idle time
  5794. (Alan Woodward)
  5795. * SOLR-6448: Add SolrJ support for all current Collection API calls. (Anshum Gupta)
  5796. * Fixed a typo in various solrconfig.xml files. (sdumitriu - pull request #120)
  5797. * SOLR-6895: SolrServer classes are renamed to *SolrClient. The existing
  5798. classes still exist, but are deprecated. (Alan Woodward, Erik Hatcher)
  5799. * SOLR-6483: Refactor some methods in MiniSolrCloudCluster tests (Steve Davids via
  5800. Erick Erickson)
  5801. * SOLR-6906: Fix typo bug in DistributedDebugComponentTest.testCompareWithNonDistributedRequest
  5802. (Ramkumar Aiyengar via Erick Erickson)
  5803. * SOLR-6905: Test pseudo-field retrieval in distributed search.
  5804. (Ramkumar Aiyengar via shalin)
  5805. * SOLR-6897: Nuke non-NRT mode from code and configuration. (Hossman, shalin)
  5806. * SOLR-6830: Update Woodstox to 4.4.1 and StAX to 3.1.4. (ab)
  5807. * SOLR-6918: No need to log exceptions (as warn) generated when creating MBean stats if
  5808. the core is shutting down (Timothy Potter)
  5809. * SOLR-6932: All HttpClient ConnectionManagers and SolrJ clients should always be shutdown
  5810. in tests and regular code. (Mark Miller)
  5811. * SOLR-1723: VelocityResponseWriter improvements (Erik Hatcher)
  5812. * SOLR-6324: Set finite default timeouts for select and update. (Ramkumar Aiyengar via Mark Miller)
  5813. * SOLR-6952: bin/solr create action should copy configset directory instead of reusing
  5814. an existing configset in ZooKeeper by default (Timothy Potter)
  5815. * SOLR-6933: bin/solr should provide a single "create" action that creates a core
  5816. or collection depending on whether Solr is running in standalone or cloud mode
  5817. (Timothy Potter)
  5818. * SOLR-6496: LBHttpSolrClient stops server retries after the timeAllowed threshold is met.
  5819. (Steve Davids, Anshum Gupta)
  5820. * SOLR-6904: Removed deprecated Circle & rect syntax. See upgrading notes. (David Smiley)
  5821. * SOLR-6943: HdfsDirectoryFactory should fall back to system props for most of it's config
  5822. if it is not found in solrconfig.xml. (Mark Miller, Mike Drob)
  5823. * SOLR-6926: "ant example" makes no sense anymore - should be "ant server"
  5824. (Ramkumar Aiyengar, Timothy Potter)
  5825. * SOLR-6982: bin/solr and SolrCLI should support SSL-related Java System Properties
  5826. (Timothy Potter)
  5827. * SOLR-6981: Add a delete action to the bin/solr script to allow deleting of cores /
  5828. collections (with delete collection config directory from ZK) (Timothy Potter)
  5829. * SOLR-6840: Remove support for old-style solr.xml (Erick Erickson, Alan Woodward)
  5830. * SOLR-6976: Remove classes and methods deprecated in 4.x (Alan Woodward, Noble
  5831. Paul, Chris Hostetter)
  5832. * SOLR-6521: CloudSolrClient should synchronize cache cluster state loading
  5833. ( Noble Paul, Jessica Cheng Mallet)
  5834. * SOLR-7018: bin/solr stop should stop if there is only one node running or generate
  5835. an error message prompting the user to be explicit about which of multiple nodes
  5836. to stop using the -p or -all options (Timothy Potter)
  5837. * SOLR-5918: ant clean does not remove ZooKeeper data (Varun Thacker, Steve Rowe)
  5838. * SOLR-7020: 'bin/solr start' should automatically use an SSL-enabled alternate jetty
  5839. configuration file when in SSL mode, eliminating the need for manual jetty.xml edits.
  5840. (Steve Rowe)
  5841. * SOLR-6227: Avoid spurious failures of ChaosMonkeySafeLeaderTest by ensuring there's
  5842. at least one jetty to kill. (shalin)
  5843. ================== 4.10.4 ==================
  5844. Bug Fixes
  5845. ----------------------
  5846. * SOLR-6931: We should do a limited retry when using HttpClient.
  5847. (Mark Miller, Hrishikesh Gadre, Gregory Chanan)
  5848. * SOLR-6780: Fixed a bug in how default/appends/invariants params were affecting the set
  5849. of all "keys" found in the request parameters, resulting in some key=value param pairs
  5850. being duplicated. This was noticeably affecting some areas of the code where iteration
  5851. was done over the set of all params:
  5852. - literal.* in ExtractingRequestHandler
  5853. - facet.* in FacetComponent
  5854. - spellcheck.[dictionary name].* and spellcheck.collateParam.* in SpellCheckComponent
  5855. - olap.* in AnalyticsComponent
  5856. (Alexandre Rafalovitch & hossman)
  5857. * SOLR-6426: SolrZkClient clean can fail due to a race with children nodes. (Mark Miller)
  5858. * SOLR-6457: LBHttpSolrClient: ArrayIndexOutOfBoundsException risk if counter overflows
  5859. (longkey via Noble Paul)
  5860. * SOLR-6481: CLUSTERSTATUS should check if the node hosting a replica is live when
  5861. reporting replica status (Timothy Potter)
  5862. * SOLR-6631: DistributedQueue spinning on calling zookeeper getChildren()
  5863. (Jessica Cheng Mallet, Mark Miller, Timothy Potter)
  5864. * SOLR-6579: SnapPuller Replication blocks clean shutdown of tomcat
  5865. (Philip Black-Knight via Noble Paul)
  5866. * SOLR-6763: Shard leader elections should not persist across session expiry
  5867. (Alan Woodward, Mark Miller)
  5868. * SOLR-3881: Avoid OOMs in LanguageIdentifierUpdateProcessor:
  5869. - Added langid.maxFieldValueChars and langid.maxTotalChars params to limit
  5870. input, by default 10k and 20k chars, respectively.
  5871. - Moved input concatenation to Tika implementation; the langdetect
  5872. implementation instead appends each input piece via the langdetect API.
  5873. (Vitaliy Zhovtyuk, Tomás Fernández Löbbe, Rob Tulloh, Steve Rowe)
  5874. * SOLR-6850: AutoAddReplicas makes a call to wait to see live replicas that times
  5875. out after 30 milliseconds instead of 30 seconds. (Varun Thacker via Mark Miller)
  5876. * SOLR-6839: Direct routing with CloudSolrServer will ignore the Overwrite document option.
  5877. (Mark Miller)
  5878. * SOLR-7139: Fix SolrContentHandler for TIKA to ignore multiple startDocument events.
  5879. (Chris A. Mattmann, Uwe Schindler)
  5880. * SOLR-6941: DistributedQueue#containsTaskWithRequestId can fail with NPE. (Mark Miller)
  5881. * SOLR-7011: Delete collection returns before collection is actually removed.
  5882. (Christine Poerschke via shalin)
  5883. * SOLR-6856: Restore ExtractingRequestHandler's ability to capture all HTML tags when
  5884. parsing (X)HTML. (hossman, Uwe Schindler, ehatcher, Steve Rowe)
  5885. * SOLR-6928: solr.cmd stop works only in english (john.work, Jan Høydahl, Timothy Potter)
  5886. * SOLR-7038: Validate the presence of configset before trying to create a collection.
  5887. (Anshum Gupta, Mark Miller)
  5888. * SOLR-7016: Fix bin\solr.cmd to work in a directory with spaces in the name.
  5889. (Timothy Potter, Uwe Schindler)
  5890. * SOLR-6693: bin\solr.cmd doesn't support 32-bit JRE/JDK running on Windows due to
  5891. parenthesis in JAVA_HOME. (Timothy Potter, Christopher Hewitt, Jan Høydahl)
  5892. * SOLR-7067: bin/solr won't run under bash 4.2+. (Steve Rowe)
  5893. * SOLR-7033, SOLR-5961: RecoveryStrategy should not publish any state when
  5894. closed / cancelled and there should always be a pause between recoveries
  5895. even when recoveries are rapidly stopped and started as well as when a
  5896. node attempts to become the leader for a shard.
  5897. (Mark Miller, Maxim Novikov)
  5898. * SOLR-6847: LeaderInitiatedRecoveryThread compares wrong replica's state with lirState.
  5899. (shalin)
  5900. * SOLR-7128: Two phase distributed search is fetching extra fields in GET_TOP_IDS phase.
  5901. (Pablo Queixalos, shalin)
  5902. Other Changes
  5903. ----------------------
  5904. * SOLR-7147: Introduce new TrackingShardHandlerFactory for monitoring what requests
  5905. are sent to shards during tests. (hossman, shalin)
  5906. ================== 4.10.3 ==================
  5907. Bug Fixes
  5908. ----------------------
  5909. * SOLR-6696: bin/solr start script should not enable autoSoftCommit by default (janhoy)
  5910. * SOLR-6704: TrieDateField type drops schema properties in branch 4.10 (Tomás Fernández Löbbe)
  5911. * SOLR-6085: Suggester crashes when prefixToken is longer than surface form (janhoy)
  5912. * SOLR-6323: ReRankingQParserPlugin cleaner paging and fix bug with fuzzy, range and other queries
  5913. that need to be re-written. (Adair Kovac, Joel Bernstein)
  5914. * SOLR-6684: Fix-up /export JSON. (Joel Bernstein)
  5915. * SOLR-6781: BBoxField didn't support dynamic fields. (David Smiley)
  5916. * SOLR-6784: BBoxField's 'score' mode should have been optional. (David Smiley)
  5917. * SOLR-6510: The collapse QParser would throw a NPE when used on a DocValues field on
  5918. an empty segment/index. (Christine Poerschke, David Smiley)
  5919. * SOLR-2927: Solr does not unregister all mbeans upon exception in constructor
  5920. causing memory leaks. (tom liu, Sharath Babu, Cyrille Roy, shalin)
  5921. * SOLR-6685: ConcurrentModificationException in Overseer Status API. (shalin)
  5922. * SOLR-6706: /update/json/docs throws RuntimeException if a nested structure
  5923. contains a non-leaf float field (Noble Paul, shalin)
  5924. * SOLR-6610: Slow startup of new clusters because ZkController.publishAndWaitForDownStates
  5925. always times out. (Jessica Cheng Mallet, shalin, Noble Paul)
  5926. * SOLR-6662: better validation when parsing command-line options that expect a value
  5927. (Timothy Potter)
  5928. * SOLR-6732: Fix handling of leader-initiated recovery state was String in older versions
  5929. and is now a JSON map, caused backwards compatibility issues when doing rolling upgrades of
  5930. a live cluster while indexing (Timothy Potter)
  5931. * SOLR-6705: Better strategy for dealing with JVM specific options in the start
  5932. scripts; remove -XX:+AggressiveOpts and only set -XX:-UseSuperWord for Java 1.7u40
  5933. to u51. (Uwe Schindler, janhoy, hossman, Timothy Potter)
  5934. * SOLR-6726: better strategy for selecting the JMX RMI port based on SOLR_PORT in bin/solr
  5935. script (Timothy Potter)
  5936. * SOLR-6795: distrib.singlePass returns score even though not asked for.
  5937. (Per Steffensen via shalin)
  5938. * SOLR-6796: distrib.singlePass does not return correct set of fields for multi-fl-parameter
  5939. requests. (Per Steffensen via shalin)
  5940. * SOLR-6776: Transaction log was not flushed at the end of update requests with softCommit
  5941. specified, which could lead to data loss if the server were killed immediately after the
  5942. update finished. (Jeffery Yuan via yonik)
  5943. Other Changes
  5944. ----------------------
  5945. * SOLR-6661: Adjust all example configurations to allow overriding error-prone
  5946. relative paths for solrconfig.xml <lib> references with solr.install.dir
  5947. system property; bin/solr scripts will set it appropriately. (ehatcher)
  5948. * SOLR-6694: Auto-detect JAVA_HOME using the Windows registry if it is not set
  5949. (janhoy, Timothy Potter)
  5950. * SOLR-6653: bin/solr script should return error code >0 when something fails
  5951. (janhoy, Timothy Potter)
  5952. * SOLR-6829: Added getter/setter for lastException in DIH's ContextImpl (ehatcher)
  5953. ================== 4.10.2 ==================
  5954. Bug Fixes
  5955. ----------------------
  5956. * SOLR-6509: Solr start scripts interactive mode doesn't honor -z argument (Timothy Potter)
  5957. * SOLR-6511: Fencepost error in LeaderInitiatedRecoveryThread (Timothy Potter)
  5958. * SOLR-6530: Commits under network partitions can put any node in down state.
  5959. (Ramkumar Aiyengar, Alan Woodward, Mark Miller, shalin)
  5960. * SOLR-6573: QueryElevationComponent now works with localParams in the query (janhoy)
  5961. * SOLR-6524: Collections left in recovery state after node restart because recovery sleep time
  5962. increases exponentially between retries. (Mark Miller, shalin)
  5963. * SOLR-6587: Misleading exception when creating collections in SolrCloud with bad configuration.
  5964. (Tomás Fernández Löbbe)
  5965. * SOLR-6452: StatsComponent's stat 'missing' will work on fields with docValues=true and
  5966. indexed=false (Xu Zhang via Tomás Fernández Löbbe)
  5967. * SOLR-6646: bin/solr start script fails to detect solr on non-default port and then after
  5968. 30s tails wrong log file (janhoy)
  5969. * SOLR-6647: Bad error message when missing resource from ZK when parsing Schema (janhoy)
  5970. * SOLR-6545: Query field list with wild card on dynamic field fails.
  5971. (Burke Webster, Xu Zhang, shalin)
  5972. Other Changes
  5973. ----------------------
  5974. * SOLR-6550: Provide simple mechanism for passing additional metadata / context about a server-side
  5975. SolrException back to the client-side (Timothy Potter)
  5976. * SOLR-6486: solr start script can have a debug flag option; use -a to set arbitrary options
  5977. (Noble Paul, Timothy Potter)
  5978. * SOLR-6549: bin/solr script should support a -s option to set the -Dsolr.solr.home property.
  5979. (Timothy Potter)
  5980. * SOLR-6529: Stop command in the start scripts should only stop the instance that it had started.
  5981. (Varun Thacker, Timothy Potter)
  5982. ================== 4.10.1 ==================
  5983. Bug Fixes
  5984. ----------------------
  5985. * SOLR-6425: If using the new global hdfs block cache option, you can end up
  5986. reading corrupt files on file name reuse. (Mark Miller, Gregory Chanan)
  5987. * SOLR-5814: CoreContainer reports incorrect & misleading path for solrconfig.xml
  5988. when there are loading problems (Pradeep via hossman)
  5989. * SOLR-6024: Fix StatsComponent when using docValues="true" multiValued="true"
  5990. (Vitaliy Zhovtyuk & Tomas Fernandez-Lobbe via hossman)
  5991. * SOLR-6493: Fix fq exclusion via "ex" local param in multivalued stats.field (hossman)
  5992. * SOLR-6447: bin/solr script needs to pass -DnumShards=1 for boostrapping collection1
  5993. when starting Solr in cloud mode. (Timothy Potter)
  5994. * SOLR-6501: Binary Response Writer does not return wildcard fields.
  5995. (Mike Hugo, Constantin Mitocaru, sarowe, shalin)
  5996. Other Changes
  5997. ---------------------
  5998. * SOLR-6503: Removed support for parsing netcdf files in Solr Cell because
  5999. of license issues. If you need support for this format, download the parser
  6000. JAR yourself (version 4.2) and add it to contrib/extraction/lib folder:
  6001. http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/
  6002. (Uwe Schindler)
  6003. ================== 4.10.0 =================
  6004. Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release
  6005. Versions of Major Components
  6006. ---------------------
  6007. Apache Tika 1.5 (with upgraded Apache POI 3.10.1)
  6008. Carrot2 3.9.0
  6009. Velocity 1.7 and Velocity Tools 2.0
  6010. Apache UIMA 2.3.1
  6011. Apache ZooKeeper 3.4.6
  6012. Upgrading from Solr 4.9
  6013. ----------------------
  6014. * In Solr 3.6, all primitive field types were changed to omit norms by default when the
  6015. schema version is 1.5 or greater (SOLR-3140), but TrieDateField's default was mistakenly
  6016. not changed. As of Solr 4.10, TrieDateField omits norms by default (see SOLR-6211).
  6017. * Creating a SolrCore via CoreContainer.create() no longer requires an
  6018. additional call to CoreContainer.register() to make it available to clients
  6019. (see SOLR-6170).
  6020. * CoreContainer.remove() has been removed. You should now use CoreContainer.unload() to
  6021. delete a SolrCore (see SOLR-6232).
  6022. * solr.xml parsing has been improved to better account for the expected data types of
  6023. various options. As part of this fix, additional error checking has also been added to
  6024. provide errors in the event of duplicated options, or unknown option names that may
  6025. indicate a typo. Users who have modified their solr.xml in the past and now upgrade may
  6026. get errors on startup if they have typos or unexpected options specified in their solr.xml
  6027. file. (See SOLR-5746 for more information.)
  6028. Detailed Change List
  6029. ----------------------
  6030. New Features
  6031. ----------------------
  6032. * SOLR-6196: The overseerstatus collection API instruments amILeader and ZK state update calls.
  6033. (shalin)
  6034. * SOLR-6069: The 'clusterstatus' API should return 'roles' information. (shalin)
  6035. * SOLR-6044: The 'clusterstatus' API should return live_nodes as well. (shalin)
  6036. * SOLR-5768: Add a distrib.singlePass parameter to make EXECUTE_QUERY phase fetch all fields
  6037. and skip GET_FIELDS. (Gregg Donovan, shalin)
  6038. * SOLR-6183: New spatial BBoxField for indexing rectangles with search support for most predicates.
  6039. It includes extra score relevancy modes in addition to distance: score=overlapRatio|area|area2D.
  6040. (David Smiley, Ryan McKinley)
  6041. * SOLR-6232: You can now unload/delete cores that have failed to initialize (Alan Woodward)
  6042. * SOLR-2245: Improvements to the MailEntityProcessor:
  6043. - Support for server-side date filtering if using GMail; requires new
  6044. dependency on the Sun Gmail Java mail extensions
  6045. - Support for using the last_index_time from the previous run as the
  6046. value for the fetchMailsSince filter.
  6047. (Peter Sturge, Timothy Potter)
  6048. * SOLR-6258: Added onRollback event handler hook to Data Import Handler (DIH).
  6049. (ehatcher)
  6050. * SOLR-6263: Add DIH handler name to variable resolver as ${dih.handlerName}. (ehatcher)
  6051. * SOLR-6216: Better faceting for multiple intervals on DV fields (Tomas Fernandez-Lobbe
  6052. via Erick Erickson)
  6053. * SOLR-6267: Let user override Interval Faceting key with LocalParams (Tomas Fernandez_Lobbe
  6054. via Erick Erickson)
  6055. * SOLR-6020: Auto-generate a unique key in schema-less example if data does not have an id field.
  6056. The UUIDUpdateProcessor was improved to not require a field name in configuration and generate
  6057. a UUID into the unique Key field.
  6058. (Vitaliy Zhovtyuk, hossman, Steve Rowe, Erik Hatcher, shalin)
  6059. * SOLR-6294: SOLR-6437: Remove the restriction of adding json by only wrapping it in an array in a
  6060. new path /update/json/docs (Noble Paul , hossman, Yonik Seeley, Steve Rowe)
  6061. * SOLR-6302: UpdateRequestHandlers are registered implicitly /update ,
  6062. /update/json, /update/csv , /update/json/docs (Noble Paul)
  6063. * SOLR-6318: New "terms" QParser for efficiently filtering documents by a list of values. For
  6064. many values, it's more appropriate than a boolean query. (David Smiley)
  6065. * SOLR-6283: Add support for Interval Faceting in SolrJ. (Tomás Fernández Löbbe)
  6066. * SOLR-6304 : JsonLoader should be able to flatten an input JSON to multiple docs (Noble Paul)
  6067. * SOLR-2894: Distributed query support for facet.pivot (Dan Cooper, Erik Hatcher, Chris Russell,
  6068. Andrew Muldowney, Brett Lucey, Mark Miller, hossman)
  6069. * SOLR-5656: Add autoAddReplicas feature for shared file systems. (Mark Miller, Gregory Chanan)
  6070. * SOLR-5244: Exporting Full Sorted Result Sets (Erik Hatcher, Joel Bernstein)
  6071. * SOLR-3617: bin/solr and bin/solr.cmd scripts for starting, stopping, and running Solr examples
  6072. (Timothy Potter)
  6073. * SOLR-6233: Provide basic command line tools for checking Solr status and health.
  6074. (Timothy Potter)
  6075. Bug Fixes
  6076. ----------------------
  6077. * SOLR-6095 : SolrCloud cluster can end up without an overseer with overseer roles (Noble Paul, Shalin Mangar)
  6078. * SOLR-6165: DataImportHandler should write BigInteger and BigDecimal values as strings.
  6079. (Anand Sengamalai via shalin)
  6080. * SOLR-6189: Avoid publishing the state as down if the node is not live when determining
  6081. if a replica should be in leader-initiated recovery. (Timothy Potter)
  6082. * SOLR-6197: The MIGRATE collection API doesn't work when legacyCloud=false is set
  6083. in cluster properties. (shalin)
  6084. * SOLR-6206: The migrate collection API fails on retry if temp collection already exists.
  6085. (shalin)
  6086. * SOLR-6072: The 'deletereplica' API should remove the data and instance directory by default.
  6087. (shalin)
  6088. * SOLR-6211: TrieDateField doesn't default to omitNorms=true. (Michael Ryan, Steve Rowe)
  6089. * SOLR-6159: A ZooKeeper session expiry during setup can keep LeaderElector from joining elections.
  6090. (Steven Bower, shalin)
  6091. * SOLR-6223: SearchComponents may throw NPE when using shards.tolerant and there is a failure
  6092. in the 'GET_FIELDS/GET_HIGHLIGHTS/GET_DEBUG' phase. (Tomás Fernández Löbbe via shalin)
  6093. * SOLR-6180: Callers of ManagedIndexSchema mutators should hold the schemaUpdateLock.
  6094. (Gregory Chanan via Steve Rowe)
  6095. * SOLR-6229: Make SuggestComponent return 400 instead of 500 for bad dictionary selected in request.
  6096. (Tomás Fernández Löbbe via shalin)
  6097. * SOLR-6235: Leader initiated recovery should use coreNodeName instead of coreName to avoid marking
  6098. all replicas having common core name as down. (shalin)
  6099. * SOLR-6208: JettySolrRunner QueuedThreadPool's configuration code is never executed. (dweiss via shalin)
  6100. * SOLR-6245: Socket and Connection configuration are ignored in HttpSolrServer when passing in HttpClient.
  6101. (Patanachai Tangchaisin, shalin)
  6102. * SOLR-6137: Schemaless concurrency improvements:
  6103. - Fixed an NPE when reloading a managed schema with no dynamic copy fields
  6104. - Moved parsing and schema fields addition to after the distributed phase
  6105. - AddSchemaFieldsUpdateProcessor now uses a fixed schema rather than always
  6106. retrieving the latest, and holds the schema update lock through the entire
  6107. schema swap-out process
  6108. (Gregory Chanan via Steve Rowe)
  6109. * SOLR-6136: ConcurrentUpdateSolrServer includes a Spin Lock (Brandon Chapman, Timothy Potter)
  6110. * SOLR-6257: More than two "!"-s in a doc ID throws an
  6111. ArrayIndexOutOfBoundsException when using the composite id router.
  6112. (Steve Rowe)
  6113. * SOLR-5746: Bugs in solr.xml parsing have been fixed to more correctly deal with the various
  6114. datatypes of options people can specify, additional error handling of duplicated/unidentified
  6115. options has also been added. (Maciej Zasada, hossman)
  6116. * SOLR-5847: Fixed data import abort button in admin UI. (ehatcher)
  6117. * SOLR-6264: Distributed commit and optimize are executed serially across all
  6118. replicas. (Mark Miller, Timothy Potter)
  6119. * SOLR-6163: Correctly decode special characters in managed stopwords and synonym endpoints.
  6120. (Vitaliy Zhovtyuk, Timo Schmidt via Timothy Potter)
  6121. * SOLR-6336: DistributedQueue can easily create too many ZooKeeper Watches.
  6122. (Ramkumar Aiyengar via Mark Miller)
  6123. * SOLR-6347: DELETEREPLICA throws a NPE while removing the last Replica in a Custom
  6124. sharded collection. (Anshum Gupta)
  6125. * SOLR-6062: Fix undesirable edismax query parser effect (introduced in SOLR-2058) in how phrase queries
  6126. generated from pf, pf2, and pf3 are merged into the main query. (Michael Dodsworth via ehatcher)
  6127. * SOLR-6372: HdfsDirectoryFactory should use supplied Configuration for communicating with secure kerberos.
  6128. (Gregory Chanan via Mark Miller)
  6129. * SOLR-6284: Fix NPE in OCP when non-existent sliceId is used for a
  6130. deleteShard request (Ramkumar Aiyengar via Anshum Gupta)
  6131. * SOLR-6380: Added missing context info to log message if IOException occurs in processing tlog
  6132. (Steven Bower via hossman)
  6133. * SOLR-6383: RegexTransformer returns no results after replaceAll if regex does not match a value.
  6134. (Alexander Kingson, shalin)
  6135. * SOLR-6387: Add better error messages throughout Solr and supply a work around for
  6136. Java bug #8047340 to SystemInfoHandler: On Turkish default locale, some JVMs fail
  6137. to fork on MacOSX, BSD, AIX, and Solaris platforms. (hossman, Uwe Schindler)
  6138. * SOLR-6338: coreRootDirectory requires trailing slash, or SolrCloud cores are created in wrong location.
  6139. (Primož Skale via Erick Erickson)
  6140. * SOLR-6314: Facet counts duplicated in the response if specified more than once on the request.
  6141. (Vamsee Yarlagadda, Erick Erickson)
  6142. * SOLR-6378: Fixed example/example-DIH/ issues with "tika" and "solr" configurations, and tidied up README.txt
  6143. (Daniel Shchyokin via ehatcher)
  6144. * SOLR-6393: TransactionLog replay performance on HDFS is very poor. (Mark Miller)
  6145. * SOLR-6268: HdfsUpdateLog has a race condition that can expose a closed HDFS FileSystem instance and should
  6146. close its FileSystem instance if either inherited close method is called. (Mark Miller)
  6147. * SOLR-6089: When using the HDFS block cache, when a file is deleted, its underlying data entries in the
  6148. block cache are not removed, which is a problem with the global block cache option.
  6149. (Mark Miller, Patrick Hunt)
  6150. * SOLR-6402: OverseerCollectionProcessor should not exit for ZooKeeper ConnectionLoss.
  6151. (Jessica Cheng via Mark Miller)
  6152. * SOLR-6405: ZooKeeper calls can easily not be retried enough on ConnectionLoss.
  6153. (Jessica Cheng, Mark Miller)
  6154. * SOLR-6410: Ensure all Lookup instances are closed via CloseHook
  6155. (hossman, Areek Zillur, Ryan Ernst, Dawid Weiss)
  6156. Optimizations
  6157. ---------------------
  6158. * LUCENE-5803: Solr's schema now uses DelegatingAnalyzerWrapper. This uses less heap
  6159. for cached TokenStreamComponents because it caches per FieldType not per Field, so
  6160. indexes with many fields of same type just use one TokenStream per thread.
  6161. (Shay Banon, Uwe Schindler, Robert Muir)
  6162. * SOLR-6259: Reduce CPU usage by avoiding repeated costly calls to Document.getField inside
  6163. DocumentBuilder.toDocument for use-cases with large number of fields and copyFields.
  6164. (Steven Bower via shalin)
  6165. * SOLR-5968: BinaryResponseWriter fetches unnecessary stored fields when only pseudo-fields
  6166. are requested. (Gregg Donovan via shalin)
  6167. * SOLR-6261: Run ZooKeeper watch event callbacks in parallel to the ZooKeeper
  6168. event thread. (Ramkumar Aiyengar via Mark Miller)
  6169. Other Changes
  6170. ---------------------
  6171. * SOLR-6173: Fixed wrong failure message in TestDistributedSearch. (shalin)
  6172. * SOLR-5902: Corecontainer level mbeans are not exposed (noble)
  6173. * SOLR-6194: Allow access to DataImporter and DIHConfiguration from DataImportHandler.
  6174. (Aaron LaBella via shalin)
  6175. * SOLR-6170: CoreContainer.preRegisterInZk() and CoreContainer.register() commands
  6176. are merged into CoreContainer.create(). (Alan Woodward)
  6177. * SOLR-6171: Remove unused SolrCores coreNameToOrig map (Alan Woodward)
  6178. * SOLR-5596: Set system property zookeeper.forceSync=no for Solr test cases. (shalin)
  6179. * SOLR-2853: Add a unit test for the case when "spellcheck.maxCollationTries=0" (James Dyer)
  6180. * SOLR-6240: Removed unused coreName parameter in ZkStateReader.getReplicaProps. (shalin)
  6181. * SOLR-6241: Harden the HttpPartitionTest. (shalin)
  6182. * SOLR-6228: Fixed bug in TestReplicationHandler.doTestIndexAndConfigReplication. (shalin)
  6183. * SOLR-6120: On Windows, when the war is not extracted, the zkcli.bat script
  6184. will print a helpful message indicating that the war must be unzipped instead
  6185. of a java error about a missing class. (shalin, Shawn Heisey)
  6186. * SOLR-6179: Better strategy for handling empty managed data to avoid spurious
  6187. warning messages in the logs. (Timothy Potter)
  6188. * SOLR-6232: CoreContainer.remove() replaced with CoreContainer.unload(). A call to
  6189. unload will also close the core.
  6190. * SOLR-3893: DIH should not depend on mail.jar,activation.jar (Timothy Potter, Steve Rowe)
  6191. * SOLR-6252: A couple of small improvements to UnInvertedField class.
  6192. (Vamsee Yarlagadda, Gregory Chanan, Mark Miller)
  6193. * SOLR-3345: BaseDistributedSearchTestCase should always ignore QTime.
  6194. (Vamsee Yarlagadda, Benson Margulies via Mark Miller)
  6195. * SOLR-6270: Increased timeouts for MultiThreadedOCPTest. (shalin)
  6196. * SOLR-6274: UpdateShardHandler should log the params used to configure its
  6197. HttpClient. (Ramkumar Aiyengar via Mark Miller)
  6198. * SOLR-6194: Opened up "public" access to DataSource, DocBuilder, and EntityProcessorWrapper
  6199. in DIH. (Aaron LaBella via ehatcher)
  6200. * SOLR-6269: Renamed "rollback" to "error" in DIH internals, including renaming onRollback
  6201. to onError introduced in SOLR-6258. (ehatcher)
  6202. * SOLR-3622: When using DIH in SolrCloud-mode, rollback will no longer be called when
  6203. an error occurs. (ehatcher)
  6204. * SOLR-6231: Increased timeouts and hardened the RollingRestartTest. (Noble Paul, shalin)
  6205. * SOLR-6290: Harden and speed up CollectionsAPIAsyncDistributedZkTest. (Mark Miller, shalin)
  6206. * SOLR-6281: Made PostingsSolrHighlighter more configurable via subclass extension. (David Smiley)
  6207. * SOLR-6309: Increase timeouts for AsyncMigrateRouteKeyTest. (shalin)
  6208. * SOLR-2168: Added support for facet.missing in /browse field and pivot faceting. (ehatcher)
  6209. * SOLR-4702: Added support for multiple spellcheck collations to /browse UI. (ehatcher)
  6210. * SOLR-5664: Added support for multi-valued field highlighting in /browse UI. (ehatcher)
  6211. * SOLR-6313: Improve SolrCloud cloud-dev scripts. (Mark Miller, Vamsee Yarlagadda)
  6212. * SOLR-6360: Remove bogus "Content-Charset" header in HttpSolrServer. (Michael Ryan,
  6213. Uwe Schindler)
  6214. * SOLR-6362: Fix bug in TestSqlEntityProcessorDelta. (James Dyer)
  6215. * SOLR-6388: Force upgrade of Apache POI dependency in Solr Cell to version
  6216. 3.10.1 to fix CVE-2014-3529 and CVE-2014-3574. (Uwe Schindler)
  6217. * SOLR-6391: Improve message for CREATECOLLECTION failure due to missing
  6218. numShards (Anshum Gupta)
  6219. ================== 4.9.1 ==================
  6220. Versions of Major Components
  6221. ---------------------
  6222. Apache Tika 1.5 (with upgraded Apache POI 3.10.1)
  6223. Carrot2 3.9.0
  6224. Velocity 1.7 and Velocity Tools 2.0
  6225. Apache UIMA 2.3.1
  6226. Apache ZooKeeper 3.4.6
  6227. Detailed Change List
  6228. ----------------------
  6229. Other Changes
  6230. ---------------------
  6231. * SOLR-6503: Removed support for parsing netcdf files in Solr Cell because
  6232. of license issues. If you need support for this format, download the parser
  6233. JAR yourself (version 4.2) and add it to contrib/extraction/lib folder:
  6234. http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/
  6235. (Uwe Schindler)
  6236. * SOLR-6388: Force upgrade of Apache POI dependency in Solr Cell to version
  6237. 3.10.1 to fix CVE-2014-3529 and CVE-2014-3574. (Uwe Schindler)
  6238. ================== 4.9.0 ==================
  6239. Versions of Major Components
  6240. ---------------------
  6241. Apache Tika 1.5
  6242. Carrot2 3.9.0
  6243. Velocity 1.7 and Velocity Tools 2.0
  6244. Apache UIMA 2.3.1
  6245. Apache ZooKeeper 3.4.6
  6246. Upgrading from Solr 4.8
  6247. ----------------------
  6248. * Support for DiskDocValuesFormat (ie: fieldTypes configured with docValuesFormat="Disk")
  6249. has been removed due to poor performance. If you have an existing fieldTypes using
  6250. DiskDocValuesFormat please modify your schema.xml to remove the 'docValuesFormat'
  6251. attribute, and optimize your index to rewrite it into the default codec, prior to
  6252. upgrading to 4.9. See LUCENE-5761 for more details.
  6253. Detailed Change List
  6254. ----------------------
  6255. New Features
  6256. ----------------------
  6257. * SOLR-5999: Add checkIntegrityAtMerge support to solrconfig.xml.
  6258. (Varun Thacker via Ryan Ernst)
  6259. * SOLR-6043: Add ability to set http headers in solr response
  6260. (Tomás Fernández Löbbe via Ryan Ernst)
  6261. * SOLR-5973: Pluggable Ranking Collectors and Merge Strategies
  6262. (Joel Bernstein)
  6263. * SOLR-6108: Add support for 'addreplica' Collection API in SolrJ. (shalin)
  6264. * SOLR-5468: Allow a client application to request the minium achieved
  6265. replication factor for an update request (single or batch) by sending
  6266. an optional parameter "min_rf". (Timothy Potter)
  6267. * SOLR-6088: Add query re-ranking with the ReRankingQParserPlugin
  6268. (Joel Bernstein)
  6269. * SOLR-5285: Added a new [child ...] DocTransformer for optionally including
  6270. Block-Join descendant documents inline in the results of a search. This works
  6271. independent of whether the search itself is a block-join related query and is
  6272. supported by he xml, json, and javabin response formats.
  6273. (Varun Thacker via hossman)
  6274. * SOLR-6150: Add new AnalyticsQuery to support pluggable analytics
  6275. (Joel Bernstein)
  6276. * SOLR-6125: Allow SolrIndexWriter to close without waiting for merges
  6277. (Christine Poerschke via Alan Woodward)
  6278. * SOLR-6064: DebugComponent track output should be returned as a JSON
  6279. object rather than a list (Christine Poerschke, Alan Woodward)
  6280. Bug Fixes
  6281. ----------------------
  6282. * SOLR-5956: Use coreDescriptor.getInstanceDir() instead of getRawInstanceDir()
  6283. in the SnapShooter to avoid problems when solr.solr.home is a symbolic link.
  6284. (Timothy Potter)
  6285. * SOLR-6002: Fix a couple of ugly issues around SolrIndexWriter close and
  6286. rollback as well as how SolrIndexWriter manages its ref counted directory
  6287. instance. (Mark Miller, Gregory Chanan)
  6288. * SOLR-6015: Better way to handle managed synonyms when ignoreCase=true
  6289. (Timothy Potter)
  6290. * SOLR-6104: The 'addreplica' Collection API does not support 'async' parameter.
  6291. (shalin)
  6292. * SOLR-6101: Shard splitting doesn't work when legacyCloud=false is set in
  6293. cluster properties. (shalin)
  6294. * SOLR-6111: The 'deleteshard' collection API should be able to delete a shard
  6295. in 'construction' state. (shalin)
  6296. * SOLR-6118: 'expand.sort' didn't support function queries. (David Smiley)
  6297. * SOLR-6120: zkcli.sh should expand solr.war automatically instead of throwing
  6298. ClassNotFoundException. (sebastian badea, shalin)
  6299. * SOLR-6149: Specifying the query value without any index value does not work in
  6300. Analysis browser. (Aman Tandon, shalin)
  6301. * SOLR-6145: Fix Schema API optimistic concurrency by moving it out of
  6302. ManagedIndexSchema.add(Copy)Fields() into the consumers of those methods:
  6303. CopyFieldCollectionResource, FieldCollectionResource, FieldResource,
  6304. and AddSchemaFieldsUpdateProcessorFactory.
  6305. (Gregory Chanan, Alexey Serba, Steve Rowe)
  6306. * SOLR-6146: Incorrect configuration such as wrong chroot in zk server address can
  6307. cause CloudSolrServer to leak resources. (Jessica Cheng, Varun Thacker, shalin)
  6308. * SOLR-6158: Relative configSetBase directories were resolved relative to the
  6309. container CWD, rather than solr.home. (Simon Endele, Alan Woodward)
  6310. * SOLR-5426: Fixed a bug in ReverseWildCardFilter that could cause
  6311. InvalidTokenOffsetsException when highlighting. (Uwe Schindler, Arun Kumar, via hossman)
  6312. * SOLR-6175: DebugComponent throws NPE on shard exceptions when using shards.tolerant.
  6313. (Tomás Fernández Löbbe via shalin)
  6314. * SOLR-6129: DateFormatTransformer doesn't resolve dateTimeFormat. (Aaron LaBella via shalin)
  6315. * SOLR-6164: Copy Fields Schema additions are not distributed to other nodes.
  6316. (Gregory Chanan via Steve Rowe)
  6317. * SOLR-6160: An error was sometimes possible if a distributed search included grouping
  6318. with group.facet, faceting on facet.field and either facet.range or facet.query.
  6319. (David Smiley)
  6320. * SOLR-6182: Data stored by the RestManager could not be reloaded after core restart, causing
  6321. the core to fail to load; cast the data loaded from storage to the correct data type.
  6322. (Timothy Potter)
  6323. Other Changes
  6324. ---------------------
  6325. * SOLR-5980: AbstractFullDistribZkTestBase#compareResults always returns false
  6326. for shouldFail. (Mark Miller, Gregory Chanan)
  6327. * SOLR-5987: Add "collection" to UpdateParams. (Mark Miller, Greg Solovyev)
  6328. * SOLR-3862: Add remove" as update option for atomically removing a value
  6329. from a multivalued field (Jim Musli, Steven Bower, Alaknantha via Erick Erickson)
  6330. * SOLR-5974: Remove ShardDoc.score and use parent's ScoreDoc.score.
  6331. (Tomás Fernández Löbbe via Ryan Ernst)
  6332. * SOLR-6025: Replace mentions of CommonsHttpSolrServer with HttpSolrServer and
  6333. StreamingUpdateSolrServer with ConcurrentUpdateSolrServer. (Ahmet Arslan via shalin)
  6334. * SOLR-6013: Fix method visibility of Evaluator, refactor DateFormatEvaluator for
  6335. extensibility. (Aaron LaBella via shalin)
  6336. * SOLR-6022: Deprecate getAnalyzer() in IndexField and FieldType, and add getIndexAnalyzer().
  6337. (Ryan Ernst)
  6338. * SOLR-3671: Fix DIHWriter interface usage so users may implement writers that output
  6339. documents to a location external to Solr (ex. a NoSql db). (Roman Chyla via James Dyer)
  6340. * SOLR-5340: Add support for named snapshots (Varun Thacker via Noble Paul)
  6341. * SOLR-5495: Recovery strategy for leader partitioned from replica case. Hardening
  6342. recovery scenarios after the leader receives an error trying to forward an
  6343. update request to a replica. (Timothy Potter)
  6344. * SOLR-6116: Refactor DocRouter.getDocRouter to accept routerName as a String. (shalin)
  6345. * SOLR-6026: REQUESTSTATUS Collection API now also checks for submitted tasks which are
  6346. yet to begin execution.
  6347. * SOLR-6067: Refactor duplicate Collector code in SolrIndexSearcher
  6348. (Christine Poerschke via hossman)
  6349. * SOLR-5940: post.jar reports back detailed error in case of error responses.
  6350. (Sameer Maggon, shalin, Uwe Schindler)
  6351. * SOLR-6161: SolrDispatchFilter should throw java.lang.Error back even if wrapped in
  6352. another exception. (Miklos Christine via shalin)
  6353. * SOLR-6153: ReplicationHandler backup response format should contain backup name.
  6354. (Varun Thacker via shalin)
  6355. * SOLR-6169: Remove broken handleAlias action in CoreAdminHandler (Alan
  6356. Woodward)
  6357. * SOLR-6128: Removed deprecated analysis factories and fieldTypes from the example
  6358. schema.xml (hossman)
  6359. * SOLR-5868: HttpClient should be configured to use ALLOW_ALL_HOSTNAME hostname
  6360. verifier to simplify SSL setup. (Steve Davids via Mark Miller)
  6361. Optimizations
  6362. ----------------------
  6363. * SOLR-5681: Make the processing of Collection API calls multi-threaded.
  6364. (Anshum Gupta, shalin, Noble Paul)
  6365. Build
  6366. ---------------------
  6367. * SOLR-6006: Separate test and compile scope dependencies in the Solrj and
  6368. Solr contrib ivy.xml files, so that the derived Maven dependencies get
  6369. filled out properly in the corresponding POMs. (Steven Scott, Steve Rowe)
  6370. * SOLR-6130: Added com.uwyn:jhighlight dependency to, and removed asm:asm
  6371. dependency from the extraction contrib - dependencies weren't fully
  6372. upgraded with the Tika 1.4->1.5 upgrade (SOLR-5763). (Steve Rowe)
  6373. ================== 4.8.1 ==================
  6374. Bug Fixes
  6375. ----------------------
  6376. * SOLR-5904: ElectionContext can cancel an election when it should not if there
  6377. was an exception while trying to register as the leader.
  6378. (Mark Miller, Alan Woodward)
  6379. * SOLR-5993: ZkController can warn about shard leader conflict even after the conflict
  6380. is resolved. (Gregory Chanan via shalin)
  6381. * SOLR-6017: Fix SimpleQParser to use query analyzer
  6382. (Ryan Ernst)
  6383. * SOLR-6029: CollapsingQParserPlugin throws ArrayIndexOutOfBoundsException
  6384. if elevated doc has been deleted from a segment. (Greg Harris, Joel Bernstein)
  6385. * SOLR-6030: Use System.nanoTime() instead of currentTimeInMills() in LRUCache.warm.
  6386. (Tomás Fernández Löbbe via shalin)
  6387. * SOLR-6037: Fixed incorrect max/sum/stddev for Date fields in StatsComponent
  6388. (Brett Lucey, hossman)
  6389. * SOLR-6023: FieldAnalysisRequestHandler throws NPE if no parameters are supplied.
  6390. (shalin)
  6391. * SOLR-5090: SpellCheckComponent sometimes throws NPE if
  6392. "spellcheck.alternativeTermCount" is set to zero (James Dyer).
  6393. * SOLR-6039: fixed debug output when no results in response
  6394. (Tomás Fernández Löbbe, hossman)
  6395. * SOLR-6035: CloudSolrServer directUpdate routing should use getCoreUrl.
  6396. (Marvin Justice, Joel Bernstein)
  6397. ================== 4.8.0 ==================
  6398. Versions of Major Components
  6399. ---------------------
  6400. Apache Tika 1.5
  6401. Carrot2 3.9.0
  6402. Velocity 1.7 and Velocity Tools 2.0
  6403. Apache UIMA 2.3.1
  6404. Apache ZooKeeper 3.4.6
  6405. Upgrading from Solr 4.7
  6406. ----------------------
  6407. * In previous versions of Solr, Terms that exceeded Lucene's MAX_TERM_LENGTH were
  6408. silently ignored when indexing documents. Beginning with Solr 4.8, a document
  6409. an error will be generated when attempting to index a document with a term
  6410. that is too large. If you wish to continue to have large terms ignored,
  6411. use "solr.LengthFilterFactory" in all of your Analyzers. See LUCENE-5472 for
  6412. more details.
  6413. * Solr 4.8 requires Java 7 or greater, Java 8 is verified to be
  6414. compatible and may bring some performance improvements. When using
  6415. Oracle Java 7 or OpenJDK 7, be sure to not use the GA build 147 or
  6416. update versions u40, u45 and u51! We recommend using u55 or later.
  6417. An overview of known JVM bugs can be found on
  6418. http://wiki.apache.org/lucene-java/JavaBugs
  6419. * ZooKeeper is upgraded from 3.4.5 to 3.4.6.
  6420. * <fields> and <types> tags have been deprecated. There is no longer any reason to
  6421. keep them in the schema file, they may be safely removed. This allows intermixing of
  6422. <fieldType>, <field> and <copyField> definitions if desired. Currently, these tags
  6423. are supported so either style may be implemented. TBD is whether they'll be
  6424. deprecated formally for 5.0
  6425. Detailed Change List
  6426. ----------------------
  6427. System Requirements
  6428. ----------------------
  6429. * LUCENE-4747, LUCENE-5514: Move to Java 7 as minimum Java version.
  6430. (Robert Muir, Uwe Schindler)
  6431. New Features
  6432. ----------------------
  6433. * SOLR-5130: Implement addReplica Collections API (Noble Paul)
  6434. * SOLR-5183: JSON updates now support nested child documents using a
  6435. "_childDocument_" object key. (Varun Thacker, hossman)
  6436. * SOLR-5714: You can now use one pool of memory for for the HDFS block cache
  6437. that all collections share. (Mark Miller, Gregory Chanan)
  6438. * SOLR-5720: Add ExpandComponent to expand results collapsed by the
  6439. CollapsingQParserPlugin. (Joel Bernstein)
  6440. * SOLR-3177: Enable tagging and excluding filters in StatsComponent via the
  6441. localParams syntax. (Mathias H., Nikolai Luthman, Vitaliy Zhovtyuk, shalin)
  6442. * SOLR-1604: Wildcards, ORs etc inside Phrase Queries. (Ahmet Arslan via Erick Erickson)
  6443. * SOLR-5477: Async execution of OverseerCollectionProcessor(CollectionsAPI)
  6444. tasks. (Anshum Gupta)
  6445. * SOLR-5865: Provide a MiniSolrCloudCluster to enable easier testing.
  6446. (Greg Chanan via Mark Miller)
  6447. * SOLR-5860: Use leaderConflictResolveWait in WaitForState during recovery/startup,
  6448. improve logging and force refresh cluster state every 15 seconds.
  6449. (Timothy Potter via shalin)
  6450. * SOLR-5749: A new Overseer status collection API exposes overseer queue sizes, timing
  6451. statistics, success and error counts and last N failures per operation. (shalin)
  6452. * SOLR-5858: Add a hl.qparser parameter to allow you to define a queryparser
  6453. for hl.q highlight queries. If no queryparser is defined, Solr will use
  6454. the overall query's defType. (Alan Woodward)
  6455. * SOLR-4478: Allow cores to use configuration from a configsets directory
  6456. outside their instance directory. (Alan Woodward, Erick Erickson)
  6457. * SOLR-5466: A new List collections and cluster status API which clients can use
  6458. to read collection and shard information instead of reading data directly from ZooKeeper.
  6459. (Dave Seltzer, Varun Thacker, Vitaliy Zhovtyuk, Erick Erickson, shalin)
  6460. * SOLR-5795: New DocExpirationUpdateProcessorFactory supports computing an expiration
  6461. date for documents from the "TTL" expression, as well as automatically deleting expired
  6462. documents on a periodic basis. (hossman)
  6463. * SOLR-5829: Allow ExpandComponent to accept query and filter query parameters
  6464. (Joel Bernstein)
  6465. * SOLR-5653: Create a RestManager to provide REST API endpoints for
  6466. reconfigurable plugins. (Tim Potter, Steve Rowe)
  6467. * SOLR-5655: Create a stopword filter factory that is (re)configurable,
  6468. and capable of reporting its configuration, via REST API.
  6469. (Tim Potter via Steve Rowe)
  6470. * SOLR-5654: Create a synonym filter factory that is (re)configurable, and
  6471. capable of reporting its configuration, via REST API.
  6472. (Tim Potter via Steve Rowe)
  6473. * SOLR-5960: Add support for basic authentication in post.jar tool, e.g.:
  6474. java -Durl="http://username:password@hostname:8983/solr/update" -jar post.jar sample.xml
  6475. (Sameer Maggon via Uwe Schindler)
  6476. * SOLR-4864: RegexReplaceProcessorFactory should support pattern capture group
  6477. substitution in replacement string.
  6478. (Sunil Srinivasan, Jack Krupansky via Steve Rowe)
  6479. Bug Fixes
  6480. ----------------------
  6481. * SOLR-5858, SOLR-4812: edismax and dismax query parsers can be used for parsing
  6482. highlight queries. (Alan Woodward, Tien Nguyen Manh)
  6483. * SOLR-5893: On restarting overseer designate , move itself to front of the queue (Noble Paul)
  6484. * SOLR-5915: Attempts to specify the parserImpl for
  6485. solr.PreAnalyzedField fieldtype failed. (Mike McCandless)
  6486. * SOLR-5943: SolrCmdDistributor does not distribute the openSearcher parameter.
  6487. (ludovic Boutros via shalin)
  6488. * SOLR-5954: Slower DataImportHandler process caused by not reusing jdbc
  6489. connections. (Mark Miller, Paco Garcia, Raja Nagendra Kumar)
  6490. * SOLR-5897: Upgraded to jQuery 1.7.2, Solr was previously using 1.4.3, the file was
  6491. mistakenly named 1.7.2 (steffkes)
  6492. Optimizations
  6493. ----------------------
  6494. * SOLR-1880: Distributed Search skips GET_FIELDS stage if EXECUTE_QUERY
  6495. stage gets all fields. Requests with fl=id or fl=id,score are now single-pass.
  6496. (Shawn Smith, Vitaliy Zhovtyuk, shalin)
  6497. * SOLR-5783: Requests to open a new searcher will now reuse the current registered
  6498. searcher (w/o additional warming) if possible in situations where the underlying
  6499. index has not changed. This reduces overhead in situations such as deletes that
  6500. do not modify the index, and/or redundant commits. (hossman)
  6501. * SOLR-5884: When recovery is cancelled, any call to the leader to wait to see
  6502. the replica in the right state for recovery should be aborted. (Mark Miller)
  6503. Other Changes
  6504. ---------------------
  6505. * SOLR-5909: Upgrade Carrot2 clustering dependency to 3.9.0. (Dawid Weiss)
  6506. * SOLR-5764: Fix recently added tests to not use absolute paths to load test-files,
  6507. use SolrTestCaseJ4.getFile() and getResource() instead; fix morphlines/map-reduce
  6508. to not duplicate test resources and fix dependencies among them.
  6509. (Uwe Schindler)
  6510. * SOLR-5765: Update to SLF4J 1.7.6. (Mark Miller)
  6511. * SOLR-5609: If legacy mode is disabled don't let cores create slices/replicas/collections .
  6512. All operations should be performed through collection API (Noble Paul)
  6513. * SOLR-5613: Upgrade to commons-codec 1.9 for better BeiderMorseFilter performance.
  6514. (Thomas Champagne, Shawn Heisey via shalin)
  6515. * SOLR-5771: Add SolrTestCaseJ4.SuppressSSL annotation to disable SSL (instead of static boolean).
  6516. (Robert Muir)
  6517. * SOLR-5799: When registering as the leader, if an existing ephemeral
  6518. registration exists, wait a short time to see if it goes away.
  6519. (Mark Miller)
  6520. * LUCENE-5472: IndexWriter.addDocument will now throw an IllegalArgumentException
  6521. if a Term to be indexed exceeds IndexWriter.MAX_TERM_LENGTH. To recreate previous
  6522. behavior of silently ignoring these terms, use LengthFilter in your Analyzer.
  6523. (hossman, Mike McCandless, Varun Thacker)
  6524. * SOLR-5825: Separate http request creating and execution in SolrJ
  6525. (Steven Bower via Erick Erickson)
  6526. * SOLR-5837: Add hashCode/equals to SolrDocument, SolrInputDocument
  6527. and SolrInputField for testing purposes. (Varun Thacker, Noble Paul,
  6528. Mark Miller)
  6529. * SOLR-5853: The createCollection methods in the test framework now reports
  6530. result of operation in the returned CollectionAdminResponse (janhoy)
  6531. * SOLR-5838: Relative SolrHome Path Bug At AbstractFullDistribZkTestBase.
  6532. (Furkan KAMACI via shalin)
  6533. * SOLR-5763: Upgrade to Tika 1.5 (Vitaliy Zhovtyuk via Steve Rowe)
  6534. * SOLR-5881: Upgrade ZooKeeper to 3.4.6 (Shawn Heisey)
  6535. * SOLR-5883: Many tests do not shutdown SolrServer.
  6536. (Tomás Fernández Löbbe via Mark Miller)
  6537. * SOLR-5898: Update to latest Kite Morphlines release: Version 0.12.1.
  6538. (Mark Miller)
  6539. * SOLR-5228: Don't require <field> or <dynamicField> be inside of <fields> -- or
  6540. that <fieldType> be inside of <types>. (Erick Erickson)
  6541. * SOLR-5903: SolrCore implements Closeable, cut over to using try-with-resources
  6542. where possible. (Alan Woodward)
  6543. * SOLR-5914: Cleanup and fix Solr's test cleanup code.
  6544. (Mark Miller, Uwe Schindler)
  6545. * SOLR-5936: Deprecate non-Trie-based numeric & date field types. (Steve Rowe)
  6546. * SOLR-5934: LBHttpSolrServer exception handling improvement and small test
  6547. improvements. (Gregory Chanan via Mark Miller)
  6548. * SOLR-5773: CollapsingQParserPlugin should make elevated documents the
  6549. group head. (David Boychuck, Joel Bernstein)
  6550. * SOLR-5937: Modernize the DIH example config sets. (Steve Rowe)
  6551. ================== 4.7.2 ==================
  6552. Versions of Major Components
  6553. ---------------------
  6554. Apache Tika 1.4
  6555. Carrot2 3.8.0
  6556. Velocity 1.7 and Velocity Tools 2.0
  6557. Apache UIMA 2.3.1
  6558. Apache ZooKeeper 3.4.5
  6559. Detailed Change List
  6560. ----------------------
  6561. Bug Fixes
  6562. ----------------------
  6563. * SOLR-5951: Fixed SolrDispatchFilter to throw useful exception on startup if
  6564. SLF4j logging jars are missing. (Uwe Schindler, Hossman, Shawn Heisey)
  6565. * SOLR-5950: Maven config: make the org.slf4j:slf4j-api dependency transitive
  6566. (i.e., not optional) in all modules in which it's a dependency, including
  6567. solrj, except for the WAR, where it will remain optional.
  6568. (Uwe Schindler, Steve Rowe)
  6569. ================== 4.7.1 ==================
  6570. Versions of Major Components
  6571. ---------------------
  6572. Apache Tika 1.4
  6573. Carrot2 3.8.0
  6574. Velocity 1.7 and Velocity Tools 2.0
  6575. Apache UIMA 2.3.1
  6576. Apache ZooKeeper 3.4.5
  6577. Detailed Change List
  6578. ----------------------
  6579. Bug Fixes
  6580. ----------------------
  6581. * SOLR-5647: The lib paths in example-schemaless will now load correctly.
  6582. (Paul Westin via Shawn Heisey)
  6583. * SOLR-5770: All attempts to match a SolrCore with its state in clusterstate.json
  6584. should be done with the CoreNodeName. (Steve Davids via Mark Miller)
  6585. * SOLR-5875: QueryComponent.mergeIds() unmarshals all docs' sort field values once
  6586. per doc instead of once per shard.
  6587. (Alexey Serba, hoss, Martin de Vries via Steve Rowe)
  6588. * SOLR-5800: Admin UI - Analysis form doesn't render results correctly when a
  6589. CharFilter is used. (steffkes)
  6590. * SOLR-5870: Admin UI - Reload on Core Admin doesn't show errors (steffkes)
  6591. * SOLR-5867: OverseerCollectionProcessor isn't properly generating https urls in some
  6592. cases. (Steve Davids via shalin)
  6593. * SOLR-5866: UpdateShardHandler needs to use the system default scheme registry to
  6594. properly handle https via javax.net.ssl.* properties. (Steve Davids via shalin)
  6595. * SOLR-5782: The full MapReduceIndexer help text does not display when using --help.
  6596. (Mark Miller, Wolfgang Hoschek)
  6597. * SOLR-5824: Merge up Solr MapReduce contrib code to latest external changes.
  6598. Includes a few minor bug fixes.
  6599. (Mark Miller)
  6600. * SOLR-5818: distrib search with custom comparator does not quite work correctly
  6601. (Ryan Ernst)
  6602. * SOLR-5895: JavaBinLoader hides IOExceptions. (Mike Sokolov via shalin)
  6603. * SOLR-5861: Recovery should not set onlyIfLeaderActive=true for slice in 'recovery'
  6604. state. (shalin)
  6605. * SOLR-5423: CSV output doesn't include function field
  6606. (Arun Kumar, hossman, Steve Rowe)
  6607. * SOLR-5550: shards.info is not returned by a short circuited distributed query.
  6608. (Timothy Potter, shalin)
  6609. * SOLR-5777: Fix ordering of field values in JSON updates where
  6610. field name key is repeated (hossman)
  6611. * SOLR-5734: We should use System.nanoTime rather than System.currentTimeMillis
  6612. when calculating elapsed time. (Mark Miller, Ramkumar Aiyengar)
  6613. * SOLR-5760: ConcurrentUpdateSolrServer has a blockUntilFinished call when
  6614. streamDeletes is true that should be tucked into the if statement below it.
  6615. (Mark Miller, Gregory Chanan)
  6616. * SOLR-5761: HttpSolrServer has a few fields that can be set via setters but
  6617. are not volatile. (Mark Miller, Gregory Chanan)
  6618. * SOLR-5907: The hdfs write cache can cause a reader to see a corrupted state.
  6619. It now defaults to off, and if you were using solr.hdfs.blockcache.write.enabled
  6620. explicitly, you should set it to false.
  6621. (Mark Miller)
  6622. * SOLR-5811: The Overseer will retry work items until success, which is a serious
  6623. problem if you hit a bad work item. (Mark Miller)
  6624. * SOLR-5796: Increase how long we are willing to wait for a core to see the ZK
  6625. advertised leader in its local state. (Timothy Potter, Mark Miller)
  6626. * SOLR-5834: Overseer threads are only being interrupted and not closed.
  6627. (hossman, Mark Miller)
  6628. * SOLR-5839: ZookeeperInfoServlet does not trim path properly.
  6629. (Furkan KAMACI via Mark Miller)
  6630. * SOLR-5874: Unsafe cast in CloudSolrServer's RouteException. Change
  6631. RouteException to handle Throwable rather than Exception.
  6632. (Mark Miller, David Arthur)
  6633. * SOLR-5899: CloudSolrServer's RouteResponse and RouteException should be
  6634. publicly accessible. (Mark Miller, shalin)
  6635. * SOLR-5905: CollapsingQParserPlugin throws a NPE if required 'field' param is missing.
  6636. (Spyros Kapnissis via shalin)
  6637. * SOLR-5906: Collection create API ignores property.instanceDir parameter.
  6638. (Varun Thacker, shalin)
  6639. * SOLR-5920: Distributed sort on DateField, BoolField and BCD{Int,Long,Str}Field
  6640. returns string cast exception (Eric Bus, AJ Lemke, hossman, Steve Rowe)
  6641. Other Changes
  6642. ---------------------
  6643. * SOLR-5796: Make how long we are willing to wait for a core to see the ZK
  6644. advertised leader in its local state configurable.
  6645. (Timothy Potter via Mark Miller)
  6646. ================== 4.7.0 ==================
  6647. Versions of Major Components
  6648. ---------------------
  6649. Apache Tika 1.4
  6650. Carrot2 3.8.0
  6651. Velocity 1.7 and Velocity Tools 2.0
  6652. Apache UIMA 2.3.1
  6653. Apache ZooKeeper 3.4.5
  6654. Upgrading from Solr 4.6.0
  6655. ----------------------
  6656. * CloudSolrServer and LBHttpSolrServer no longer declare MalformedURLException
  6657. as thrown from their constructors.
  6658. * Due to a bug in previous versions the default value of the 'discountOverlap' property
  6659. of DefaultSimilarity was not being set appropriately if you were using the implicit
  6660. DefaultSimilarityFactory instead of explicitly configuring it. To preserve
  6661. consistent behavior for people who upgrade, the implicit behavior is now contingent
  6662. on the <luceneMatchVersion/> -- discountOverlap=false for 4.6 and below,
  6663. discountOverlap=true for 4.7 and above. See SOLR-5561 for more information.
  6664. Detailed Change List
  6665. ----------------------
  6666. New Features
  6667. ----------------------
  6668. * SOLR-5308: SOLR-5601: SOLR-5710: A new 'migrate' collection API to split all
  6669. documents with a route key into another collection (shalin)
  6670. * SOLR-5441: Expose number of transaction log files and their size via JMX.
  6671. (Rafał Kuć via shalin)
  6672. * SOLR-5320: Added support for tri-level compositeId routing.
  6673. (Anshum Gupta via shalin)
  6674. * SOLR-5458: Admin UI - Added a new "Files" conf directory browser/file viewer.
  6675. (steffkes)
  6676. * SOLR-5447, SOLR-5490: Add a QParserPlugin for Lucene's SimpleQueryParser.
  6677. (Jack Conradson via shalin)
  6678. * SOLR-5208: Support for the setting of core.properties key/values at create-time on
  6679. Collections API (Erick Erickson)
  6680. * SOLR-5428: SOLR-5690: New 'stats.calcdistinct' parameter in StatsComponent returns
  6681. set of distinct values and their count. This can also be specified per field
  6682. e.g. 'f.field.stats.calcdistinct'. (Elran Dvir via shalin)
  6683. * SOLR-5378, SOLR-5528: A new SuggestComponent that fully utilizes the Lucene suggester
  6684. module and adds pluggable dictionaries, payloads and better distributed support.
  6685. This is intended to eventually replace the Suggester support through the
  6686. SpellCheckComponent. (Areek Zillur, Varun Thacker via shalin)
  6687. * SOLR-5492: Return the replica that actually served the query in shards.info
  6688. response. (shalin)
  6689. * SOLR-5506: Support docValues in CollationField and ICUCollationField.
  6690. (Robert Muir)
  6691. * SOLR-5023: Add support for deleteInstanceDir to be passed from SolrJ for Core
  6692. Unload action. (Lyubov Romanchuk, shalin)
  6693. * SOLR-1871: The 'map' function query accepts a ValueSource as target and
  6694. default value. (Chris Harris, shalin)
  6695. * SOLR-5556: Allow class of CollectionsHandler and InfoHandler to be specified
  6696. in solr.xml. (Gregory Chanan, Alan Woodward)
  6697. * SOLR-5581: Give ZkCLI the ability to get files. (Gregory Chanan via Mark Miller)
  6698. * SOLR-5536: Add ValueSource collapse criteria to CollapsingQParsingPlugin (Joel Bernstein)
  6699. * SOLR-5541: Allow QueryElevationComponent to accept elevateIds and excludeIds
  6700. as http parameters (Joel Bernstein)
  6701. * SOLR-5463: new 'cursorMark' request param for deep paging of sorted result sets
  6702. (sarowe, hossman)
  6703. * SOLR-5529: Add support for queries to use multiple suggesters.
  6704. (Areek Zillur, Erick Erickson, via Robert Muir)
  6705. * SOLR-1301: Add a Solr contrib that allows for building Solr indexes via
  6706. Hadoop's MapReduce. (Matt Revelle, Alexander Kanarsky, Steve Rowe,
  6707. Mark Miller, Greg Bowyer, Jason Rutherglen, Kris Jirapinyo, Jason Venner ,
  6708. Andrzej Bialecki, Patrick Hunt, Wolfgang Hoschek, Roman Shaposhnik,
  6709. Eric Wong)
  6710. * SOLR-5631: Add support for Lucene's FreeTextSuggester.
  6711. (Areek Zillur via Robert Muir)
  6712. * SOLR-5695: Add support for Lucene's BlendedInfixSuggester.
  6713. (Areek Zillur)
  6714. * SOLR-5476: Overseer Role for nodes (Noble Paul)
  6715. * SOLR-5594: Allow FieldTypes to specify custom PrefixQuery behavior
  6716. (Anshum Gupta via hossman)
  6717. * LUCENE-5395: Upgrade to Spatial4j 0.4. Various new options are now exposed
  6718. automatically for an RPT field type. See Spatial4j CHANGES & javadocs.
  6719. https://github.com/spatial4j/spatial4j/blob/master/CHANGES.md (David Smiley)
  6720. * SOLR-5670: allow _version_ to use DocValues. (Per Steffensen via yonik)
  6721. * SOLR-5535: Set "partialResults" header for shards that error out if
  6722. shards.tolerant is specified. (Steve Davids via shalin)
  6723. * SOLR-5610: Support cluster-wide properties with an API called CLUSTERPROP (Noble Paul)
  6724. * SOLR-5623: Better diagnosis of RuntimeExceptions in analysis
  6725. (Benson Margulies)
  6726. * SOLR-5530: Added a NoOpResponseParser for SolrJ which puts the entire raw
  6727. response into an entry in the NamedList.
  6728. (Upayavira, Vitaliy Zhovtyuk via shalin)
  6729. * SOLR-5682: Make the admin InfoHandler more pluggable / derivable.
  6730. (Greg Chanan via Mark Miller)
  6731. * SOLR-5672: Add logParamsList parameter to support reduced logging.
  6732. (Christine Poerschke via Mark Miller)
  6733. * SOLR-3854: SSL support for SolrCloud. (Sami Siren, hossman, Steve Davids,
  6734. Alexey Serba, Mark Miller)
  6735. Bug Fixes
  6736. ----------------------
  6737. * SOLR-5438: DebugComponent throws NPE when used with grouping.
  6738. (Tomás Fernández Löbbe via shalin)
  6739. * SOLR-4612: Admin UI - Analysis Screen contains empty table-columns (steffkes)
  6740. * SOLR-5451: SyncStrategy closes its http connection manager before the
  6741. executor that uses it in its close method. (Mark Miller)
  6742. * SOLR-5460: SolrDispatchFilter#sendError can get a SolrCore that it does not
  6743. close. (Mark Miller)
  6744. * SOLR-5461: Request proxying should only set con.setDoOutput(true) if the
  6745. request is a post. (Mark Miller)
  6746. * SOLR-5481: SolrCmdDistributor should not let the http client do its own
  6747. retries. (Mark Miller)
  6748. * LUCENE-5347: Fixed Solr's Zookeeper Client to copy files to Zookeeper using
  6749. binary transfer. Previously data was read with default encoding and stored
  6750. in zookeeper as UTF-8. This bug was found after upgrading to forbidden-apis
  6751. 1.4. (Uwe Schindler)
  6752. * SOLR-4376: DataImportHandler uses wrong date format for last_index_time if
  6753. a delta-import is run first before any full-imports.
  6754. (Sebastien Lorber, Arcadius Ahouansou via shalin)
  6755. * SOLR-5494: CoreContainer#remove throws NPE rather than returning null when
  6756. a SolrCore does not exist in core discovery mode. (Mark Miller)
  6757. * SOLR-5354: Distributed sort is broken with CUSTOM FieldType.
  6758. (Steve Rowe, hossman, Robert Muir, Jessica Cheng)
  6759. * SOLR-5515: NPE when getting stats on date field with empty result on
  6760. SolrCloud. (Alexander Sagen, shalin)
  6761. * SOLR-5204: StatsComponent and SpellCheckComponent do not support the
  6762. shards.tolerant=true parameter. (Anca Kopetz, shalin)
  6763. * SOLR-5527: DIH logs spurious warning for special commands. (shalin)
  6764. * SOLR-5524: Exception when using Query Function inside Scale Function.
  6765. (Trey Grainger, yonik)
  6766. * SOLR-5562: ConcurrentUpdateSolrServer constructor ignores supplied httpclient.
  6767. (Kyle Halliday via Mark Miller)
  6768. * SOLR-5567: ZkController getHostAddress duplicates url prefix.
  6769. (Kyle Halliday, Alexey Serba, shalin)
  6770. * SOLR-4992: Solr eats OutOfMemoryError exceptions in many cases.
  6771. (Mark Miller, Daniel Collins)
  6772. * LUCENE-5399, SOLR-5354 sort wouldn't work correctly with
  6773. distributed searching for some field types such as legacy numeric
  6774. types (Rob Muir, Mike McCandless)
  6775. * SOLR-5643: ConcurrentUpdateSolrServer will sometimes not spawn a new Runner
  6776. thread even though there are updates in the queue. (Mark Miller)
  6777. * SOLR-5650: When a replica becomes a leader, only peer sync with other replicas
  6778. that last published an ACTIVE state. (Mark Miller)
  6779. * SOLR-5657: When a SolrCore starts on HDFS, it should gracefully handle HDFS
  6780. being in safe mode. (Mark Miller)
  6781. * SOLR-5663: example-DIH uses non-existing column for mapping (case-sensitive)
  6782. (steffkes)
  6783. * SOLR-5666: Using the hdfs write cache can result in appearance of corrupted
  6784. index. (Mark Miller)
  6785. * SOLR-5230: Call DelegatingCollector.finish() during grouping.
  6786. (Joel Bernstein, ehatcher)
  6787. * SOLR-5679: Shard splitting fails with ClassCastException on collections
  6788. upgraded from 4.5 and earlier versions. (Brett Hoerner, shalin)
  6789. * SOLR-5673: HTTPSolrServer doesn't set own property correctly in
  6790. setFollowRedirects. (Frank Wesemann via shalin)
  6791. * SOLR-5676: SolrCloud updates rejected if talking to secure ZooKeeper.
  6792. (Greg Chanan via Mark Miller)
  6793. * SOLR-5634: SolrJ GroupCommand.getNGroups returns null if group.format=simple
  6794. and group.ngroups=true. (Artem Lukanin via shalin)
  6795. * SOLR-5667: Performance problem when not using hdfs block cache. (Mark Miller)
  6796. * SOLR-5526: Fixed NPE that could arise when explicitly configuring some built
  6797. in QParserPlugins (Nikolay Khitrin, Vitaliy Zhovtyuk, hossman)
  6798. * SOLR-5598: LanguageIdentifierUpdateProcessor ignores all but the first value
  6799. of multiValued string fields. (Andreas Hubold, Vitaliy Zhovtyuk via shalin)
  6800. * SOLR-5593: Replicas should accept the last updates from a leader that has just
  6801. lost its connection to ZooKeeper. (Christine Poerschke via Mark Miller)
  6802. * SOLR-5678: SolrZkClient should throw a SolrException when connect times out
  6803. rather than a RuntimeException. (Karl Wright, Anshum Gupta, Mark Miller)
  6804. * SOLR-4072: Error message is incorrect for linkconfig in ZkCLI.
  6805. (Vamsee Yarlagadda, Adam Hahn, via Mark Miller)
  6806. * SOLR-5691: Sharing non thread safe WeakHashMap across thread can cause
  6807. problems. (Bojan Smid, Mark Miller)
  6808. * SOLR-5693: Running on HDFS does work correctly with NRT search. (Mark Miller)
  6809. * SOLR-5644: SplitShard does not handle not finding a shard leader well.
  6810. (Mark Miller, Anshum Gupta via shalin)
  6811. * SOLR-5704: coreRootDirectory was not respected when creating new cores
  6812. via CoreAdminHandler (Jesse Sipprell, Alan Woodward)
  6813. * SOLR-5709: Highlighting grouped duplicate docs from different shards with
  6814. group.limit > 1 throws ArrayIndexOutOfBoundsException. (Steve Rowe)
  6815. * SOLR-5561: Fix implicit DefaultSimilarityFactory initialization in IndexSchema
  6816. to properly specify discountOverlap option.
  6817. (Isaac Hebsh, Ahmet Arslan, Vitaliy Zhovtyuk, hossman)
  6818. * SOLR-5689: On reconnect, ZkController cancels election on first context rather
  6819. than latest. (Gregory Chanan, Mark Miller via shalin)
  6820. * SOLR-5649: Clean up some minor ConnectionManager issues.
  6821. (Mark Miller, Gregory Chanan)
  6822. * SOLR-5365: Fix bug with compressed files in ExtractingRequestHandler by
  6823. upgrading commons-compress to 1.7 (Jan Høydahl, hossman)
  6824. * SOLR-5675: cloud-scripts/zkcli.bat: quote option log4j
  6825. (Günther Ruck via steffkes
  6826. * SOLR-5721: ConnectionManager can become stuck in likeExpired.
  6827. (Gregory Chanan via Mark Miller)
  6828. * SOLR-5731: In ConnectionManager, we should catch and only log exceptions
  6829. from BeforeReconnect. (Mark Miller)
  6830. * SOLR-5718: Make LBHttpSolrServer zombie checks non-distrib and non-scoring.
  6831. (Christine Poerschke via Mark Miller)
  6832. * SOLR-5727: LBHttpSolrServer should only retry on Connection exceptions when
  6833. sending updates. Affects CloudSolrServer. (Mark Miller)
  6834. * SOLR-5739: Sub-shards created by shard splitting have their update log set
  6835. to buffering mode on restarts. (Günther Ruck, shalin)
  6836. * SOLR-5741: UpdateShardHandler was not correctly setting max total connections
  6837. on the HttpClient. (Shawn Heisey)
  6838. * SOLR-5620: ZKStateReader.aliases should be volatile to ensure all threads see
  6839. the latest aliases. (Ramkumar Aiyengar via Mark Miller)
  6840. * SOLR-5448: ShowFileRequestHandler treats everything as Directory, when in
  6841. Cloud-Mode. (Erick Erickson, steffkes)
  6842. Optimizations
  6843. ----------------------
  6844. * SOLR-5436: Eliminate the 1500ms wait in overseer loop as well as
  6845. polling the ZK distributed queue. (Noble Paul, Mark Miller)
  6846. * SOLR-5189: Solr 4.x Web UI Log Viewer does not display 'date' column from
  6847. logs (steffkes)
  6848. * SOLR-5512: Optimize DocValuesFacets. (Robert Muir)
  6849. * SOLR-2960: fix DIH XPathEntityProcessor to add the correct number of "null"
  6850. placeholders for multi-valued fields (Michael Watts via James Dyer)
  6851. * SOLR-5214: Reduce memory usage for shard splitting by merging segments one
  6852. at a time. (Christine Poerschke via shalin)
  6853. * SOLR-4227: Wrap XML RequestWriter's OutputStreamWriter in a BufferedWriter
  6854. to avoid frequent converter invocations. (Conrad Herrmann, shalin)
  6855. * SOLR-5624: Enable QueryResultCache for CollapsingQParserPlugin.
  6856. (David Boychuck, Joel Bernstein)
  6857. * LUCENE-5440: DocSet decoupled from OpenBitSet. DocSetBase moved to use
  6858. FixedBitSet instead of OpenBitSet. As a result BitDocSet now only works
  6859. with FixedBitSet. (Shai Erera)
  6860. Other Changes
  6861. ---------------------
  6862. * SOLR-5399: Add distributed request tracking information to DebugComponent
  6863. (Tomás Fernández Löbbe via Ryan Ernst)
  6864. * SOLR-5421: Remove double set of distrib.from param in processAdd method of
  6865. DistributedUpdateProcessor. (Anshum Gupta via shalin)
  6866. * SOLR-5404: The example config references deprecated classes.
  6867. (Uwe Schindler, Rafał Kuć via Mark Miller)
  6868. * SOLR-5487: Replication factor error message doesn't match constraint.
  6869. (Patrick Hunt via shalin)
  6870. * SOLR-5499: Log a warning if /get is not registered when using SolrCloud.
  6871. (Daniel Collins via shalin)
  6872. * SOLR-5517: Return HTTP error on POST requests with no Content-Type.
  6873. (Ryan Ernst, Uwe Schindler)
  6874. * SOLR-5502: Added a test for tri-level compositeId routing with documents
  6875. having a "/" in a document id. (Anshum Gupta via Mark Miller)
  6876. * SOLR-5533: Improve out of the box support for running Solr on hdfs with
  6877. SolrCloud. (Mark Miller)
  6878. * SOLR-5548: Give DistributedSearchTestCase / JettySolrRunner the ability to
  6879. specify extra filters. (Greg Chanan via Mark Miller)
  6880. * SOLR-5555: LBHttpSolrServer and CloudSolrServer constructors don't need to
  6881. declare MalformedURLExceptions (Sushil Bajracharya, Alan Woodward)
  6882. * SOLR-5565: Raise default ZooKeeper session timeout to 30 seconds from 15
  6883. seconds. (Mark Miller)
  6884. * SOLR-5574: CoreContainer shutdown publishes all nodes as down and waits to
  6885. see that and then again publishes all nodes as down. (Mark Miller)
  6886. * SOLR-5590: Upgrade HttpClient/HttpComponents to 4.3.x.
  6887. (Karl Wright via Shawn Heisey)
  6888. * SOLR-2794: change the default of hl.phraseLimit to 5000.
  6889. (Michael Della Bitta via Robert Muir, Koji, zarni - pull request #11)
  6890. * SOLR-5632: Improve response message for reloading a non-existent core.
  6891. (Anshum Gupta via Mark Miller)
  6892. * SOLR-5633: HttpShardHandlerFactory should make its http client available to subclasses.
  6893. (Ryan Ernst)
  6894. * SOLR-5684: Shutdown SolrServer clients created in BasicDistributedZk2Test and
  6895. BasicDistributedZkTest. (Tomás Fernández Löbbe via shalin)
  6896. * SOLR-5629: SolrIndexSearcher.name should include core name.
  6897. (Shikhar Bhushan via shalin)
  6898. * SOLR-5702: Log config name found for collection at info level.
  6899. (Christine Poerschke via Mark Miller)
  6900. * SOLR-5659: Add test for compositeId ending with an '!'.
  6901. (Markus Jelsma, Anshum Gupta via shalin)
  6902. * SOLR-5700: Improve error handling of remote queries (proxied requests).
  6903. (Greg Chanan, Steve Davids via Mark Miller)
  6904. * SOLR-5585: Raise Collections API timeout to 3 minutes from one minute.
  6905. (Mark Miller)
  6906. * SOLR-5257: Improved error/warn messages when Update XML contains unexpected XML nodes
  6907. (Vitaliy Zhovtyuk, hossman)
  6908. ================== 4.6.1 ==================
  6909. Versions of Major Components
  6910. ---------------------
  6911. Apache Tika 1.4
  6912. Carrot2 3.8.0
  6913. Velocity 1.7 and Velocity Tools 2.0
  6914. Apache UIMA 2.3.1
  6915. Apache ZooKeeper 3.4.5
  6916. Detailed Change List
  6917. ----------------------
  6918. Bug Fixes
  6919. ----------------------
  6920. * SOLR-5408: CollapsingQParserPlugin scores incorrectly when multiple sort criteria are used
  6921. (Brandon Chapman, Joel Bernstein)
  6922. * SOLR-5416: CollapsingQParserPlugin breaks Tag/Exclude Faceting (David Boychuck, Joel Bernstein)
  6923. * SOLR-5442: Python client cannot parse proxied response when served by Tomcat.
  6924. (Patrick Hunt, Gregory Chanan, Vamsee Yarlagadda, Romain Rigaux, Mark Miller)
  6925. * SOLR-5445: Proxied responses should propagate all headers rather than the
  6926. first one for each key. (Patrick Hunt, Mark Miller)
  6927. * SOLR-5479: SolrCmdDistributor retry logic stops if a leader for the request
  6928. cannot be found in 1 second. (Mark Miller)
  6929. * SOLR-5532: SolrJ Content-Type validation is too strict for some
  6930. webcontainers / proxies. (Jakob Furrer, hossman, Shawn Heisey, Uwe Schindler,
  6931. Mark Miller)
  6932. * SOLR-5547: Creating a collection alias using SolrJ's CollectionAdminRequest
  6933. sets the alias name and the collections to alias to the same value.
  6934. (Aaron Schram, Mark Miller)
  6935. * SOLR-5577: Likely ZooKeeper expiration should not slow down updates a given
  6936. amount, but instead cut off updates after a given time.
  6937. (Mark Miller, Christine Poerschke, Ramkumar Aiyengar)
  6938. * SOLR-5580: NPE when creating a core with both explicit shard and coreNodeName.
  6939. (YouPeng Yang, Mark Miller)
  6940. * SOLR-5552: Leader recovery process can select the wrong leader if all replicas
  6941. for a shard are down and trying to recover as well as lose updates that should
  6942. have been recovered. (Timothy Potter, Mark Miller)
  6943. * SOLR-5569 A replica should not try and recover from a leader until it has
  6944. published that it is ACTIVE. (Mark Miller)
  6945. * SOLR-5568 A SolrCore cannot decide to be the leader just because the cluster
  6946. state says no other SolrCore's are active. (Mark Miller)
  6947. * SOLR-5496: We should share an http connection manager across non search
  6948. HttpClients and ensure all http connection managers get shutdown.
  6949. (Mark Miller)
  6950. * SOLR-5583: ConcurrentUpdateSolrServer#blockUntilFinished may wait forever if
  6951. the executor service is shutdown. (Mark Miller)
  6952. * SOLR-5586: All ZkCmdExecutor's should be initialized with the zk client
  6953. timeout. (Mark Miller)
  6954. * SOLR-5587: ElectionContext implementations should use
  6955. ZkCmdExecutor#ensureExists to ensure their election paths are properly
  6956. created. (Mark Miller)
  6957. * SOLR-5540: HdfsLockFactory should explicitly create the lock parent directory if
  6958. necessary. (Mark Miller)
  6959. * SOLR-4709: The core reload after replication if config files have changed
  6960. can fail due to a race condition. (Mark Miller, Hossman)
  6961. * SOLR-5503: Retry 'forward to leader' requests less aggressively - rather
  6962. than on IOException and status 500, ConnectException. (Mark Miller)
  6963. * SOLR-5588: PeerSync doesn't count all connect failures as success.
  6964. (Mark Miller)
  6965. * SOLR-5564: hl.maxAlternateFieldLength should apply to original field when
  6966. fallback is attempted (janhoy)
  6967. * SOLR-5608: Don't allow a closed SolrCore to publish state to ZooKeeper.
  6968. (Mark Miller, Shawn Heisey)
  6969. * SOLR-5615: Deadlock while trying to recover after a ZK session expiration.
  6970. (Ramkumar Aiyengar, Mark Miller)
  6971. * SOLR-5543: Core swaps resulted in duplicate core entries in solr.xml when
  6972. using solr.xml persistence. (Bill Bell, Alan Woodward)
  6973. * SOLR-5618: Fix false cache hits in queryResultCache when hashCodes are equal
  6974. and duplicate filter queries exist in one of the requests (hossman)
  6975. * SOLR-4260: ConcurrentUpdateSolrServer#blockUntilFinished can return before
  6976. all previously added updates have finished. This could cause distributed
  6977. updates meant for replicas to be lost. (Markus Jelsma, Timothy Potter,
  6978. Joel Bernstein, Mark Miller)
  6979. * SOLR-5645: A SolrCore reload via the CoreContainer will try and register in
  6980. zk again with the new SolrCore. (Mark Miller)
  6981. * SOLR-5636: SolrRequestParsers does some xpath lookups on every request, which
  6982. can cause concurrency issues. (Mark Miller)
  6983. * SOLR-5658: commitWithin and overwrite are not being distributed to replicas
  6984. now that SolrCloud uses javabin to distribute updates.
  6985. (Mark Miller, Varun Thacker, Elodie Sannier, shalin)
  6986. Optimizations
  6987. ----------------------
  6988. * SOLR-5576: Improve concurrency when registering and waiting for all
  6989. SolrCore's to register a DOWN state. (Christine Poerschke via Mark Miller)
  6990. ================== 4.6.0 ==================
  6991. Versions of Major Components
  6992. ---------------------
  6993. Apache Tika 1.4
  6994. Carrot2 3.8.0
  6995. Velocity 1.7 and Velocity Tools 2.0
  6996. Apache UIMA 2.3.1
  6997. Apache ZooKeeper 3.4.5
  6998. Upgrading from Solr 4.5.0
  6999. ----------------------
  7000. * If you are using methods from FieldMutatingUpdateProcessorFactory for getting
  7001. configuration information (oneOrMany or getBooleanArg), those methods have
  7002. been moved to NamedList and renamed to removeConfigArgs and removeBooleanArg,
  7003. respectively. The original methods are deprecated, to be removed in 5.0.
  7004. See SOLR-5264.
  7005. Detailed Change List
  7006. ----------------------
  7007. New Features
  7008. ----------------------
  7009. * SOLR-5167: Add support for AnalyzingInfixSuggester (AnalyzingInfixLookupFactory).
  7010. (Areek Zillur, Varun Thacker via Robert Muir)
  7011. * SOLR-5246: Shard splitting now supports collections configured with router.field.
  7012. (shalin)
  7013. * SOLR-5274: Allow JettySolrRunner SSL config to be specified via a constructor.
  7014. (Mark Miller)
  7015. * SOLR-5300: Shards can be split by specifying arbitrary number of hash ranges
  7016. within the shard's hash range. (shalin)
  7017. * SOLR-5226: Add Lucene index heap usage to the Solr admin UI.
  7018. (Areek Zillur via Robert Muir)
  7019. * SOLR-5324: Make sub shard replica recovery and shard state switch asynchronous.
  7020. (Yago Riveiro, shalin)
  7021. * SOLR-5338: Split shards by a route key using split.key parameter. (shalin)
  7022. * SOLR-5353: Enhance CoreAdmin api to split a route key's documents from an index
  7023. and leave behind all other documents. (shalin)
  7024. * SOLR-5027: CollapsingQParserPlugin for high performance field collapsing on high cardinality fields.
  7025. (Joel Bernstein)
  7026. * SOLR-5395: Added a RunAlways marker interface for UpdateRequestProcessorFactory
  7027. implementations indicating that they should not be removed in later stages
  7028. of distributed updates (usually signalled by the update.distrib parameter)
  7029. (yonik)
  7030. * SOLR-5310: Add a collection admin command to remove a replica (noble)
  7031. * SOLR-5311: Avoid registering replicas which are removed (noble)
  7032. * SOLR-5406: CloudSolrServer failed to propagate request parameters
  7033. along with delete updates. (yonik)
  7034. * SOLR-5374: Support user configured doc-centric versioning rules
  7035. via the optional DocBasedVersionConstraintsProcessorFactory
  7036. update processor (Hossman, yonik)
  7037. * SOLR-5392: Extend solrj apis to cover collection management.
  7038. (Roman Shaposhnik via Mark Miller)
  7039. * SOLR-5084: new field type EnumField. (Elran Dvir via Erick Erickson)
  7040. * SOLR-5464: Add option to ConcurrentSolrServer to stream pure delete
  7041. requests. (Mark Miller)
  7042. Bug Fixes
  7043. ----------------------
  7044. * SOLR-5216: Document updates to SolrCloud can cause a distributed deadlock.
  7045. (Mark Miller)
  7046. * SOLR-5367: Unmarshalling delete by id commands with JavaBin can lead to class cast
  7047. exception. (Mark Miller)
  7048. * SOLR-5359: ZooKeeper client is not closed when it fails to connect to an ensemble.
  7049. (Mark Miller, Klaus Herrmann)
  7050. * SOLR-5042: MoreLikeThisComponent was using the rows/count value in place of
  7051. flags, which caused a number of very strange issues, including NPEs and
  7052. ignoring requests for the results to include the score.
  7053. (Anshum Gupta, Mark Miller, Shawn Heisey)
  7054. * SOLR-5371: Solr should consistently call SolrServer#shutdown (Mark Miller)
  7055. * SOLR-5363: Solr doesn't start up properly with Log4J2 (Petar Tahchiev via Alan
  7056. Woodward)
  7057. * SOLR-5380: Using cloudSolrServer.setDefaultCollection(collectionId) does not
  7058. work as intended for an alias spanning more than 1 collection.
  7059. (Thomas Egense, Shawn Heisey, Mark Miller)
  7060. * SOLR-5418: Background merge after field removed from solr.xml causes error.
  7061. (Reported on user's list, Robert M's patch via Erick Erickson)
  7062. * SOLR-5318: Creating a core via the admin API doesn't respect transient property
  7063. (Olivier Soyez via Erick Erickson)
  7064. * SOLR-5388: Creating a new core via the HTTP API that results in a transient being
  7065. unloaded results in a " Too many close [count:-1]" error.
  7066. (Olivier Soyez via Erick Erickson)
  7067. * SOLR-5453: Raise recovery socket read timeouts. (Mark Miller)
  7068. * SOLR-5397: Replication can fail silently in some cases. (Mark Miller)
  7069. * SOLR-5465: SolrCmdDistributor retry logic has a concurrency race bug.
  7070. (Mark Miller)
  7071. * SOLR-5452: Do not attempt to proxy internal update requests. (Mark Miller)
  7072. Optimizations
  7073. ----------------------
  7074. * SOLR-5232: SolrCloud should distribute updates via streaming rather than buffering.
  7075. (Mark Miller)
  7076. * SOLR-5223: SolrCloud should use the JavaBin binary format for communication by default.
  7077. (Mark Miller)
  7078. * SOLR-5370: Requests to recover when an update fails should be done in
  7079. background threads. (Mark Miller)
  7080. * LUCENE-5300,LUCENE-5304: Specialized faceting for fields which are declared as
  7081. multi-valued in the schema but are actually single-valued. (Adrien Grand)
  7082. Security
  7083. ----------------------
  7084. * SOLR-4882: SolrResourceLoader was restricted to only allow access to resource
  7085. files below the instance dir. The reason for this is security related: Some
  7086. Solr components allow to pass in resource paths via REST parameters
  7087. (e.g. XSL stylesheets, velocity templates,...) and load them via resource
  7088. loader. For backwards compatibility, this security feature can be disabled
  7089. by a new system property: solr.allow.unsafe.resourceloading=true
  7090. (Uwe Schindler)
  7091. Other Changes
  7092. ----------------------
  7093. * SOLR-5237: Add indexHeapUsageBytes to LukeRequestHandler, indicating how much
  7094. heap memory is being used by the underlying Lucene index structures.
  7095. (Areek Zillur via Robert Muir)
  7096. * SOLR-5241: Fix SimplePostToolTest performance problem - implicit DNS lookups
  7097. (hossman)
  7098. * SOLR-5273: Update HttpComponents to 4.2.5 and 4.2.6. (Mark Miller)
  7099. * SOLR-5264: Move methods for getting config information from
  7100. FieldMutatingUpdateProcessorFactory to NamedList. (Shawn Heisey)
  7101. * SOLR-5319: Remove unused and incorrect router name from Collection ZK nodes.
  7102. (Jessica Cheng via shalin)
  7103. * SOLR-5321: Remove unnecessary code in Overseer.updateState method which tries to
  7104. use router name from message where none is ever sent. (shalin)
  7105. * SOLR-5401: SolrResourceLoader logs a warning if a deprecated (factory) class
  7106. is used in schema or config. (Uwe Schindler)
  7107. * SOLR-3397: Warn if master or slave replication is enabled in SolrCloud mode. (Erick
  7108. Erickson)
  7109. ================== 4.5.1 ==================
  7110. Versions of Major Components
  7111. ---------------------
  7112. Apache Tika 1.4
  7113. Carrot2 3.8.0
  7114. Velocity 1.7 and Velocity Tools 2.0
  7115. Apache UIMA 2.3.1
  7116. Apache ZooKeeper 3.4.5
  7117. Detailed Change List
  7118. ----------------------
  7119. Bug Fixes
  7120. ----------------------
  7121. * SOLR-4590: Collections API should return a nice error when not in SolrCloud mode.
  7122. (Anshum Gupta, Mark Miller)
  7123. * SOLR-5295: The CREATESHARD collection API creates maxShardsPerNode number of
  7124. replicas if replicationFactor is not specified. (Brett Hoerner, shalin)
  7125. * SOLR-5296: Creating a collection with implicit router adds shard ranges
  7126. to each shard. (shalin)
  7127. * SOLR-5263: Fix CloudSolrServer URL cache update race. (Jessica Cheng, Mark Miller)
  7128. * SOLR-5297: Admin UI - Threads Screen missing Icon (steffkes)
  7129. * SOLR-5301: DELETEALIAS command prints CREATEALIAS in logs (janhoy)
  7130. * SOLR-5255: Remove unnecessary call to fetch and watch live nodes in ZkStateReader
  7131. cluster watcher. (Jessica Cheng via shalin)
  7132. * SOLR-5305: Admin UI - Reloading System-Information on Dashboard does not work
  7133. anymore (steffkes)
  7134. * SOLR-5314: Shard split action should use soft commits instead of hard commits
  7135. to make sub shard data visible. (Kalle Aaltonen, shalin)
  7136. * SOLR-5327: SOLR-4915, "The root cause should be returned to the user when a SolrCore create
  7137. call fails", was reverted. (Mark Miller)
  7138. * SOLR-5317: SolrCore persistence bugs if defining SolrCores in solr.xml.
  7139. (Mark Miller, Yago Riveiro)
  7140. * SOLR-5306: Extra collection creation parameters like collection.configName are
  7141. not being respected. (Mark Miller, Liang Tianyu, Nathan Neulinger)
  7142. * SOLR-5325: ZooKeeper connection loss can cause the Overseer to stop processing
  7143. commands. (Christine Poerschke, Mark Miller, Jessica Cheng)
  7144. * SOLR-4327: HttpSolrServer can leak connections on errors. (Karl Wright, Mark Miller)
  7145. * SOLR-5349: CloudSolrServer - ZK timeout arguments passed to ZkStateReader are flipped.
  7146. (Ricardo Merizalde via shalin)
  7147. * SOLR-5330: facet.method=fcs on single values fields could sometimes result
  7148. in incorrect facet labels. (Michael Froh, yonik)
  7149. Other Changes
  7150. ----------------------
  7151. * SOLR-5323: Disable ClusteringComponent by default in collection1 example.
  7152. The solr.clustering.enabled system property needs to be set to 'true'
  7153. to enable the clustering contrib (reverts SOLR-4708). (Dawid Weiss)
  7154. ================== 4.5.0 ==================
  7155. Versions of Major Components
  7156. ---------------------
  7157. Apache Tika 1.4
  7158. Carrot2 3.8.0
  7159. Velocity 1.7 and Velocity Tools 2.0
  7160. Apache UIMA 2.3.1
  7161. Apache ZooKeeper 3.4.5
  7162. Upgrading from Solr 4.4.0
  7163. ----------------------
  7164. * XML configuration parsing is now more strict about situations where a single
  7165. setting is allowed but multiple values are found. In the past, one value
  7166. would be chosen arbitrarily and silently. Starting with 4.5, configuration
  7167. parsing will fail with an error in situations like this. If you see error
  7168. messages such as "solrconfig.xml contains more than one value for config path:
  7169. XXXXX" or "Found Z configuration sections when at most 1 is allowed matching
  7170. expression: XXXXX" check your solrconfig.xml file for multiple occurrences of
  7171. XXXXX and delete the ones that you do not wish to use. See SOLR-4953 &
  7172. SOLR-5108 for more details.
  7173. * In the past, schema.xml parsing would silently ignore "default" or "required"
  7174. options specified on <dynamicField/> declarations. Beginning with 4.5, attempting
  7175. to do configured these on a dynamic field will cause an init error. If you
  7176. encounter one of these errors when upgrading an existing schema.xml, you can
  7177. safely remove these attributes, regardless of their value, from your config and
  7178. Solr will continue to behave exactly as it did in previous versions. See
  7179. SOLR-5227 for more details.
  7180. * The UniqFieldsUpdateProcessorFactory has been improved to support all of the
  7181. FieldMutatingUpdateProcessorFactory selector options. The <lst named="fields">
  7182. init param option is now deprecated and should be replaced with the more standard
  7183. <arr name="fieldName">. See SOLR-4249 for more details.
  7184. * UpdateRequestExt has been removed as part of SOLR-4816. You should use UpdateRequest
  7185. instead.
  7186. * CloudSolrServer can now use multiple threads to add documents by default. This is a
  7187. small change in runtime semantics when using the bulk add method - you will still
  7188. end up with the same exception on a failure, but some documents beyond the one that
  7189. failed may have made it in. To get the old, single threaded behavior, set parallel updates
  7190. to false on the CloudSolrServer instance.
  7191. Detailed Change List
  7192. ----------------------
  7193. New Features
  7194. ----------------------
  7195. * SOLR-5219: Rewritten selection of the default search and document clustering
  7196. algorithms. (Dawid Weiss)
  7197. * SOLR-5202: Support easier overrides of Carrot2 clustering attributes via
  7198. XML data sets exported from the Workbench. (Dawid Weiss)
  7199. * SOLR-5126: Update Carrot2 clustering to version 3.8.0, update Morfologik
  7200. to version 1.7.1 (Dawid Weiss)
  7201. * SOLR-2345: Enhanced geodist() to work with an RPT field, provided that the
  7202. field is referenced via 'sfield' and the query point is constant.
  7203. (David Smiley)
  7204. * SOLR-5082: The encoding of URL-encoded query parameters can be changed with
  7205. the "ie" (input encoding) parameter, e.g. "select?q=m%FCller&ie=ISO-8859-1".
  7206. The default is UTF-8. To change the encoding of POSTed content, use the
  7207. "Content-Type" HTTP header. (Uwe Schindler, Shawn Heisey)
  7208. * SOLR-4221: Custom sharding (Noble Paul)
  7209. * SOLR-4808: Persist and use router,replicationFactor and maxShardsPerNode at Collection
  7210. and Shard level (Noble Paul, Shalin Mangar)
  7211. * SOLR-5006: CREATESHARD command for 'implicit' shards (Noble Paul)
  7212. * SOLR-5017: Allow sharding based on the value of a field (Noble Paul)
  7213. * SOLR-4222: create custom sharded collection via collections API (Noble Paul)
  7214. * SOLR-4718: Allow solr.xml to be stored in ZooKeeper. (Mark Miller, Erick Erickson)
  7215. * SOLR-5156: Enhance ZkCLI to allow uploading of arbitrary files to ZK. (Erick Erickson)
  7216. * SOLR-5165: Single-valued docValues fields no longer require a default value.
  7217. Additionally they work with sortMissingFirst, sortMissingLast, facet.missing,
  7218. exists() in function queries, etc. (Robert Muir)
  7219. * SOLR-5182: Add NoOpRegenerator, a regenerator for custom per-segment caches
  7220. where items are preserved across commits. (Robert Muir)
  7221. * SOLR-4249: UniqFieldsUpdateProcessorFactory now extends
  7222. FieldMutatingUpdateProcessorFactory and supports all of its selector options. Use
  7223. of the "fields" init param is now deprecated in favor of "fieldName" (hossman)
  7224. * SOLR-2548: Allow multiple threads to be specified for faceting. When threading, one
  7225. can specify facet.threads to parallelize loading the uninverted fields. In at least
  7226. one extreme case this reduced warmup time from 20 seconds to 3 seconds. (Janne Majaranta,
  7227. Gun Akkor via Erick Erickson, David Smiley)
  7228. * SOLR-4816: CloudSolrServer can now route updates locally and no longer relies on inter-node
  7229. update forwarding. (Joel Bernstein, Shikhar Bhushan, Stephen Riesenberg, Mark Miller)
  7230. * SOLR-3249: Allow CloudSolrServer and SolrCmdDistributor to use JavaBin. (Mark Miller)
  7231. Bug Fixes
  7232. ----------------------
  7233. * SOLR-3633: web UI reports an error if CoreAdminHandler says there are no
  7234. SolrCores (steffkes)
  7235. * SOLR-4489: SpellCheckComponent can throw StringIndexOutOfBoundsException
  7236. when generating collations involving multiple word-break corrections.
  7237. (James Dyer)
  7238. * SOLR-5087 - CoreAdminHandler.handleMergeAction generating NullPointerException
  7239. (Patrick Hunt via Erick Erickson)
  7240. * SOLR-5107: Fixed NPE when using numTerms=0 in LukeRequestHandler
  7241. (Ahmet Arslan, hossman)
  7242. * SOLR-4679, SOLR-4908, SOLR-5124: Text extracted from HTML or PDF files
  7243. using Solr Cell was missing ignorable whitespace, which is inserted by
  7244. TIKA for convenience to support plain text extraction without using the
  7245. HTML elements. This bug resulted in glued words. (hossman, Uwe Schindler)
  7246. * SOLR-5121: zkcli usage help for makepath doesn't match actual command.
  7247. (Daniel Collins via Mark Miller)
  7248. * SOLR-5119: Managed schema problems after adding fields via Schema Rest API.
  7249. (Nils Kübler, Steve Rowe)
  7250. * SOLR-5133: HdfsUpdateLog can fail to close a FileSystem instance if init
  7251. is called more than once. (Mark Miller)
  7252. * SOLR-5135: Harden Collection API deletion of /collections/$collection
  7253. ZooKeeper node. (Mark Miller)
  7254. * SOLR-4764: When using NRT, just init the first reader from IndexWriter.
  7255. (Robert Muir, Mark Miller)
  7256. * SOLR-5122: Fixed bug in spellcheck.collateMaxCollectDocs. Eliminates risk
  7257. of divide by zero, and makes estimated hit counts meaningful in non-optimized
  7258. indexes. (hossman)
  7259. * SOLR-3936: Fixed QueryElevationComponent sorting when used with Grouping
  7260. (Michael Garski via hossman)
  7261. * SOLR-5171: SOLR Admin gui works in IE9, breaks in IE10. (Joseph L Howard via
  7262. steffkes)
  7263. * SOLR-5174: Admin UI - Query View doesn't highlight (json) Result if it
  7264. contains HTML Tags (steffkes)
  7265. * SOLR-4817 Solr should not fall back to the back compat built in solr.xml in SolrCloud
  7266. mode (Erick Erickson)
  7267. * SOLR-5112: Show full message in Admin UI Logging View (Matthew Keeney via
  7268. steffkes)
  7269. * SOLR-5190: SolrEntityProcessor substitutes variables only once in child entities
  7270. (Harsh Chawla, shalin)
  7271. * SOLR-3852: Fixed ZookeeperInfoServlet so that the SolrCloud Admin UI pages will
  7272. work even if ZK contains nodes with data which are not utf8 text. (hossman)
  7273. * SOLR-5206: Fixed OpenExchangeRatesOrgProvider to use refreshInterval correctly
  7274. (Catalin, hossman)
  7275. * SOLR-5215: Fix possibility of deadlock in ZooKeeper ConnectionManager.
  7276. (Mark Miller, Ricardo Merizalde)
  7277. * SOLR-4909: Use DirectoryReader.openIfChanged in non-NRT mode.
  7278. (Michael Garski via Robert Muir)
  7279. * SOLR-5227: Correctly fail schema initialization if a dynamicField is configured to
  7280. be required, or have a default value. (hossman)
  7281. * SOLR-5231: Fixed a bug with the behavior of BoolField that caused documents w/o
  7282. a value for the field to act as if the value were true in functions if no other
  7283. documents in the same index segment had a value of true.
  7284. (Robert Muir, hossman, yonik)
  7285. * SOLR-5233: The "deleteshard" collections API doesn't wait for cluster state to update,
  7286. can fail if some nodes of the deleted shard were down and had incorrect logging.
  7287. (Christine Poerschke, shalin)
  7288. * SOLR-5150: HdfsIndexInput may not fully read requested bytes. (Mark Miller, Patrick Hunt)
  7289. * SOLR-5240: All solr cores will now be loaded in parallel (as opposed to a fixed number)
  7290. in zookeeper mode to avoid deadlocks due to replicas waiting for other replicas
  7291. to come up. (yonik)
  7292. * SOLR-5243: Killing a shard in one collection can result in leader election in a different
  7293. collection if they share the same coreNodeName. (yonik, Mark Miller)
  7294. * SOLR-5281: IndexSchema log message was printing '[null]' instead of
  7295. '[<core name>]' (Jun Ohtani via Steve Rowe)
  7296. * SOLR-5279: Implicit properties don't seem to exist on core RELOAD
  7297. (elyograg, hossman, Steve Rowe)
  7298. * SOLR-5291: Solrj does not propagate the root cause to the user for many errors.
  7299. (Mark Miller)
  7300. Optimizations
  7301. ----------------------
  7302. * SOLR-5044: Admin UI - Note on Core-Admin about directories while creating
  7303. core (steffkes)
  7304. * SOLR-5134: Have HdfsIndexOutput extend BufferedIndexOutput.
  7305. (Mark Miller, Uwe Schindler)
  7306. * SOLR-5057: QueryResultCache should not related with the order of fq's list (Feihong Huang via Erick Erickson)
  7307. * SOLR-4816: CloudSolrServer now uses multiple threads to send updates by default.
  7308. (Joel Bernstein via Mark Miller)
  7309. * SOLR-3530: Better error messages / Content-Type validation in SolrJ. (Mark Miller, hossman)
  7310. Other Changes
  7311. ----------------------
  7312. * SOLR-4708: Enable ClusteringComponent by default in collection1 example.
  7313. The solr.clustering.enabled system property is set to 'true' by default.
  7314. (ehatcher, Dawid Weiss)
  7315. * SOLR-4914, SOLR-5162: Factor out core list persistence and discovery into a
  7316. new CoresLocator interface. (Alan Woodward, Shawn Heisey)
  7317. * SOLR-5056: Improve type safety of ConfigSolr class. (Alan Woodward)
  7318. * SOLR-4951: Better randomization of MergePolicy in Solr tests (hossman)
  7319. * SOLR-4953, SOLR-5108: Make XML Configuration parsing fail if an xpath matches
  7320. multiple nodes when only a single value or plugin instance is expected.
  7321. (hossman)
  7322. * The routing parameter "shard.keys" is deprecated as part of SOLR-5017 .The new parameter name is '_route_' .
  7323. The old parameter should continue to work for another release (Noble Paul)
  7324. * SOLR-5173: Solr-core's Maven configuration includes test-only Hadoop
  7325. dependencies as indirect compile-time dependencies.
  7326. (Chris Collins, Steve Rowe)
  7327. ================== 4.4.0 ==================
  7328. Versions of Major Components
  7329. ---------------------
  7330. Apache Tika 1.4
  7331. Carrot2 3.6.2
  7332. Velocity 1.7 and Velocity Tools 2.0
  7333. Apache UIMA 2.3.1
  7334. Apache ZooKeeper 3.4.5
  7335. Upgrading from Solr 4.3.0
  7336. ----------------------
  7337. * TieredMergePolicy and the various subtypes of LogMergePolicy no longer have
  7338. an explicit "setUseCompoundFile" method. Instead the behavior of new
  7339. segments is determined by the IndexWriter configuration, and the MergePolicy
  7340. is only consulted to determine if merge segments should use the compound
  7341. file format (based on the value of "setNoCFSRatio"). If you have explicitly
  7342. configured one of these classes using <mergePolicy> and include an init arg
  7343. like this...
  7344. <bool name="useCompoundFile">true</bool>
  7345. ...this will now be treated as if you specified...
  7346. <useCompoundFile>true</useCompoundFile>
  7347. ...directly on the <indexConfig> (overriding any value already set using that
  7348. syntax) and a warning will be logged to updated your configuration. Users
  7349. with an explicitly declared <mergePolicy> are encouraged to review the
  7350. current javadocs for their MergePolicy subclass and review their configured
  7351. options carefully. See SOLR-4941, SOLR-4934 and LUCENE-5038 for more
  7352. information.
  7353. * SOLR-4778: The signature of LogWatcher.registerListener has changed, from
  7354. (ListenerConfig, CoreContainer) to (ListenerConfig). Users implementing their
  7355. own LogWatcher classes will need to change their code accordingly.
  7356. * LUCENE-5063: ByteField and ShortField have been deprecated and will be removed
  7357. in 5.0. If you are still using these field types, you should migrate your
  7358. fields to TrieIntField.
  7359. Detailed Change List
  7360. ----------------------
  7361. New Features
  7362. ----------------------
  7363. * SOLR-3251: Dynamically add fields to schema. (Steve Rowe, Robert Muir, yonik)
  7364. * SOLR-4761, SOLR-4976: Add option to plugin a merged segment warmer into solrconfig.xml.
  7365. Info about segments warmed in the background is available via infostream.
  7366. (Mark Miller, Ryan Ernst, Mike McCandless, Robert Muir)
  7367. * SOLR-3240: Add "spellcheck.collateMaxCollectDocs" option so that when testing
  7368. potential Collations against the index, SpellCheckComponent will only collect
  7369. n documents, thereby estimating the hit-count. This is a performance optimization
  7370. in cases where exact hit-counts are unnecessary. Also, when "collateExtendedResults"
  7371. is false, this optimization is always made (James Dyer).
  7372. * SOLR-4785: New MaxScoreQParserPlugin returning max() instead of sum() of terms (janhoy)
  7373. * SOLR-4234: Add support for binary files in ZooKeeper. (Eric Pugh via Mark Miller)
  7374. * SOLR-4048: Add findRecursive method to NamedList. (Shawn Heisey)
  7375. * SOLR-4228: SolrJ's SolrPing object has new methods for ping, enable, and
  7376. disable. (Shawn Heisey, hossman, Steve Rowe)
  7377. * SOLR-4893: Extend FieldMutatingUpdateProcessor.ConfigurableFieldNameSelector
  7378. to enable checking whether a field matches any schema field. To select field
  7379. names that don't match any fields or dynamic fields in the schema, add
  7380. <bool name="fieldNameMatchesSchemaField">false</bool> to an update
  7381. processor's configuration in solrconfig.xml. (Steve Rowe, hossman)
  7382. * SOLR-4921: Admin UI now supports adding documents to Solr (gsingers, steffkes)
  7383. * SOLR-4916: Add support to write and read Solr index files and transaction log
  7384. files to and from HDFS. (phunt, Mark Miller, Gregory Chanan)
  7385. * SOLR-4892: Add FieldMutatingUpdateProcessorFactory subclasses
  7386. Parse{Date,Integer,Long,Float,Double,Boolean}UpdateProcessorFactory. These
  7387. factories have a default selector that matches all fields that either don’t
  7388. match any schema field, or are in the schema with the corresponding
  7389. typeClass. If they see a value that is not a CharSequence, or can't parse
  7390. the value, they leave it as is. For multi-valued fields, these processors
  7391. will not convert any values unless all are first successfully parsed, or
  7392. already are instances of the target class. Ordering the processors, e.g.
  7393. [Boolean, Long, Double, Date] will allow e.g. values ["2", "5", "8.6"] to
  7394. be left alone by the Boolean and Long processors, but then converted by the
  7395. Double processor. (Steve Rowe, hossman)
  7396. * SOLR-4972: Add PUT command to ZkCli tool. (Roman Shaposhnik via Mark Miller)
  7397. * SOLR-4973: Adding getter method for defaultCollection on CloudSolrServer.
  7398. (Furkan KAMACI via Mark Miller)
  7399. * SOLR-4897: Add solr/example/example-schemaless/, an example config set
  7400. for schemaless mode. (Steve Rowe)
  7401. * SOLR-4655: Add option to have Overseer assign generic node names so that
  7402. new addresses can host shards without naming confusion. (Mark Miller, Anshum Gupta)
  7403. * SOLR-4977: Add option to send IndexWriter's infostream to the logging system.
  7404. (Ryan Ernst via Robert Muir)
  7405. * SOLR-4693: A "deleteshard" collections API that unloads all replicas of a given
  7406. shard and then removes it from the cluster state. It will remove only those shards
  7407. which are INACTIVE or have no range (created for custom sharding).
  7408. (Anshum Gupta, shalin)
  7409. * SOLR-5003: CSV Update Handler supports optionally adding the line number/row id to
  7410. a document (gsingers)
  7411. * SOLR-5010: Add support for creating copy fields to the Schema REST API (gsingers)
  7412. * SOLR-4991: Register QParserPlugins as SolrInfoMBeans (ehatcher)
  7413. * SOLR-4943: Add a new system wide info admin handler that exposes the system info
  7414. that could previously only be retrieved using a SolrCore. (Mark Miller)
  7415. * SOLR-3076: Block joins. Documents and their sub-documents must be indexed
  7416. as a block.
  7417. {!parent which=<allParents>}<someChildren> takes in a query that matches child
  7418. documents and results in matches on their parents.
  7419. {!child of=<allParents>}<someParents> takes in a query that matches some parent
  7420. documents and results in matches on their children.
  7421. (Mikhail Khludnev, Vadim Kirilchuk, Alan Woodward, Tom Burton-West, Mike McCandless,
  7422. hossman, yonik)
  7423. Bug Fixes
  7424. ----------------------
  7425. * SOLR-4333: edismax parser to not double-escape colons if already escaped by
  7426. the client application (James Dyer, Robert J. van der Boon)
  7427. * SOLR-4776: Solrj doesn't return "between" count in range facets
  7428. (Philip K. Warren via shalin)
  7429. * SOLR-4616: HitRatio on caches is now exposed over JMX MBeans as a float.
  7430. (Greg Bowyer)
  7431. * SOLR-4803: Fixed core discovery mode (ie: new style solr.xml) to treat
  7432. 'collection1' as the default core name. (hossman)
  7433. * SOLR-4790: Throw an error if a core has the same name as another core, both old and
  7434. new style solr.xml
  7435. * SOLR-4842: Fix facet.field local params from affecting other facet.field's.
  7436. (ehatcher, hossman)
  7437. * SOLR-4814: If a SolrCore cannot be created it should remove any information it
  7438. published about itself from ZooKeeper. (Mark Miller)
  7439. * SOLR-4863: Removed non-existent attribute sourceId from dynamic JMX stats
  7440. to fix AttributeNotFoundException (suganuma, hossman via shalin)
  7441. * SOLR-4891: JsonLoader should preserve field value types from the JSON content stream.
  7442. (Steve Rowe)
  7443. * SOLR-4805: SolrCore#reload should not call preRegister and publish a DOWN state to
  7444. ZooKeeper. (Mark Miller, Jared Rodriguez)
  7445. * SOLR-4899: When reconnecting after ZooKeeper expiration, we need to be willing to wait
  7446. forever, not just for 30 seconds. (Mark Miller)
  7447. * SOLR-4920: JdbcDataSource incorrectly suppresses exceptions when retrieving a connection from
  7448. a JNDI context and falls back to trying to use DriverManager to obtain a connection. Additionally,
  7449. if a SQLException is thrown while initializing a connection, such as in setAutoCommit(), the
  7450. connection will not be closed. (Chris Eldredge via shalin)
  7451. * SOLR-4915: The root cause should be returned to the user when a SolrCore create call fails.
  7452. (Mark Miller)
  7453. * SOLR-4925 : Collection create throws NPE when 'numShards' param is missing (Noble Paul)
  7454. * SOLR-4910: persisting solr.xml is broken. More stringent testing of persistence fixed
  7455. up a number of issues and several bugs with persistence. Among them are
  7456. - don't persisting implicit properties
  7457. - should persist zkHost in the <solr> tag (user's list)
  7458. - reloading a core that has transient="true" returned an error. reload should load
  7459. a transient core if it's not yet loaded.
  7460. - No longer persisting loadOnStartup or transient core properties if they were not
  7461. specified in the original solr.xml
  7462. - Testing flushed out the fact that you couldn't swap a core marked transient=true
  7463. loadOnStartup=false because it hadn't been loaded yet.
  7464. - SOLR-4862, CREATE fails to persist schema, config, and dataDir
  7465. - SOLR-4363, not persisting coreLoadThreads in <solr> tag
  7466. - SOLR-3900, logWatcher properties not persisted
  7467. - SOLR-4850, cores defined as loadOnStartup=true, transient=false can't be searched
  7468. (Erick Erickson)
  7469. * SOLR-4923: Commits to non leaders as part of a request that also contain updates
  7470. can execute out of order. (hossman, Ricardo Merizalde, Mark Miller)
  7471. * SOLR-4932: persisting solr.xml saves some parameters it shouldn't when they weren't
  7472. defined in the original. Benign since the default values are saved, but still incorrect.
  7473. (Erick Erickson, thanks Shawn Heisey for helping test!)
  7474. * SOLR-4934, SOLR-4941: Fix handling of <mergePolicy> init arg
  7475. "useCompoundFile" needed after changes in LUCENE-5038 (hossman)
  7476. * SOLR-4456: Admin UI: Displays dashboard even if Solr is down (steffkes)
  7477. * SOLR-4949: UI Analysis page dropping characters from input box (steffkes)
  7478. * SOLR-4960: Fix race conditions in shutdown of CoreContainer
  7479. and getCore that could cause a request to attempt to use a core that
  7480. has shut down. (yonik)
  7481. * SOLR-4926: Fixed rare replication bug that normally only manifested when
  7482. using compound file format. (yonik, Mark Miller)
  7483. * SOLR-4974: Outgrowth of SOLR-4960 that includes transient cores and pending cores
  7484. (Erick Erickson)
  7485. * SOLR-3369: shards.tolerant=true is broken for group queries
  7486. (Russell Black, Martijn van Groningen, Jabouille jean Charles, Ryan McKinley via shalin)
  7487. * SOLR-4452: Hunspell stemmer should not merge duplicate dictionary entries (janhoy)
  7488. * SOLR-5000: ManagedIndexSchema doesn't persist uniqueKey tag after calling addFields
  7489. method. (Jun Ohtani, Steve Rowe)
  7490. * SOLR-4982: Creating a core while referencing system properties looks like it loses files
  7491. Actually, instanceDir, config, dataDir and schema are not dereferenced properly
  7492. when creating cores that reference sys vars (e.g. &dataDir=${dir}). In the dataDir
  7493. case in particular this leads to the index being put in a directory literally named
  7494. ${dir} but on restart the sysvar will be properly dereferenced.
  7495. * SOLR-4788: Multiple Entities DIH delta import: dataimporter.[entityName].last_index_time
  7496. is empty. (chakming wong, James Dyer via shalin)
  7497. * SOLR-4978: Time is stripped from datetime column when imported into Solr date field
  7498. if convertType=true. (Bill Au, shalin)
  7499. * SOLR-5019: spurious ConcurrentModificationException when spell check component
  7500. was in use with filters. (yonik)
  7501. * SOLR-5018: The Overseer should avoid publishing the state for collections that do not
  7502. exist under the /collections zk node. (Mark Miller)
  7503. * SOLR-5028,SOLR-5029: ShardHandlerFactory was not being created properly when
  7504. using new-style solr.xml, and was not being persisted properly when using
  7505. old-style. (Tomás Fernández Löbbe, Ryan Ernst, Alan Woodward)
  7506. * SOLR-4997: The splitshard api doesn't call commit on new sub shards before
  7507. switching shard states. Multiple bugs related to sub shard recovery and
  7508. replication are also fixed. (shalin)
  7509. * SOLR-5034: A facet.query that parses or analyzes down to a null Query would
  7510. throw a NPE. Fixed. (David Smiley)
  7511. * SOLR-5039: Admin/Schema Browser displays -1 for term counts for multiValued fields.
  7512. * SOLR-5037: The CSV loader now accepts field names that are not in the schema.
  7513. (gsingers, ehatcher, Steve Rowe)
  7514. * SOLR-4791: solr.xml sharedLib does not work in 4.3.0 (Ryan Ernst, Jan Høydahl via
  7515. Erick Erickson)
  7516. Optimizations
  7517. ----------------------
  7518. * SOLR-4923: Commit to all nodes in a collection in parallel rather than locally and
  7519. then to all other nodes. (hossman, Ricardo Merizalde, Mark Miller)
  7520. * SOLR-3838: Admin UI - Multiple filter queries are not supported in Query UI (steffkes)
  7521. * SOLR-4719 : Admin UI - Default to wt=json on Query-Screen (steffkes)
  7522. * SOLR-4611: Admin UI - Analysis-Urls with empty parameters create empty result table
  7523. (steffkes)
  7524. * SOLR-4955: Admin UI - Show address bar on top for Schema + Config (steffkes)
  7525. * SOLR-4412: New parameter langid.lcmap to map detected language code to be placed
  7526. in "language" field (janhoy)
  7527. * SOLR-4815: Admin-UI - DIH: Let "commit" be checked by default (steffkes)
  7528. * SOLR-5002: optimize numDocs(Query,DocSet) when filterCache is null (Robert Muir)
  7529. * SOLR-5012: optimize search with filter when filterCache is null (Robert Muir)
  7530. Other Changes
  7531. ----------------------
  7532. * SOLR-4737: Update Guava to 14.0.1 (Mark Miller)
  7533. * SOLR-2079: Add option to pass HttpServletRequest in the SolrQueryRequest context map.
  7534. (Tomás Fernández Löbbe via Robert Muir)
  7535. * SOLR-4738: Update Jetty to 8.1.10.v20130312 (Mark Miller, Robert Muir)
  7536. * SOLR-4749: Clean up and refactor CoreContainer code around solr.xml and SolrCore
  7537. management. (Mark Miller)
  7538. * SOLR-4547: Move logging of filenames on commit from INFO to DEBUG.
  7539. (Shawn Heisey, hossman)
  7540. * SOLR-4757: Change the example to use the new solr.xml format and core
  7541. discovery by directory structure. (Mark Miller)
  7542. * SOLR-4759: Velocity (/browse) template cosmetic cleanup.
  7543. (Mark Bennett, ehatcher)
  7544. * SOLR-4778: LogWatcher init code moved out of CoreContainer (Alan Woodward)
  7545. * SOLR-4784: Make class LuceneQParser public (janhoy)
  7546. * SOLR-4448: Allow the solr internal load balancer to be more easily pluggable.
  7547. (Philip Hoy via Robert Muir)
  7548. * SOLR-4224: Refactor JavaBinCodec input stream definition to enhance reuse.
  7549. (phunt via Mark Miller)
  7550. * SOLR-4931: SolrDeletionPolicy onInit and onCommit methods changed to override
  7551. exact signatures (with generics) from IndexDeletionPolicy (shalin)
  7552. * SOLR-4942: test improvements to randomize use of compound files (hossman)
  7553. * SOLR-4966: CSS, JS and other files in webapp without license (uschindler,
  7554. steffkes)
  7555. * SOLR-4986: Upgrade to Tika 1.4 (Markus Jelsma via janhoy)
  7556. * SOLR-4948, SOLR-5009: Tidied up CoreContainer construction logic.
  7557. (Alan Woodward, Uwe Schindler, Steve Rowe)
  7558. * LUCENE-5107: Properties files by Solr are now written in UTF-8 encoding,
  7559. Unicode is no longer escaped. Reading of legacy properties files with
  7560. \u escapes is still possible. (Uwe Schindler, Robert Muir)
  7561. ================== 4.3.1 ==================
  7562. Versions of Major Components
  7563. ---------------------
  7564. Apache Tika 1.3
  7565. Carrot2 3.6.2
  7566. Velocity 1.7 and Velocity Tools 2.0
  7567. Apache UIMA 2.3.1
  7568. Apache ZooKeeper 3.4.5
  7569. Detailed Change List
  7570. ----------------------
  7571. Bug Fixes
  7572. ----------------------
  7573. * SOLR-4795: Sub shard leader should not accept any updates from parent after
  7574. it goes active (shalin)
  7575. * SOLR-4798: shard splitting does not respect the router for the collection
  7576. when executing the index split. One effect of this is that documents
  7577. may be placed in the wrong shard when the default compositeId router
  7578. is used in conjunction with IDs containing "!". (yonik)
  7579. * SOLR-4797: Shard splitting creates sub shards which have the wrong hash
  7580. range in cluster state. This happens when numShards is not a power of two
  7581. and router is compositeId. (shalin)
  7582. * SOLR-4806: Shard splitting does not abort if WaitForState times out (shalin)
  7583. * SOLR-4807: The zkcli script now works with log4j. The zkcli.bat script
  7584. was broken on Windows in 4.3.0, now it works. (Shawn Heisey)
  7585. * SOLR-4813: Fix SynonymFilterFactory to allow init parameters for
  7586. tokenizer factory used when parsing synonyms file. (Shingo Sasaki, hossman)
  7587. * SOLR-4829: Fix transaction log leaks (a failure to clean up some old logs)
  7588. on a shard leader, or when unexpected exceptions are thrown during log
  7589. recovery. (Steven Bower, Mark Miller, yonik)
  7590. * SOLR-4751: Fix replication problem of files in sub directory of conf directory.
  7591. (Minoru Osuka via Koji)
  7592. * SOLR-4741: Deleting a collection should set DELETE_DATA_DIR to true.
  7593. (Mark Miller)
  7594. * SOLR-4752: There are some minor bugs in the Collections API parameter
  7595. validation. (Mark Miller)
  7596. * SOLR-4563: RSS DIH-example not working (janhoy)
  7597. * SOLR-4796: zkcli.sh should honor JAVA_HOME (Roman Shaposhnik via Mark Miller)
  7598. * SOLR-4734: Leader election fails with an NPE if there is no UpdateLog.
  7599. (Mark Miller, Alexander Eibner)
  7600. * SOLR-4868: Setting the log level for the log4j root category results in
  7601. adding a new category, the empty string. (Shawn Heisey)
  7602. * SOLR-4855: DistributedUpdateProcessor doesn't check for peer sync requests (shalin)
  7603. * SOLR-4867: Admin UI - setting loglevel on root throws RangeError (steffkes)
  7604. * SOLR-4870: RecentUpdates.update() does not increment numUpdates loop counter
  7605. (Alexey Kudinov via shalin)
  7606. * SOLR-4877, LUCENE-5023: Removed SolrIndexSearcher#getDocSetNC()'s special
  7607. case for handling TermQuery to prevent NullPointerException if reader does
  7608. not have fields. (Bao Yang Yang, Uwe Schindler)
  7609. * SOLR-4881: Fix DocumentAnalysisRequestHandler to correctly use
  7610. EmptyEntityResolver to prevent loading of external entities like
  7611. UpdateRequestHandler does. (Hossman, Uwe Schindler)
  7612. * SOLR-4858: SolrCore reloading was broken when the UpdateLog
  7613. was enabled. (Hossman, Anshum Gupta, Alexey Serba, Mark Miller, yonik)
  7614. * SOLR-4853: Fixed SolrJettyTestBase so it may be reused by end users
  7615. (hossman)
  7616. * SOLR-4744: Update failure on sub shard is not propagated to clients by parent
  7617. shard (Anshum Gupta, yonik, shalin)
  7618. Other Changes
  7619. ----------------------
  7620. * SOLR-4760: Include core name in logs when loading schema.
  7621. (Shawn Heisey)
  7622. ================== 4.3.0 ==================
  7623. Versions of Major Components
  7624. ---------------------
  7625. Apache Tika 1.3
  7626. Carrot2 3.6.2
  7627. Velocity 1.7 and Velocity Tools 2.0
  7628. Apache UIMA 2.3.1
  7629. Apache ZooKeeper 3.4.5
  7630. Upgrading from Solr 4.2.0
  7631. ----------------------
  7632. * In the schema REST API, the output path for copyFields and dynamicFields
  7633. has been changed from all lowercase "copyfields" and "dynamicfields" to
  7634. camelCase "copyFields" and "dynamicFields", respectively, to align with all
  7635. other schema REST API outputs, which use camelCase. The URL format remains
  7636. the same: all resource names are lowercase. See SOLR-4623 for details.
  7637. * Slf4j/logging jars are no longer included in the Solr webapp. All logging
  7638. jars are now in example/lib/ext. Changing logging impls is now as easy as
  7639. updating the jars in this folder with those necessary for the logging impl
  7640. you would like. If you are using another webapp container, these jars will
  7641. need to go in the corresponding location for that container.
  7642. In conjunction, the dist-excl-slf4j and dist-war-excl-slf4 build targets
  7643. have been removed since they are redundant. See the Slf4j documentation,
  7644. SOLR-3706, and SOLR-4651 for more details.
  7645. * The hardcoded SolrCloud defaults for 'hostContext="solr"' and
  7646. 'hostPort="8983"' have been deprecated and will be removed in Solr 5.0.
  7647. Existing solr.xml files that do not have these options explicitly specified
  7648. should be updated accordingly. See SOLR-4622 for more details.
  7649. Detailed Change List
  7650. ----------------------
  7651. New Features
  7652. ----------------------
  7653. * SOLR-4648 PreAnalyzedUpdateProcessorFactory allows using the functionality
  7654. of PreAnalyzedField with other field types. See javadoc for details and
  7655. examples. (Andrzej Bialecki)
  7656. * SOLR-4623: Provide REST API read access to all elements of the live schema.
  7657. Add a REST API request to return the entire live schema, in JSON, XML, and
  7658. schema.xml formats. Move REST API methods from package org.apache.solr.rest
  7659. to org.apache.solr.rest.schema, and rename base functionality REST API
  7660. classes to remove the current schema focus, to prepare for other non-schema
  7661. REST APIs. Change output path for copyFields and dynamicFields from
  7662. "copyfields" and "dynamicfields" (all lowercase) to "copyFields" and
  7663. "dynamicFields", respectively, to align with all other REST API outputs, which
  7664. use camelCase.
  7665. (Steve Rowe)
  7666. * SOLR-4658: In preparation for REST API requests that can modify the schema,
  7667. a "managed schema" is introduced.
  7668. Add '<schemaFactory class="ManagedSchemaFactory" mutable="true"/>' to solrconfig.xml
  7669. in order to use it, and to enable schema modifications via REST API requests.
  7670. (Steve Rowe, Robert Muir)
  7671. * SOLR-4656: Added two new highlight parameters, hl.maxMultiValuedToMatch and
  7672. hl.maxMultiValuedToExamine. maxMultiValuedToMatch stops looking for snippets after
  7673. finding the specified number of matches, no matter how far into the multivalued field
  7674. you've gone. maxMultiValuedToExamine stops looking for matches after the specified
  7675. number of multiValued entries have been examined. If both are specified, the limit
  7676. hit first stops the loop. Also this patch cuts down on the copying of the document
  7677. entries during highlighting. These optimizations are probably unnoticeable unless
  7678. there are a large number of entries in the multiValued field. Conspicuously, this will
  7679. prevent the "best" match from being found if it appears later in the MV list than the
  7680. cutoff specified by either of these params. (Erick Erickson)
  7681. * SOLR-4675: Improve PostingsSolrHighlighter to support per-field/query-time overrides
  7682. and add additional configuration parameters. See the javadocs for more details and
  7683. examples. (Robert Muir)
  7684. * SOLR-3755: A new collections api to add additional shards dynamically by splitting
  7685. existing shards. (yonik, Anshum Gupta, shalin)
  7686. * SOLR-4530: DIH: Provide configuration to use Tika's IdentityHtmlMapper
  7687. (Alexandre Rafalovitch via shalin)
  7688. * SOLR-4662: Discover SolrCores by directory structure rather than defining them
  7689. in solr.xml. Also, change the format of solr.xml to be closer to that of solrconfig.xml.
  7690. This version of Solr will ship the example in the old style, but you can manually
  7691. try the new style. Solr 4.4 will ship with the new style, and Solr 5.0 will remove
  7692. support for the old style. (Erick Erickson, Mark Miller)
  7693. Additional Work:
  7694. - SOLR-4347: Ensure that newly-created cores via Admin handler are persisted in solr.xml
  7695. (Erick Erickson)
  7696. - SOLR-1905: Cores created by the admin request handler should be persisted to solr.xml.
  7697. Also fixed a problem whereby properties like solr.solr.datadir would be persisted
  7698. to solr.xml. Also, cores that didn't happen to be loaded were not persisted.
  7699. (Erick Erickson)
  7700. * SOLR-4717/SOLR-1351: SimpleFacets now work with localParams allowing faceting on the
  7701. same field multiple ways (ryan, Uri Boness)
  7702. * SOLR-4671: CSVResponseWriter now supports pseudo fields. (ryan, nihed mbarek)
  7703. * SOLR-4358: HttpSolrServer sends the stream name and exposes 'useMultiPartPost'
  7704. (Karl Wright via ryan)
  7705. Bug Fixes
  7706. ----------------------
  7707. * SOLR-4543: setting shardHandlerFactory in solr.xml/solr.properties does not work.
  7708. (Ryan Ernst, Robert Muir via Erick Erickson)
  7709. * SOLR-4634: Fix scripting engine tests to work with Java 8's "Nashorn" Javascript
  7710. implementation. (Uwe Schindler)
  7711. * SOLR-4636: If opening a reader fails for some reason when opening a SolrIndexSearcher,
  7712. a Directory can be left unreleased. (Mark Miller)
  7713. * SOLR-4405: Admin UI - admin-extra files are not rendered into the core-menu (steffkes)
  7714. * SOLR-3956: Fixed group.facet=true to work with negative facet.limit
  7715. (Chris van der Merwe, hossman)
  7716. * SOLR-4650: copyField doesn't work with source globs that don't match any
  7717. explicit or dynamic fields. This regression was introduced in Solr 4.2.
  7718. (Daniel Collins, Steve Rowe)
  7719. * SOLR-4641: Schema now throws exception on illegal field parameters. (Robert Muir)
  7720. * SOLR-3758: Fixed SpellCheckComponent to work consistently with distributed grouping
  7721. (James Dyer)
  7722. * SOLR-4652: Fix broken behavior with shared libraries in resource loader for
  7723. solr.xml plugins. (Ryan Ernst, Robert Muir, Uwe Schindler)
  7724. * SOLR-4664: ZkStateReader should update aliases on construction.
  7725. (Mark Miller, Elodie Sannier)
  7726. * SOLR-4682: CoreAdminRequest.mergeIndexes can not merge multiple cores or indexDirs.
  7727. (Jason.D.Cao via shalin)
  7728. * SOLR-4581: When faceting on numeric fields in Solr 4.2, negative values (constraints)
  7729. were sorted incorrectly. (Alexander Buhr, shalin, yonik)
  7730. * SOLR-4699: The System admin handler should not assume a file system based data directory
  7731. location. (Mark Miller)
  7732. * SOLR-4695: Fix core admin SPLIT action to be useful with non-cloud setups (shalin)
  7733. * SOLR-4680: Correct example spellcheck configuration's queryAnalyzerFieldType and
  7734. use "text" field instead of narrower "name" field (ehatcher, Mark Bennett)
  7735. * SOLR-4702: Fix example /browse "Did you mean?" suggestion feature. (ehatcher, Mark Bennett)
  7736. * SOLR-4710: You cannot delete a collection fully from ZooKeeper unless all nodes are up and
  7737. functioning correctly. (Mark Miller)
  7738. * SOLR-4487: SolrExceptions thrown by HttpSolrServer will now contain the
  7739. proper HTTP status code returned by the remote server, even if that status
  7740. code is not something Solr itself returned -- eg: from the Servlet Container,
  7741. or an intermediate HTTP Proxy (hossman)
  7742. * SOLR-4661: Admin UI Replication details now correctly displays the current
  7743. replicable generation/version of the master. (hossman)
  7744. * SOLR-4716,SOLR-4584: SolrCloud request proxying does not work on Tomcat and
  7745. perhaps other non Jetty containers. (Po Rui, Yago Riveiro via Mark Miller)
  7746. * SOLR-4746: Distributed grouping used a NamedList instead of a SimpleOrderedMap
  7747. for the top level group commands, causing output formatting differences
  7748. compared to non-distributed grouping. (yonik)
  7749. * SOLR-4705: Fixed bug causing NPE when querying a single replica in SolrCloud
  7750. using the shards param (Raintung Li, hossman)
  7751. * SOLR-4729: LukeRequestHandler: Using a dynamic copyField source that is
  7752. not also a dynamic field triggers error message 'undefined field: "(glob)"'.
  7753. (Adam Hahn, hossman, Steve Rowe)
  7754. Optimizations
  7755. ----------------------
  7756. Other Changes
  7757. ----------------------
  7758. * SOLR-4653: Solr configuration should log inaccessible/ non-existent relative paths in lib
  7759. dir=... (Dawid Weiss)
  7760. * SOLR-4317: SolrTestCaseJ4: Can't avoid "collection1" convention (Tricia Jenkins, via Erick Erickson)
  7761. * SOLR-4571: SolrZkClient#setData should return Stat object. (Mark Miller)
  7762. * SOLR-4603: CachingDirectoryFactory should use an IdentityHashMap for
  7763. byDirectoryCache. (Mark Miller)
  7764. * SOLR-4544: Refactor HttpShardHandlerFactory so load-balancing logic can be customized.
  7765. (Ryan Ernst via Robert Muir)
  7766. * SOLR-4607: Use noggit 0.5 release jar rather than a forked copy. (Yonik Seeley, Robert Muir)
  7767. * SOLR-3706: Ship setup to log with log4j. (ryan, Mark Miller)
  7768. * SOLR-4651: Remove dist-excl-slf4j build target. (Shawn Heisey)
  7769. * SOLR-4622: The hardcoded SolrCloud defaults for 'hostContext="solr"' and
  7770. 'hostPort="8983"' have been deprecated and will be removed in Solr 5.0.
  7771. Existing solr.xml files that do not have these options explicitly specified
  7772. should be updated accordingly. (hossman)
  7773. * SOLR-4672: Requests attempting to use SolrCores which had init failures
  7774. (that would be reported by CoreAdmin STATUS requests) now result in 500
  7775. error responses with the details about the init failure, instead of 404
  7776. error responses. (hossman)
  7777. * SOLR-4730: Make the wiki link more prominent in the release documentation.
  7778. (Uri Laserson via Robert Muir)
  7779. ================== 4.2.1 ==================
  7780. Versions of Major Components
  7781. ---------------------
  7782. Apache Tika 1.3
  7783. Carrot2 3.6.2
  7784. Velocity 1.7 and Velocity Tools 2.0
  7785. Apache UIMA 2.3.1
  7786. Apache ZooKeeper 3.4.5
  7787. Detailed Change List
  7788. ----------------------
  7789. Bug Fixes
  7790. ----------------------
  7791. * SOLR-4567: copyField source glob matching explicit field(s) stopped working
  7792. in Solr 4.2. (Alexandre Rafalovitch, Steve Rowe)
  7793. * SOLR-4475: Fix various places that still assume File based paths even when
  7794. not using a file based DirectoryFactory. (Mark Miller)
  7795. * SOLR-4551: CachingDirectoryFactory needs to create CacheEntry's with the
  7796. fullpath not path. (Mark Miller)
  7797. * SOLR-4555: When forceNew is used with CachingDirectoryFactory#get, the old
  7798. CacheValue should give up its path as it will be used by a new Directory
  7799. instance. (Mark Miller)
  7800. * SOLR-4578: CoreAdminHandler#handleCreateAction gets a SolrCore and does not
  7801. close it in SolrCloud mode when a core with the same name already exists.
  7802. (Mark Miller)
  7803. * SOLR-4574: The Collections API will silently return success on an unknown
  7804. ACTION parameter. (Mark Miller)
  7805. * SOLR-4576: Collections API validation errors should cause an exception on
  7806. clients and otherwise act as validation errors with the Core Admin API.
  7807. (Mark Miller)
  7808. * SOLR-4577: The collections API should return responses (success or failure)
  7809. for each node it attempts to work with. (Mark Miller)
  7810. * SOLR-4568: The lastPublished state check before becoming a leader is not
  7811. working correctly. (Mark Miller)
  7812. * SOLR-4570: Even if an explicit shard id is used, ZkController#preRegister
  7813. should still wait to see the shard id in its current ClusterState.
  7814. (Mark Miller)
  7815. * SOLR-4585: The Collections API validates numShards with < 0 but should use
  7816. <= 0. (Mark Miller)
  7817. * SOLR-4592: DefaultSolrCoreState#doRecovery needs to check the CoreContainer
  7818. shutdown flag inside the recoveryLock sync block. (Mark Miller)
  7819. * SOLR-4595: CachingDirectoryFactory#close can throw a concurrent
  7820. modification exception. (Mark Miller)
  7821. * SOLR-4573: Accessing Admin UI files in SolrCloud mode logs warnings.
  7822. (Mark Miller, Phil John)
  7823. * SOLR-4594: StandardDirectoryFactory#remove accesses byDirectoryCache
  7824. without a lock. (Mark Miller)
  7825. * SOLR-4597: CachingDirectoryFactory#remove should not attempt to empty/remove
  7826. the index right away but flag for removal after close. (Mark Miller)
  7827. * SOLR-4598: The Core Admin unload command's option 'deleteDataDir', should use
  7828. the DirectoryFactory API to remove the data dir. (Mark Miller)
  7829. * SOLR-4599: CachingDirectoryFactory calls close(Directory) on forceNew if the
  7830. Directory has a refCnt of 0, but it should call closeDirectory(CacheValue).
  7831. (Mark Miller)
  7832. * SOLR-4602: ZkController#unregister should cancel its election participation
  7833. before asking the Overseer to delete the SolrCore information. (Mark Miller)
  7834. * SOLR-4601: A Collection that is only partially created and then deleted will
  7835. leave pre allocated shard information in ZooKeeper. (Mark Miller)
  7836. * SOLR-4604: UpdateLog#init is over called on SolrCore#reload. (Mark Miller)
  7837. * SOLR-4605: Rollback does not work correctly. (Mark S, Mark Miller)
  7838. * SOLR-4609: The Collections API should only send the reload command to ACTIVE
  7839. cores. (Mark Miller)
  7840. * SOLR-4297: Atomic update request containing null=true sets all subsequent
  7841. fields to null (Ben Pennell, Rob, shalin)
  7842. * SOLR-4371: Admin UI - Analysis Screen shows empty result (steffkes)
  7843. * SOLR-4318: NPE encountered with querying with wildcards on a field that uses
  7844. the DefaultAnalyzer (i.e. no analysis chain defined). (Erick Erickson)
  7845. * SOLR-4361: DataImportHandler would throw UnsupportedOperationException if
  7846. handler-level parameters were specified containing periods in the name
  7847. (James Dyer)
  7848. * SOLR-4538: Date Math expressions were being truncated to 32 characters
  7849. when used in field:value queries in the lucene QParser. (hossman, yonik)
  7850. * SOLR-4617: SolrCore#reload needs to pass the deletion policy to the next
  7851. SolrCore through its constructor rather than setting a field after.
  7852. (Mark Miller)
  7853. * SOLR-4589: Fixed CPU spikes and poor performance in lazy field loading
  7854. of multivalued fields. (hossman)
  7855. * SOLR-4608: Update Log replay and PeerSync replay should use the default
  7856. processor chain to update the index. (Ludovic Boutros, yonik)
  7857. * SOLR-4625: The solr (lucene syntax) query parser lost top-level boost
  7858. values and top-level phrase slops on queries produced by nested
  7859. sub-parsers. (yonik)
  7860. * SOLR-4624: CachingDirectoryFactory does not need to support forceNew any
  7861. longer and it appears to be causing a missing close directory bug. forceNew
  7862. is no longer respected and will be removed in 4.3. (Mark Miller)
  7863. * SOLR-3819: Grouped faceting (group.facet=true) did not respect filter
  7864. exclusions. (Petter Remen, yonik)
  7865. * SOLR-4637: Replication can sometimes wait until shutdown or core unload until
  7866. removing some tmp directories. (Mark Miller)
  7867. * SOLR-4638: DefaultSolrCoreState#getIndexWriter(null) is a way to avoid
  7868. creating the IndexWriter earlier than necessary, but it's not
  7869. implemented quite right. (Mark Miller)
  7870. * SOLR-4640: CachingDirectoryFactory can fail to close directories in some race
  7871. conditions. (Mark Miller)
  7872. * SOLR-4642: QueryResultKey is not calculating the correct hashCode for filters.
  7873. (Joel Bernstein via Mark Miller)
  7874. Optimizations
  7875. ----------------------
  7876. * SOLR-4569: waitForReplicasToComeUp should bail right away if it doesn't see the
  7877. expected slice in the clusterstate rather than waiting. (Mark Miller)
  7878. * SOLR-4311: Admin UI - Optimize Caching Behaviour (steffkes)
  7879. Other Changes
  7880. ----------------------
  7881. * SOLR-4537: Clean up schema information REST API. (Steve Rowe)
  7882. * SOLR-4596: DistributedQueue should ensure its full path exists in the constructor.
  7883. (Mark Miller)
  7884. ================== 4.2.0 ==================
  7885. Versions of Major Components
  7886. ---------------------
  7887. Apache Tika 1.3
  7888. Carrot2 3.6.2
  7889. Velocity 1.7 and Velocity Tools 2.0
  7890. Apache UIMA 2.3.1
  7891. Apache ZooKeeper 3.4.5
  7892. Upgrading from Solr 4.1.0
  7893. ----------------------
  7894. (No upgrade instructions yet)
  7895. Detailed Change List
  7896. ----------------------
  7897. New Features
  7898. ----------------------
  7899. * SOLR-4043: Add ability to get success/failure responses from Collections API.
  7900. (Raintung Li, Mark Miller)
  7901. * SOLR-2827: RegexpBoost Update Processor (janhoy)
  7902. * SOLR-4370: Allow configuring commitWithin to do hard commits.
  7903. (Mark Miller, Senthuran Sivananthan)
  7904. * SOLR-4451: SolrJ, and SolrCloud internals, now use SystemDefaultHttpClient
  7905. under the covers -- allowing many HTTP connection related properties to be
  7906. controlled via 'standard' java system properties. (hossman)
  7907. * SOLR-3855, SOLR-4490: Doc values support. (Adrien Grand, Robert Muir)
  7908. * SOLR-4417: Reopen the IndexWriter on SolrCore reload. (Mark Miller)
  7909. * SOLR-4477: Add support for queries (match-only) against docvalues fields.
  7910. (Robert Muir)
  7911. * SOLR-4488: Return slave replication details for a master if the master has
  7912. also acted like a slave. (Mark Miller)
  7913. * SOLR-4498: Add list command to ZkCLI that prints out the contents of
  7914. ZooKeeper. (Roman Shaposhnik via Mark Miller)
  7915. * SOLR-4481: SwitchQParserPlugin registered by default as 'switch' using
  7916. syntax: {!switch case=XXX case.foo=YYY case.bar=ZZZ default=QQQ}foo
  7917. (hossman)
  7918. * SOLR-4078: Allow custom naming of SolrCloud nodes so that a new host:port
  7919. combination can take over for a previous shard. (Mark Miller)
  7920. * SOLR-4210: Requests to a Collection that does not exist on the receiving node
  7921. should be proxied to a suitable node. (Mark Miller, Po Rui, yonik)
  7922. * SOLR-1365: New SweetSpotSimilarityFactory allows customizable TF/IDF based
  7923. Similarity when you know the optimal "Sweet Spot" of values for the field
  7924. length and TF scoring factors. (hossman)
  7925. * SOLR-4138: CurrencyField fields can now be used in a ValueSources to
  7926. get the "raw" value (using the default number of fractional digits) in
  7927. the default currency of the field type. There is also a new
  7928. currency(field,[CODE]) function for generating a ValueSource of the
  7929. "natural" value, converted to an optionally specified currency to
  7930. override the default for the field type.
  7931. (hossman)
  7932. * SOLR-4503: Add REST API methods, via Restlet integration, for reading schema
  7933. elements, at /schema/fields/, /schema/dynamicfields/, /schema/fieldtypes/,
  7934. and /schema/copyfields/. (Steve Rowe)
  7935. Bug Fixes
  7936. ----------------------
  7937. * SOLR-2850: Do not refine facets when minCount == 1
  7938. (Matt Smith, lundgren via Adrien Grand)
  7939. * SOLR-4309: /browse: Improve JQuery autosuggest behavior (janhoy)
  7940. * SOLR-4330: group.sort is ignored when using group.truncate and ex/tag
  7941. local params together (koji)
  7942. * SOLR-4321: Collections API will sometimes use a node more than once, even
  7943. when more unused nodes are available.
  7944. (Eric Falcao, Brett Hoerner, Mark Miller)
  7945. * SOLR-4345 : Solr Admin UI doesn't work in IE 10 (steffkes)
  7946. * SOLR-4349 : Admin UI - Query Interface does not work in IE
  7947. (steffkes)
  7948. * SOLR-4359: The RecentUpdates#update method should treat a problem reading the
  7949. next record the same as a problem parsing the record - log the exception and
  7950. break. (Mark Miller)
  7951. * SOLR-4225: Term info page under schema browser shows incorrect count of terms
  7952. (steffkes)
  7953. * SOLR-3926: Solr should support better way of finding active sorts (Eirik Lygre via
  7954. Erick Erickson)
  7955. * SOLR-4342: Fix DataImportHandler stats to be a proper Map (hossman)
  7956. * SOLR-3967: langid.enforceSchema option checks source field instead of target field (janhoy)
  7957. * SOLR-4380: Replicate after startup option would not replicate until the
  7958. IndexWriter was lazily opened. (Mark Miller, Gregg Donovan)
  7959. * SOLR-4400: Deadlock can occur in a rare race between committing and
  7960. closing a SolrIndexWriter. (Erick Erickson, Mark Miller)
  7961. * SOLR-3655: A restarted node can briefly appear live and active before it really
  7962. is in some cases. (Mark Miller)
  7963. * SOLR-4426: NRTCachingDirectoryFactory does not initialize maxCachedMB and maxMergeSizeMB
  7964. if <directoryFactory> is not present in solrconfig.xml (Jack Krupansky via shalin)
  7965. * SOLR-4463: Fix SolrCoreState reference counting. (Mark Miller)
  7966. * SOLR-4459: The Replication 'index move' rather than copy optimization doesn't
  7967. kick in when using NRTCachingDirectory or the rate limiting feature.
  7968. (Mark Miller)
  7969. * SOLR-4421,SOLR-4165: On CoreContainer shutdown, all SolrCores should publish their
  7970. state as DOWN. (Mark Miller, Markus Jelsma)
  7971. * SOLR-4467: Ephemeral directory implementations may not recover correctly
  7972. because the code to clear the tlog files on startup is off. (Mark Miller)
  7973. * SOLR-4413: Fix SolrCore#getIndexDir() to return the current index directory.
  7974. (Gregg Donovan, Mark Miller)
  7975. * SOLR-4469: A new IndexWriter must be opened on SolrCore reload when the index
  7976. directory has changed and the previous SolrCore's state should not be
  7977. propagated. (Mark Miller, Gregg Donovan)
  7978. * SOLR-4471: Replication occurs even when a slave is already up to date.
  7979. (Mark Miller, Andre Charton)
  7980. * SOLR-4484: ReplicationHandler#loadReplicationProperties still uses Files
  7981. rather than the Directory to try and read the replication properties files.
  7982. (Mark Miller)
  7983. * SOLR-4352: /browse pagination now supports and preserves sort context
  7984. (Eric Spiegelberg, Erik Hatcher)
  7985. * LUCENE-4796, SOLR-4373: Fix concurrency issue in NamedSPILoader and
  7986. AnalysisSPILoader when doing concurrent core loads in multicore
  7987. Solr configs. (Uwe Schindler, Hossman)
  7988. * SOLR-4504: Fixed CurrencyField range queries to correctly exclude
  7989. documents w/o values (hossman)
  7990. * SOLR-4480: A trailing + or - caused the edismax parser to throw
  7991. an exception. (Fiona Tay, Jan Høydahl, yonik)
  7992. * SOLR-4507: The Cloud tab does not show up in the Admin UI if you
  7993. set zkHost in solr.xml. (Alfonso Presa, Mark Miller)
  7994. * SOLR-4505: Possible deadlock around SolrCoreState update lock.
  7995. (Erick Erickson, Mark Miller)
  7996. * SOLR-4511: When a new index is replicated into place, we need
  7997. to update the most recent replicatable index point without
  7998. doing a commit. This is important for repeater use cases, as
  7999. well as when nodes may switch master/slave roles.
  8000. (Mark Miller, Raúl Grande)
  8001. * SOLR-4515: CurrencyField's OpenExchangeRatesOrgProvider now requires
  8002. a ratesFileLocation init param, since the previous global default
  8003. no longer works (hossman)
  8004. * SOLR-4518: Improved CurrencyField error messages when attempting to
  8005. use a Currency that is not supported by the current JVM. (hossman)
  8006. * SOLR-3798: Fix copyField implementation in IndexSchema to handle
  8007. dynamic field references that aren't string-equal to the name of
  8008. the referenced dynamic field. (Steve Rowe)
  8009. * SOLR-4497: Collection Aliasing. (Mark Miller)
  8010. Optimizations
  8011. ----------------------
  8012. * SOLR-4339: Admin UI - Display Field-Flags on Schema-Browser
  8013. (steffkes)
  8014. * SOLR-4340: Admin UI - Analysis's Button Spinner goes wild
  8015. (steffkes)
  8016. * SOLR-4341: Admin UI - Plugins/Stats Page contains loooong
  8017. Values which result in horizontal Scrollbar (steffkes)
  8018. * SOLR-3915: Color Legend for Cloud UI (steffkes)
  8019. * SOLR-4306: Utilize indexInfo=false when gathering core names in UI
  8020. (steffkes)
  8021. * SOLR-4284: Admin UI - make core list scrollable separate from the rest of
  8022. the UI (steffkes)
  8023. * SOLR-4364: Admin UI - Locale based number formatting (steffkes)
  8024. * SOLR-4521: Stop using the 'force' option for recovery replication. This
  8025. will keep some less common unnecessary replications from happening.
  8026. (Mark Miller, Simon Scofield)
  8027. * SOLR-4529: Improve Admin UI Dashboard legibility (Felix Buenemann via
  8028. steffkes)
  8029. * SOLR-4526: Admin UI depends on optional system info (Felix Buenemann via
  8030. steffkes)
  8031. Other Changes
  8032. ----------------------
  8033. * SOLR-4259: Carrot2 dependency should be declared on the mini version, not the core.
  8034. (Dawid Weiss).
  8035. * SOLR-4348: Make the lock type configurable by system property by default.
  8036. (Mark Miller)
  8037. * SOLR-4353: Renamed example jetty context file to reduce confusion (hossman)
  8038. * SOLR-4384: Make post.jar report timing information (Upayavira via janhoy)
  8039. * SOLR-4415: Add 'state' to shards (default to 'active') and read/write them to
  8040. ZooKeeper (Anshum Gupta via shalin)
  8041. * SOLR-4394: Tests and example configs demonstrating SSL with both server
  8042. and client certs (hossman)
  8043. * SOLR-3060: SurroundQParserPlugin highlighting tests
  8044. (Ahmet Arslan via hossman)
  8045. * SOLR-2470: Added more tests for VelocityResponseWriter
  8046. * SOLR-4471: Improve and clean up TestReplicationHandler.
  8047. (Amit Nithian via Mark Miller)
  8048. * SOLR-3843: Include lucene codecs jar and enable per-field postings and docvalues
  8049. support in the schema.xml (Robert Muir, Steve Rowe)
  8050. * SOLR-4511: Add new test for 'repeater' replication node. (Mark Miller)
  8051. * SOLR-4458: Sort directions (asc, desc) are now case insensitive
  8052. (Shawn Heisey via hossman)
  8053. * SOLR-2996: A bare * without a field specification is treated as *:*
  8054. by the lucene and edismax query parsers.
  8055. (hossman, Jan Høydahl, Alan Woodward, yonik)
  8056. * SOLR-4416: Upgrade to Tika 1.3. (Markus Jelsma via Mark Miller)
  8057. * SOLR-4200: Reduce INFO level logging from CachingDirectoryFactory
  8058. (Shawn Heisey via hossman)
  8059. ================== 4.1.0 ==================
  8060. Versions of Major Components
  8061. ---------------------
  8062. Apache Tika 1.2
  8063. Carrot2 3.6.2
  8064. Velocity 1.7 and Velocity Tools 2.0
  8065. Apache UIMA 2.3.1
  8066. Apache ZooKeeper 3.4.5
  8067. Upgrading from Solr 4.0.0
  8068. ----------------------
  8069. Custom java parsing plugins need to migrate from throwing the internal
  8070. ParseException to throwing SyntaxError.
  8071. BaseDistributedSearchTestCase now randomizes the servlet context it uses when
  8072. creating Jetty instances. Subclasses that assume a hard coded context of
  8073. "/solr" should either be fixed to use the "String context" variable, or should
  8074. take advantage of the new BaseDistributedSearchTestCase(String) constructor
  8075. to explicitly specify a fixed servlet context path. See SOLR-4136 for details.
  8076. Detailed Change List
  8077. ----------------------
  8078. New Features
  8079. ----------------------
  8080. * SOLR-2255: Enhanced pivot faceting to use local-params in the same way that
  8081. regular field value faceting can. This means support for excluding a filter
  8082. query, using a different output key, and specifying 'threads' to do
  8083. facet.method=fcs concurrently. PivotFacetHelper now extends SimpleFacet and
  8084. the getFacetImplementation() extension hook was removed. (dsmiley)
  8085. * SOLR-3897: A highlighter parameter "hl.preserveMulti" to return all of the
  8086. values of a multiValued field in their original order when highlighting.
  8087. (Joel Bernstein via yonik)
  8088. * SOLR-3929: Support configuring IndexWriter max thread count in solrconfig.
  8089. (phunt via Mark Miller)
  8090. * SOLR-3906: Add support for AnalyzingSuggester (LUCENE-3842), where the
  8091. underlying analyzed form used for suggestions is separate from the returned
  8092. text. (Robert Muir)
  8093. * SOLR-3985: ExternalFileField caches can be reloaded on firstSearcher/
  8094. newSearcher events using the ExternalFileFieldReloader (Alan Woodward)
  8095. * SOLR-3911: Make Directory and DirectoryFactory first class so that the majority
  8096. of Solr's features work with any custom implementations. (Mark Miller)
  8097. Additional Work:
  8098. - SOLR-4032: Files larger than an internal buffer size fail to replicate.
  8099. (Mark Miller, Markus Jelsma)
  8100. - SOLR-4033: Consistently use the solrconfig.xml lockType everywhere.
  8101. (Mark Miller, Markus Jelsma)
  8102. - SOLR-4144: Replication using too much RAM. (yonik, Markus Jelsma)
  8103. - SOLR-4187: NPE on Directory release (Mark Miller, Markus Jelsma)
  8104. * SOLR-4051: Add <propertyWriter /> element to DIH's data-config.xml file,
  8105. allowing the user to specify the location, filename and Locale for
  8106. the "data-config.properties" file. Alternatively, users can specify their
  8107. own property writer implementation for greater control. This new configuration
  8108. element is optional, and defaults mimic prior behavior. The one exception is
  8109. that the "root" locale is default. Previously it was the machine's default locale.
  8110. (James Dyer)
  8111. * SOLR-4084: Add FuzzyLookupFactory, which is like AnalyzingSuggester except that
  8112. it can tolerate typos in the input. (Areek Zillur via Robert Muir)
  8113. * SOLR-4088: New and improved auto host detection strategy for SolrCloud.
  8114. (Raintung Li via Mark Miller)
  8115. * SOLR-3970: SystemInfoHandler now exposes more details about the
  8116. JRE/VM/Java version in use. (hossman)
  8117. * SOLR-4101: Add support for storing term offsets in the index via a
  8118. 'storeOffsetsWithPositions' flag on field definitions in the schema.
  8119. (Tom Winch, Alan Woodward)
  8120. * SOLR-4093: Solr QParsers may now be directly invoked in the lucene
  8121. query syntax without the _query_ magic field hack.
  8122. Example: foo AND {!term f=myfield v=$qq}
  8123. (yonik)
  8124. * SOLR-4087: Add MAX_DOC_FREQ option to MoreLikeThis.
  8125. (Andrew Janowczyk via Mark Miller)
  8126. * SOLR-4114: Allow creating more than one shard per instance with the
  8127. Collection API. (Per Steffensen, Mark Miller)
  8128. * SOLR-3531: Allowing configuring maxMergeSizeMB and maxCachedMB when
  8129. using NRTCachingDirectoryFactory. (Andy Laird via Mark Miller)
  8130. * SOLR-4118: Fix replicationFactor to align with industry usage.
  8131. replicationFactor now means the total number of copies
  8132. of a document stored in the collection (or the total number of
  8133. physical indexes for a single logical slice of the collection).
  8134. For example if replicationFactor=3 then for a given shard there
  8135. will be a total of 3 replicas (one of which will normally be
  8136. designated as the leader.) (yonik)
  8137. * SOLR-4124: You should be able to set the update log directory with the
  8138. CoreAdmin API the same way as the data directory. (Mark Miller)
  8139. * SOLR-4028: When using ZK chroot, it would be nice if Solr would create the
  8140. initial path when it doesn't exist. (Tomás Fernández Löbbe via Mark Miller)
  8141. * SOLR-3948: Calculate/display deleted documents in admin interface.
  8142. (Shawn Heisey via Mark Miller)
  8143. * SOLR-4030: Allow rate limiting Directory IO based on the IO context.
  8144. (Mark Miller, Radim Kolar)
  8145. * SOLR-4166: LBHttpSolrServer ignores ResponseParser passed in constructor.
  8146. (Steve Molloy via Mark Miller)
  8147. * SOLR-4140: Allow access to the collections API through CloudSolrServer
  8148. without referencing an existing collection. (Per Steffensen via Mark Miller)
  8149. * SOLR-788: Distributed search support for MLT.
  8150. (Matthew Woytowitz, Mike Anderson, Jamie Johnson, Mark Miller)
  8151. * SOLR-4120: Collection API: Support for specifying a list of Solr addresses to
  8152. spread a new collection across. (Per Steffensen via Mark Miller)
  8153. * SOLR-4110: Configurable Content-Type headers for PHPResponseWriters and
  8154. PHPSerializedResponseWriter. (Dominik Siebel via Mark Miller)
  8155. * SOLR-1028: The ability to specify "transient" and "loadOnStartup" as a new properties of
  8156. <core> tags in solr.xml. Can specify "transientCacheSize" in the <cores> tag. Together
  8157. these allow cores to be loaded only when needed and only transientCacheSize transient
  8158. cores will be loaded at a time, the rest aged out on an LRU basis.
  8159. * SOLR-4246: When update.distrib is set to skip update processors before
  8160. the distributed update processor, always include the log update processor
  8161. so forwarded updates will still be logged. (yonik)
  8162. * SOLR-4230: The new Solr 4 spatial fields now work with the {!geofilt} and
  8163. {!bbox} query parsers. The score local-param works too. (David Smiley)
  8164. * SOLR-1972: Add extra statistics to RequestHandlers - 5 & 15-minute reqs/sec
  8165. rolling averages; median, 75th, 95th, 99th, 99.9th percentile request times
  8166. (Alan Woodward, Shawn Heisey, Adrien Grand, Uwe Schindler)
  8167. * SOLR-4271: Add support for PostingsHighlighter. (Robert Muir)
  8168. * SOLR-4255: The new Solr 4 spatial fields now have a 'filter' boolean local-param
  8169. that can be set to false to not filter. It's useful when there is already a spatial
  8170. filter query but you also need to sort or boost by distance. (David Smiley)
  8171. * SOLR-4265, SOLR-4283: Solr now parses request parameters (in URL or sent with POST
  8172. using content-type application/x-www-form-urlencoded) in its dispatcher code. It no
  8173. longer relies on special configuration settings in Tomcat or other web containers
  8174. to enable UTF-8 encoding, which is mandatory for correct Solr behaviour. Query
  8175. strings passed in via the URL need to be properly-%-escaped, UTF-8 encoded
  8176. bytes, otherwise Solr refuses to handle the request. The maximum length of
  8177. x-www-form-urlencoded POST parameters can now be configured through the
  8178. requestDispatcher/requestParsers/@formdataUploadLimitInKB setting in
  8179. solrconfig.xml (defaults to 2 MiB). Solr now works out of the box with
  8180. e.g. Tomcat, JBoss,... (Uwe Schindler, Dawid Weiss, Alex Rocher)
  8181. * SOLR-2201: DIH's "formatDate" function now supports a timezone as an optional
  8182. fourth parameter (James Dyer, Mark Waddle)
  8183. * SOLR-4302: New parameter 'indexInfo' (defaults to true) in CoreAdmin STATUS
  8184. command can be used to omit index specific information (Shahar Davidson via shalin)
  8185. * SOLR-2592: Collection specific document routing. The "compositeId"
  8186. router is the default for collections with hash based routing (i.e. when
  8187. numShards=N is specified on collection creation). Documents with ids sharing
  8188. the same domain (prefix) will be routed to the same shard, allowing for
  8189. efficient querying.
  8190. Example:
  8191. The following two documents will be indexed to the same shard
  8192. since they share the same domain "customerB!".
  8193. <code>
  8194. {"id" : "customerB!doc1" [...] }
  8195. {"id" : "customerB!doc2" [...] }
  8196. </code>
  8197. At query time, one can specify a "shard.keys" parameter that lists what
  8198. shards the query should cover.
  8199. http://.../query?q=my_query&shard.keys=customerB!
  8200. Collections that do not specify numShards at collection creation time
  8201. use custom sharding and default to the "implicit" router. Document updates
  8202. received by a shard will be indexed to that shard, unless a "_shard_" parameter
  8203. or document field names a different shard.
  8204. (Michael Garski, Dan Rosher, yonik)
  8205. Optimizations
  8206. ----------------------
  8207. * SOLR-3788: Admin Cores UI should redirect to newly created core details
  8208. (steffkes)
  8209. * SOLR-3895: XML and XSLT UpdateRequestHandler should not try to resolve
  8210. external entities. This improves speed of loading e.g. XSL-transformed
  8211. XHTML documents. (Martin Herfurt, uschindler, hossman)
  8212. * SOLR-3614: Fix XML parsing in XPathEntityProcessor to correctly expand
  8213. named entities, but ignore external entities. (uschindler, hossman)
  8214. * SOLR-3734: Improve Schema-Browser Handling for CopyField using
  8215. dynamicField's (steffkes)
  8216. * SOLR-3941: The "commitOnLeader" part of distributed recovery can use
  8217. openSearcher=false. (Tomás Fernández Löbbe via Mark Miller)
  8218. * SOLR-4063: Allow CoreContainer to load multiple SolrCores in parallel rather
  8219. than just serially. (Mark Miller)
  8220. * SOLR-4199: When doing zk retries due to connection loss, rather than just
  8221. retrying for 2 minutes, retry in proportion to the session timeout.
  8222. (Mark Miller)
  8223. * SOLR-4262: Replication Icon on Dashboard does not reflect Master-/Slave-
  8224. State (steffkes)
  8225. * SOLR-4264: Missing Error-Screen on UI's Cloud-Page (steffkes)
  8226. * SOLR-4261: Percentage Infos on Dashboard have a fixed width (steffkes)
  8227. * SOLR-3851: create a new core/delete an existing core should also update
  8228. the main/left list of cores on the admin UI (steffkes)
  8229. * SOLR-3840: XML query response display is unreadable in Solr Admin Query UI
  8230. (steffkes)
  8231. * SOLR-3982: Admin UI: Various Dataimport Improvements (steffkes)
  8232. * SOLR-4296: Admin UI: Improve Dataimport Auto-Refresh (steffkes)
  8233. * SOLR-3458: Allow multiple Items to stay open on Plugins-Page (steffkes)
  8234. Bug Fixes
  8235. ----------------------
  8236. * SOLR-4288: Improve logging for FileDataSource (basePath, relative
  8237. resources). (Dawid Weiss)
  8238. * SOLR-4007: Morfologik dictionaries not available in Solr field type
  8239. due to class loader lookup problems. (Lance Norskog, Dawid Weiss)
  8240. * SOLR-3560: Handle different types of Exception Messages for Logging UI
  8241. (steffkes)
  8242. * SOLR-3637: Commit Status at Core-Admin UI is always false (steffkes)
  8243. * SOLR-3917: Partial State on Schema-Browser UI is not defined for Dynamic
  8244. Fields & Types (steffkes)
  8245. * SOLR-3939: Consider a sync attempt from leader to replica that fails due
  8246. to 404 a success. (Mark Miller, Joel Bernstein)
  8247. * SOLR-3940: Rejoining the leader election incorrectly triggers the code path
  8248. for a fresh cluster start rather than fail over. (Mark Miller)
  8249. * SOLR-3961: Fixed error using LimitTokenCountFilterFactory
  8250. (Jack Krupansky, hossman)
  8251. * SOLR-3933: Distributed commits are not guaranteed to be ordered within a
  8252. request. (Mark Miller)
  8253. * SOLR-3939: An empty or just replicated index cannot become the leader of a
  8254. shard after a leader goes down. (Joel Bernstein, yonik, Mark Miller)
  8255. * SOLR-3971: A collection that is created with numShards=1 turns into a
  8256. numShards=2 collection after starting up a second core and not specifying
  8257. numShards. (Mark Miller)
  8258. * SOLR-3988: Fixed SolrTestCaseJ4.adoc(SolrInputDocument) to respect
  8259. field and document boosts (hossman)
  8260. * SOLR-3981: Fixed bug that resulted in document boosts being compounded in
  8261. <copyField/> destination fields. (hossman)
  8262. * SOLR-3920: Fix server list caching in CloudSolrServer when using more than one
  8263. collection list with the same instance. (Grzegorz Sobczyk, Mark Miller)
  8264. * SOLR-3938: prepareCommit command omits commitData causing a failure to trigger
  8265. replication to slaves. (yonik)
  8266. * SOLR-3992: QuerySenderListener doesn't populate document cache.
  8267. (Shotaro Kamio, yonik)
  8268. * SOLR-3995: Recovery may never finish on SolrCore shutdown if the last reference to
  8269. a SolrCore is closed by the recovery process. (Mark Miller)
  8270. * SOLR-3998: Atomic update on uniqueKey field itself causes duplicate document.
  8271. (Eric Spencer, yonik)
  8272. * SOLR-4001: In CachingDirectoryFactory#close, if there are still refs for a
  8273. Directory outstanding, we need to wait for them to be released before closing.
  8274. (Mark Miller)
  8275. * SOLR-4005: If CoreContainer fails to register a created core, it should close it.
  8276. (Mark Miller)
  8277. * SOLR-4009: OverseerCollectionProcessor is not resilient to many error conditions
  8278. and can stop running on errors. (Raintung Li, milesli, Mark Miller)
  8279. * SOLR-4019: Log stack traces for 503/Service Unavailable SolrException if not
  8280. thrown by PingRequestHandler. Do not log exceptions if a user tries to view a
  8281. hidden file using ShowFileRequestHandler. (Tomás Fernández Löbbe via James Dyer)
  8282. * SOLR-3589: Edismax parser does not honor mm parameter if analyzer splits a token.
  8283. (Tom Burton-West, Robert Muir)
  8284. * SOLR-4031: Upgrade to Jetty 8.1.7 to fix a bug where in very rare occasions
  8285. the content of two concurrent requests get mixed up. (Per Steffensen, yonik)
  8286. * SOLR-4060: ReplicationHandler can try and do a snappull and open a new IndexWriter
  8287. after shutdown has already occurred, leaving an IndexWriter that is not closed.
  8288. (Mark Miller)
  8289. * SOLR-4055: Fix a thread safety issue with the Collections API that could
  8290. cause actions to be targeted at the wrong SolrCores.
  8291. (Raintung Li, Per Steffensen via Mark Miller)
  8292. * SOLR-3993: If multiple SolrCore's for a shard coexist on a node, on cluster
  8293. restart, leader election would stall until timeout, waiting to see all of
  8294. the replicas come up. (Mark Miller, Alexey Kudinov)
  8295. * SOLR-2045: Databases that require a commit to be issued before closing the
  8296. connection on a non-read-only database leak connections. Also expanded the
  8297. SqlEntityProcessor test to sometimes use Derby as well as HSQLDB (Derby is
  8298. one db affected by this bug). (Fenlor Sebastia, James Dyer)
  8299. * SOLR-4064: When there is an unexpected exception while trying to run the new
  8300. leader process, the SolrCore will not correctly rejoin the election.
  8301. (Po Rui via Mark Miller)
  8302. * SOLR-3989: SolrZkClient constructor dropped exception cause when throwing
  8303. a new RuntimeException. (Colin Bartolome, yonik)
  8304. * SOLR-4036: field aliases in fl should not cause properties of target field
  8305. to be used. (Martin Koch, yonik)
  8306. * SOLR-4003: The SolrZKClient clean method should not try and clear zk paths
  8307. that start with /zookeeper, as this can fail and stop the removal of
  8308. further nodes. (Mark Miller)
  8309. * SOLR-4076: SolrQueryParser should run fuzzy terms through
  8310. MultiTermAwareComponents to ensure that (for example) a fuzzy query of
  8311. foobar~2 is equivalent to FooBar~2 on a field that includes lowercasing.
  8312. (yonik)
  8313. * SOLR-4081: QueryParsing.toString, used during debugQuery=true, did not
  8314. correctly handle ExtendedQueries such as WrappedQuery
  8315. (used when cache=false), spatial queries, and frange queries.
  8316. (Eirik Lygre, yonik)
  8317. * SOLR-3959: Ensure the internal comma separator of poly fields is escaped
  8318. for CSVResponseWriter. (Areek Zillur via Robert Muir)
  8319. * SOLR-4075: A logical shard that has had all of its SolrCores unloaded should
  8320. be removed from the cluster state. (Mark Miller, Gilles Comeau)
  8321. * SOLR-4034: Check if a collection already exists before trying to create a
  8322. new one. (Po Rui, Mark Miller)
  8323. * SOLR-4097: Race can cause NPE in logging line on first cluster state update.
  8324. (Mark Miller)
  8325. * SOLR-4099: Allow the collection api work queue to make forward progress even
  8326. when its watcher is not fired for some reason. (Raintung Li via Mark Miller)
  8327. * SOLR-3960: Fixed a bug where Distributed Grouping ignored PostFilters
  8328. (Nathan Visagan, hossman)
  8329. * SOLR-3842: DIH would not populate multivalued fields if the column name
  8330. derives from a resolved variable (James Dyer)
  8331. * SOLR-4117: Retrieving the size of the index may use the wrong index dir if
  8332. you are replicating.
  8333. (Mark Miller, Markus Jelsma)
  8334. * SOLR-2890: Fixed a bug that prevented omitNorms and omitTermFreqAndPositions
  8335. options from being respected in some <fieldType/> declarations (hossman)
  8336. * SOLR-4159: When we are starting a shard from rest, a potential leader should
  8337. not consider its last published state when deciding if it can be the new
  8338. leader. (Mark Miller)
  8339. * SOLR-4158: When a core is registering in ZooKeeper it may not wait long
  8340. enough to find the leader due to how long the potential leader waits to see
  8341. replicas. (Mark Miller, Alain Rogister)
  8342. * SOLR-4162: ZkCli usage examples are not correct because the zkhost parameter
  8343. is not present and it is mandatory for all commands.
  8344. (Tomás Fernández Löbbe via Mark Miller)
  8345. * SOLR-4071: Validate that name is pass to Collections API create, and behave the
  8346. same way as on startup when collection.configName is not explicitly passed.
  8347. (Po Rui, Mark Miller)
  8348. * SOLR-4127: Added explicit error message if users attempt Atomic document
  8349. updates with either updateLog or DistribUpdateProcessor. (hossman)
  8350. * SOLR-4136: Fix SolrCloud behavior when using "hostContext" containing "_"
  8351. or"/" characters. This fix also makes SolrCloud more accepting of
  8352. hostContext values with leading/trailing slashes. (hossman)
  8353. * SOLR-4168: Ensure we are using the absolute latest index dir when getting
  8354. list of files for replication. (Mark Miller)
  8355. * SOLR-4171: CachingDirectoryFactory should not return any directories after it
  8356. has been closed. (Mark Miller)
  8357. * SOLR-4102: Fix UI javascript error if canonical hostname can not be resolved
  8358. (steffkes via hossman)
  8359. * SOLR-4178: ReplicationHandler should abort any current pulls and wait for
  8360. its executor to stop during core close. (Mark Miller)
  8361. * SOLR-3918: Fixed the 'dist-war-excl-slf4j' ant target to exclude all
  8362. slf4j jars, so that the resulting war is usable as is provided the servlet
  8363. container includes the correct slf4j api and impl jars.
  8364. (Shawn Heisey, hossman)
  8365. * SOLR-4198: OverseerCollectionProcessor should implement ClosableThread.
  8366. (Mark Miller)
  8367. * SOLR-4213: Directories that are not shutdown until DirectoryFactory#close
  8368. do not have close listeners called on them. (Mark Miller)
  8369. * SOLR-4134: Standard (XML) request writer cannot "set" multiple values into
  8370. multivalued field with partial updates. (Luis Cappa Banda, Will Butler, shalin)
  8371. * SOLR-3972: Fix ShowFileRequestHandler to not log a warning in the
  8372. (expected) situation of a file not found. (hossman)
  8373. * SOLR-4133: Cannot "set" field to null with partial updates when using the
  8374. standard RequestWriter. (Will Butler, shalin)
  8375. * SOLR-4223: "maxFormContentSize" in jetty.xml is not picked up by jetty 8
  8376. so set it via solr webapp context file. (shalin)
  8377. * SOLR-4175:SearchComponent chain can't contain two components of the
  8378. same class and use debugQuery. (Tomás Fernández Löbbe via ehatcher)
  8379. * SOLR-4244: When coming back from session expiration we should not wait for
  8380. the leader to see us in the down state if we are the node that must become
  8381. the leader. (Mark Miller)
  8382. * SOLR-4245: When a core is registering with ZooKeeper, the timeout to find the
  8383. leader in the cluster state is 30 seconds rather than leaderVoteWait + extra
  8384. time. (Mark Miller)
  8385. * SOLR-4238: Fix jetty example requestLog config (jm via hossman)
  8386. * SOLR-4251: Fix SynonymFilterFactory when an optional tokenizerFactory is supplied.
  8387. (Chris Bleakley via rmuir)
  8388. * SOLR-4253: Misleading resource loading warning from Carrot2 clustering
  8389. component fixed (Stanisław Osiński)
  8390. * SOLR-4257: PeerSync updates and Log Replay updates should not wait for
  8391. a ZooKeeper connection in order to proceed. (yonik)
  8392. * SOLR-4045: SOLR admin page returns HTTP 404 on core names containing
  8393. a '.' (dot) (steffkes)
  8394. * SOLR-4176: analysis ui: javascript not properly handling URL decoding
  8395. of input (steffkes)
  8396. * SOLR-4079: Long core names break web gui appearance and functionality
  8397. (steffkes)
  8398. * SOLR-4263: Incorrect Link from Schema-Browser to Query From for Top-Terms
  8399. (steffkes)
  8400. * SOLR-3829: Admin UI Logging events broken if schema.xml defines a catch-all
  8401. dynamicField with type ignored (steffkes)
  8402. * SOLR-4275: Fix TrieTokenizer to no longer throw StringIndexOutOfBoundsException
  8403. in admin UI / AnalysisRequestHandler when you enter no number to tokenize.
  8404. (Uwe Schindler)
  8405. * SOLR-4279: Wrong exception message if _version_ field is multivalued (shalin)
  8406. * SOLR-4170: The 'backup' ReplicationHandler command can sometimes use a stale
  8407. index directory rather than the current one. (Mark Miller, Marcin Rzewucki)
  8408. * SOLR-3876: Solr Admin UI is completely dysfunctional on IE 9 (steffkes)
  8409. * SOLR-4112: Fixed DataImportHandler ZKAwarePropertiesWriter implementation so
  8410. import works fine with SolrCloud clusters (Deniz Durmus, James Dyer,
  8411. Erick Erickson, shalin)
  8412. * SOLR-4291: Harden the Overseer work queue thread loop. (Mark Miller)
  8413. * SOLR-3820: Solr Admin Query form is missing some edismax request parameters
  8414. (steffkes)
  8415. * SOLR-4217: post.jar no longer ignores -Dparams when -Durl is used.
  8416. (Alexandre Rafalovitch, ehatcher)
  8417. * SOLR-4303: On replication, if the generation of the master is lower than the
  8418. slave we need to force a full copy of the index. (Mark Miller, Gregg Donovan)
  8419. * SOLR-4266: HttpSolrServer does not release connection properly on exception
  8420. when no response parser is used. (Steve Molloy via Mark Miller)
  8421. * SOLR-2298: Updated JavaDoc for SolrDocument.addField and SolrInputDocument.addField
  8422. to have more information on name and value parameters. (Siva Natarajan)
  8423. Other Changes
  8424. ----------------------
  8425. * SOLR-4106: Javac/ ivy path warnings with morfologik fixed by
  8426. upgrading to Morfologik 1.5.5 (Robert Muir, Dawid Weiss)
  8427. * SOLR-3899: SolrCore should not log at warning level when the index directory
  8428. changes - it's an info event. (Tobias Bergman, Mark Miller)
  8429. * SOLR-3861: Refactor SolrCoreState so that it's managed by SolrCore.
  8430. (Mark Miller, hossman)
  8431. * SOLR-3966: Eliminate superfluous warning from LanguageIdentifierUpdateProcessor
  8432. (Markus Jelsma via hossman)
  8433. * SOLR-3932: SolrCmdDistributorTest either takes 3 seconds or 3 minutes.
  8434. (yonik, Mark Miller)
  8435. * SOLR-3856: New tests for SqlEntityProcessor/CachedSqlEntityProcessor
  8436. (James Dyer)
  8437. * SOLR-4067: ZkStateReader#getLeaderProps should not return props for a leader
  8438. that it does not think is live. (Mark Miller)
  8439. * SOLR-4086: DIH refactor of VariableResolver and Evaluator. VariableResolver
  8440. and each built-in Evaluator are separate concrete classes. DateFormatEvaluator
  8441. now defaults with the ROOT Locale. However, users may specify a different
  8442. Locale using an optional new third parameter. (James Dyer)
  8443. * SOLR-3602: Update ZooKeeper to 3.4.5 (Mark Miller)
  8444. * SOLR-4095: DIH NumberFormatTransformer & DateFormatTransformer default to the
  8445. ROOT Locale if none is specified. These previously used the machine's default.
  8446. (James Dyer)
  8447. * SOLR-4096: DIH FileDataSource & FieldReaderDataSource default to UTF-8 encoding
  8448. if none is specified. These previously used the machine's default.
  8449. (James Dyer)
  8450. * SOLR-1916: DIH to not use Lucene-forbidden Java APIs
  8451. (default encoding, locale, etc.) (James Dyer, Robert Muir)
  8452. * SOLR-4111: SpellCheckCollatorTest#testContextSensitiveCollate to test against
  8453. both DirectSolrSpellChecker & IndexBasedSpellChecker
  8454. (Tomás Fernández Löbbe via James Dyer)
  8455. * SOLR-2141: Better test coverage for Evaluators (James Dyer)
  8456. * SOLR-4119: Update Guava to 13.0.1 (Mark Miller)
  8457. * SOLR-4074: Raise default ramBufferSizeMB to 100 from 32.
  8458. (yonik, Mark Miller)
  8459. * SOLR-4062: The update log location in solrconfig.xml should default to
  8460. ${solr.ulog.dir} rather than ${solr.data.dir:} (Mark Miller)
  8461. * SOLR-4155: Upgrade Jetty to 8.1.8. (Robert Muir)
  8462. * SOLR-2986: Add MoreLikeThis to warning about features that require uniqueKey.
  8463. Also, change the warning to warn log level. (Shawn Heisey via Mark Miller)
  8464. * SOLR-4163: README improvements (Shawn Heisey via hossman)
  8465. * SOLR-4248: "ant eclipse" should declare .svn directories as derived.
  8466. (Shawn Heisey via Mark Miller)
  8467. * SOLR-3279: Upgrade Carrot2 to 3.6.2 (Stanisław Osiński)
  8468. * SOLR-4254: Harden the 'leader requests replica to recover' code path.
  8469. (Mark Miller, yonik)
  8470. * SOLR-4226: Extract fl parsing code out of ReturnFields constructor.
  8471. (Ryan Ernst via Robert Muir)
  8472. * SOLR-4208: ExtendedDismaxQParserPlugin has been refactored to make
  8473. subclassing easier. (Tomás Fernández Löbbe, hossman)
  8474. * SOLR-3735: Relocate the example mime-to-extension mapping, and
  8475. upgrade Velocity Engine to 1.7 (ehatcher)
  8476. * SOLR-4287: Removed "apache-" prefix from Solr distribution and artifact
  8477. filenames. (Ryan Ernst, Robert Muir, Steve Rowe)
  8478. * SOLR-4016: Deduplication does not work with atomic/partial updates so
  8479. disallow atomic update requests which change signature generating fields.
  8480. (Joel Nothman, yonik, shalin)
  8481. * SOLR-4308: Remove the problematic and now unnecessary log4j-over-slf4j.
  8482. (Mark Miller)
  8483. ================== 4.0.0 ==================
  8484. Versions of Major Components
  8485. ---------------------
  8486. Apache Tika 1.2
  8487. Carrot2 3.5.0
  8488. Velocity 1.6.4 and Velocity Tools 2.0
  8489. Apache UIMA 2.3.1
  8490. Apache ZooKeeper 3.3.6
  8491. Upgrading from Solr 4.0.0-BETA
  8492. ----------------------
  8493. In order to better support distributed search mode, the TermVectorComponent's
  8494. response format has been changed so that if the schema defines a
  8495. uniqueKeyField, then that field value is used as the "key" for each document in
  8496. its response section, instead of the internal lucene doc id. Users w/o a
  8497. uniqueKeyField will continue to see the same response format. See SOLR-3229
  8498. for more details.
  8499. If you are using SolrCloud's distributed update request capabilities and a non
  8500. string type id field, you must re-index.
  8501. Upgrading from Solr 4.0.0-ALPHA
  8502. ----------------------
  8503. Solr is now much more strict about requiring that the uniqueKeyField feature
  8504. (if used) must refer to a field which is not multiValued. If you upgrade from
  8505. an earlier version of Solr and see an error that your uniqueKeyField "can not
  8506. be configured to be multivalued" please add 'multiValued="false"' to the
  8507. <field /> declaration for your uniqueKeyField. See SOLR-3682 for more details.
  8508. In addition, please review the notes above about upgrading from 4.0.0-BETA
  8509. Upgrading from Solr 3.6
  8510. ----------------------
  8511. * The Lucene index format has changed and as a result, once you upgrade,
  8512. previous versions of Solr will no longer be able to read your indices.
  8513. In a master/slave configuration, all searchers/slaves should be upgraded
  8514. before the master. If the master were to be updated first, the older
  8515. searchers would not be able to read the new index format.
  8516. * Setting abortOnConfigurationError=false is no longer supported
  8517. (since it has never worked properly). Solr will now warn you if
  8518. you attempt to set this configuration option at all. (see SOLR-1846)
  8519. * The default logic for the 'mm' param of the 'dismax' QParser has
  8520. been changed. If no 'mm' param is specified (either in the query,
  8521. or as a default in solrconfig.xml) then the effective value of the
  8522. 'q.op' param (either in the query or as a default in solrconfig.xml
  8523. or from the 'defaultOperator' option in schema.xml) is used to
  8524. influence the behavior. If q.op is effectively "AND" then mm=100%.
  8525. If q.op is effectively "OR" then mm=0%. Users who wish to force the
  8526. legacy behavior should set a default value for the 'mm' param in
  8527. their solrconfig.xml file.
  8528. * The VelocityResponseWriter is no longer built into the core. Its JAR and
  8529. dependencies now need to be added (via <lib> or solr/home lib inclusion),
  8530. and it needs to be registered in solrconfig.xml like this:
  8531. <queryResponseWriter name="velocity" class="solr.VelocityResponseWriter"/>
  8532. * The update request parameter to choose Update Request Processor Chain is
  8533. renamed from "update.processor" to "update.chain". The old parameter was
  8534. deprecated but still working since Solr3.2, but is now removed
  8535. entirely.
  8536. * The <indexDefaults> and <mainIndex> sections of solrconfig.xml are discontinued
  8537. and replaced with the <indexConfig> section. There are also better defaults.
  8538. When migrating, if you don't know what your old settings mean, simply delete
  8539. both <indexDefaults> and <mainIndex> sections. If you have customizations,
  8540. put them in <indexConfig> section - with same syntax as before.
  8541. * Two of the SolrServer subclasses in SolrJ were renamed/replaced.
  8542. CommonsHttpSolrServer is now HttpSolrServer, and
  8543. StreamingUpdateSolrServer is now ConcurrentUpdateSolrServer.
  8544. * The PingRequestHandler no longer looks for a <healthcheck/> option in the
  8545. (legacy) <admin> section of solrconfig.xml. Users who wish to take
  8546. advantage of this feature should configure a "healthcheckFile" init param
  8547. directly on the PingRequestHandler. As part of this change, relative file
  8548. paths have been fixed to be resolved against the data dir. See the example
  8549. solrconfig.xml and SOLR-1258 for more details.
  8550. * Due to low level changes to support SolrCloud, the uniqueKey field can no
  8551. longer be populated via <copyField/> or <field default=...> in the
  8552. schema.xml. Users wishing to have Solr automatically generate a uniqueKey
  8553. value when adding documents should instead use an instance of
  8554. solr.UUIDUpdateProcessorFactory in their update processor chain. See
  8555. SOLR-2796 for more details.
  8556. In addition, please review the notes above about upgrading from 4.0.0-BETA, and 4.0.0-ALPHA
  8557. Detailed Change List
  8558. ----------------------
  8559. New Features
  8560. ----------------------
  8561. * SOLR-3670: New CountFieldValuesUpdateProcessorFactory makes it easy to index
  8562. the number of values in another field for later use at query time. (hossman)
  8563. * SOLR-2768: new "mod(x,y)" function for computing the modulus of two value
  8564. sources. (hossman)
  8565. * SOLR-3238: Numerous small improvements to the Admin UI (steffkes)
  8566. * SOLR-3597: seems like a lot of wasted whitespace at the top of the admin screens
  8567. (steffkes)
  8568. * SOLR-3304: Added Solr adapters for Lucene 4's new spatial module. With
  8569. SpatialRecursivePrefixTreeFieldType ("location_rpt" in example schema), it is
  8570. possible to index a variable number of points per document (and sort on them),
  8571. index not just points but any Spatial4j supported shape such as polygons, and
  8572. to query on these shapes too. Polygons requires adding JTS to the classpath.
  8573. (David Smiley)
  8574. * SOLR-3825: Added optional capability to log what ids are in a response
  8575. (Scott Stults via gsingers)
  8576. * SOLR-3821: Added 'df' to the UI Query form (steffkes)
  8577. * SOLR-3822: Added hover titles to the edismax params on the UI Query form
  8578. (steffkes)
  8579. Optimizations
  8580. ----------------------
  8581. * SOLR-3715: improve concurrency of the transaction log by removing
  8582. synchronization around log record serialization. (yonik)
  8583. * SOLR-3807: Currently during recovery we pause for a number of seconds after
  8584. waiting for the leader to see a recovering state so that any previous updates
  8585. will have finished before our commit on the leader - we don't need this wait
  8586. for peersync. (Mark Miller)
  8587. * SOLR-3837: When a leader is elected and asks replicas to sync back to him and
  8588. that fails, we should ask those nodes to recovery asynchronously rather than
  8589. synchronously. (Mark Miller)
  8590. * SOLR-3709: Cache the url list created from the ClusterState in CloudSolrServer
  8591. on each request. (Mark Miller)
  8592. Bug Fixes
  8593. ----------------------
  8594. * SOLR-3685: Solr Cloud sometimes skipped peersync attempt and replicated instead due
  8595. to tlog flags not being cleared when no updates were buffered during a previous
  8596. replication. (Markus Jelsma, Mark Miller, yonik)
  8597. * SOLR-3229: Fixed TermVectorComponent to work with distributed search
  8598. (Hang Xie, hossman)
  8599. * SOLR-3725: Fixed package-local-src-tgz target to not bring in unnecessary jars
  8600. and binary contents. (Michael Dodsworth via rmuir)
  8601. * SOLR-3649: Fixed bug in JavabinLoader that caused deleteById(List<String> ids)
  8602. to not work in SolrJ (siren)
  8603. * SOLR-3730: Rollback is not implemented quite right and can cause corner case fails in
  8604. SolrCloud tests. (rmuir, Mark Miller)
  8605. * SOLR-2981: Fixed StatsComponent to no longer return duplicated information
  8606. when requesting multiple stats.facet fields.
  8607. (Roman Kliewer via hossman)
  8608. * SOLR-3743: Fixed issues with atomic updates and optimistic concurrency in
  8609. conjunction with stored copyField targets by making real-time get never
  8610. return copyField targets. (yonik)
  8611. * SOLR-3746: Proper error reporting if updateLog is configured w/o necessary
  8612. "_version_" field in schema.xml (hossman)
  8613. * SOLR-3745: Proper error reporting if SolrCloud mode is used w/o
  8614. necessary "_version_" field in schema.xml (hossman)
  8615. * SOLR-3770: Overseer may lose updates to cluster state (siren)
  8616. * SOLR-3721: Fix bug that could theoretically allow multiple recoveries to run
  8617. briefly at the same time if the recovery thread join call was interrupted.
  8618. (Per Steffensen, Mark Miller)
  8619. * SOLR-3782: A leader going down while updates are coming in can cause shard
  8620. inconsistency. (Mark Miller)
  8621. * SOLR-3611: We do not show ZooKeeper data in the UI for a node that has children.
  8622. (Mark Miller)
  8623. * SOLR-3789: Fix bug in SnapPuller that caused "internal" compression to fail.
  8624. (siren)
  8625. * SOLR-3790: ConcurrentModificationException could be thrown when using hl.fl=*.
  8626. Fixed in r1231606. (yonik, koji)
  8627. * SOLR-3668: DataImport : Specifying Custom Parameters (steffkes)
  8628. * SOLR-3793: UnInvertedField faceting cached big terms in the filter
  8629. cache that ignored deletions, leading to duplicate documents in search
  8630. later when a filter of the same term was specified.
  8631. (Günter Hipler, hossman, yonik)
  8632. * SOLR-3679: Core Admin UI gives no feedback if "Add Core" fails (steffkes, hossman)
  8633. * SOLR-3795: Fixed LukeRequestHandler response to correctly return field name
  8634. strings in copyDests and copySources arrays (hossman)
  8635. * SOLR-3699: Fixed some Directory leaks when there were errors during SolrCore
  8636. or SolrIndexWriter initialization. (hossman)
  8637. * SOLR-3518: Include final 'hits' in log information when aggregating a
  8638. distributed request (Markus Jelsma via hossman)
  8639. * SOLR-3628: SolrInputField and SolrInputDocument are now consistently backed
  8640. by Collections passed in to setValue/setField, and defensively copy values
  8641. from Collections passed to addValue/addField
  8642. (Tom Switzer via hossman)
  8643. * SOLR-3595: CurrencyField now generates an appropriate error on schema init
  8644. if it is configured as multiValued - this has never been properly supported,
  8645. but previously failed silently in odd ways. (hossman)
  8646. * SOLR-3823: Fix 'bq' parsing in edismax. Please note that this required
  8647. reverting the negative boost support added by SOLR-3278 (hossman)
  8648. * SOLR-3827: Fix shareSchema=true in solr.xml
  8649. (Tomás Fernández Löbbe via hossman)
  8650. * SOLR-3809: Fixed config file replication when subdirectories are used
  8651. (Emmanuel Espina via hossman)
  8652. * SOLR-3828: Fixed QueryElevationComponent so that using 'markExcludes' does
  8653. not modify the result set or ranking of 'excluded' documents relative to
  8654. not using elevation at all. (Alexey Serba via hossman)
  8655. * SOLR-3569: Fixed debug output on distributed requests when there are no
  8656. results found. (David Bowen via hossman)
  8657. * SOLR-3811: Query Form using wrong values for dismax, edismax (steffkes)
  8658. * SOLR-3779: DataImportHandler's LineEntityProcessor when used in conjunction
  8659. with FileListEntityProcessor would only process the first file.
  8660. (Ahmet Arslan via James Dyer)
  8661. * SOLR-3791: CachedSqlEntityProcessor would throw a NullPointerException when
  8662. a query returns a row with a NULL key. (Steffen Moelter via James Dyer)
  8663. * SOLR-3833: When a election is started because a leader went down, the new
  8664. leader candidate should decline if the last state they published was not
  8665. active. (yonik, Mark Miller)
  8666. * SOLR-3836: When doing peer sync, we should only count sync attempts that
  8667. cannot reach the given host as success when the candidate leader is
  8668. syncing with the replicas - not when replicas are syncing to the leader.
  8669. (Mark Miller)
  8670. * SOLR-3835: In our leader election algorithm, if on connection loss we found
  8671. we did not create our election node, we should retry, not throw an exception.
  8672. (Mark Miller)
  8673. * SOLR-3834: A new leader on cluster startup should also run the leader sync
  8674. process in case there was a bad cluster shutdown. (Mark Miller)
  8675. * SOLR-3772: On cluster startup, we should wait until we see all registered
  8676. replicas before running the leader process - or if they all do not come up,
  8677. N amount of time. (Mark Miller)
  8678. * SOLR-3756: If we are elected the leader of a shard, but we fail to publish
  8679. this for any reason, we should clean up and re trigger a leader election.
  8680. (Mark Miller)
  8681. * SOLR-3812: ConnectionLoss during recovery can cause lost updates, leading to
  8682. shard inconsistency. (Mark Miller)
  8683. * SOLR-3813: When a new leader syncs, we need to ask all shards to sync back,
  8684. not just those that are active. (Mark Miller)
  8685. * SOLR-3641: CoreContainer is not persisting roles core attribute.
  8686. (hossman, Mark Miller)
  8687. * SOLR-3527: SolrCmdDistributor drops some of the important commit attributes
  8688. (maxOptimizeSegments, softCommit, expungeDeletes) when sending a commit to
  8689. replicas. (Andy Laird, Tomás Fernández Löbbe, Mark Miller)
  8690. * SOLR-3844: SolrCore reload can fail because it tries to remove the index
  8691. write lock while already holding it. (Mark Miller)
  8692. * SOLR-3831: Atomic updates do not distribute correctly to other nodes.
  8693. (Jim Musil, Mark Miller)
  8694. * SOLR-3465: Replication causes two searcher warmups.
  8695. (Michael Garski, Mark Miller)
  8696. * SOLR-3645: /terms should default to distrib=false. (Nick Cotton, Mark Miller)
  8697. * SOLR-3759: Various fixes to the example-DIH configs (Ahmet Arslan, hossman)
  8698. * SOLR-3777: Dataimport-UI does not send unchecked checkboxes (Glenn MacStravic
  8699. via steffkes)
  8700. * SOLR-3850: DataImportHandler "cacheKey" parameter was incorrectly renamed "cachePk"
  8701. (James Dyer)
  8702. * SOLR-3087: Fixed DOMUtil so that code doing attribute validation will
  8703. automatically ignore nodes in the reserved "xml" prefix - in particular this
  8704. fixes some bugs related to xinclude and fieldTypes.
  8705. (Amit Nithian, hossman)
  8706. * SOLR-3783: Fixed Pivot Faceting to work with facet.missing=true (hossman)
  8707. * SOLR-3869: A PeerSync attempt to its replicas by a candidate leader should
  8708. not fail on o.a.http.conn.ConnectTimeoutException. (Mark Miller)
  8709. * SOLR-3875: Fixed index boosts on multi-valued fields when docBoost is used
  8710. (hossman)
  8711. * SOLR-3878: Exception when using open-ended range query with CurrencyField (janhoy)
  8712. * SOLR-3891: CacheValue in CachingDirectoryFactory cannot be used outside of
  8713. solr.core package. (phunt via Mark Miller)
  8714. * SOLR-3892: Inconsistent locking when accessing cache in CachingDirectoryFactory
  8715. from RAMDirectoryFactory and MockDirectoryFactory. (phunt via Mark Miller)
  8716. * SOLR-3883: Distributed indexing forwards non-applicable request params.
  8717. (Dan Sutton, Per Steffensen, yonik, Mark Miller)
  8718. * SOLR-3903: Fixed MissingFormatArgumentException in ConcurrentUpdateSolrServer
  8719. (hossman)
  8720. * SOLR-3916: Fixed whitespace bug in parsing the fl param (hossman)
  8721. Other Changes
  8722. ----------------------
  8723. * SOLR-3690: Fixed binary release packages to include dependencies needed for
  8724. the solr-test-framework (hossman)
  8725. * SOLR-2857: The /update/json and /update/csv URLs were restored to aid
  8726. in the migration of existing clients. (yonik)
  8727. * SOLR-3691: SimplePostTool: Mode for crawling/posting web pages
  8728. See http://wiki.apache.org/solr/ExtractingRequestHandler for examples (janhoy)
  8729. * SOLR-3707: Upgrade Solr to Tika 1.2 (janhoy)
  8730. * SOLR-2747: Updated changes2html.pl to handle Solr's CHANGES.txt; added
  8731. target 'changes-to-html' to solr/build.xml.
  8732. (Steve Rowe, Robert Muir)
  8733. * SOLR-3752: When a leader goes down, have the Overseer clear the leader state
  8734. in cluster.json (Mark Miller)
  8735. * SOLR-3751: Add defensive checks for SolrCloud updates and requests that ensure
  8736. the local state matches what we can tell the request expected. (Mark Miller)
  8737. * SOLR-3773: Hash based on the external String id rather than the indexed
  8738. representation for distributed updates. (Michael Garski, yonik, Mark Miller)
  8739. * SOLR-3780: Maven build: Make solrj tests run separately from solr-core.
  8740. (Steve Rowe)
  8741. * SOLR-3772: Optionally, on cluster startup, we can wait until we see all registered
  8742. replicas before running the leader process - or if they all do not come up,
  8743. N amount of time. (Jan Høydahl, Per Steffensen, Mark Miller)
  8744. * SOLR-3750: Optionally, on session expiration, we can explicitly wait some time before
  8745. running the leader sync process so that we are sure every node participates.
  8746. (Per Steffensen, Mark Miller)
  8747. * SOLR-3824: Velocity: Error messages from search not displayed (janhoy)
  8748. * SOLR-3826: Test framework improvements for specifying coreName on initCore
  8749. (Amit Nithian, hossman)
  8750. * SOLR-3749: Allow default UpdateLog syncLevel to be configured by
  8751. solrconfig.xml (Raintung Li, Mark Miller)
  8752. * SOLR-3845: Rename numReplicas to replicationFactor in Collections API.
  8753. (yonik, Mark Miller)
  8754. * SOLR-3815: SolrCloud - Add properties such as "range" to shards, which changes
  8755. the clusterstate.json and puts the shard replicas under "replicas". (yonik)
  8756. * SOLR-3871: SyncStrategy should use an executor for the threads it creates to
  8757. request recoveries. (Mark Miller)
  8758. * SOLR-3870: SyncStrategy should have a close so it can abort earlier on
  8759. shutdown. (Mark Miller)
  8760. ================== 4.0.0-BETA ===================
  8761. Versions of Major Components
  8762. ---------------------
  8763. Apache Tika 1.1
  8764. Carrot2 3.5.0
  8765. Velocity 1.6.4 and Velocity Tools 2.0
  8766. Apache UIMA 2.3.1
  8767. Apache ZooKeeper 3.3.6
  8768. Upgrading from Solr 4.0.0-ALPHA
  8769. ----------------------
  8770. Solr is now much more strict about requiring that the uniqueKeyField feature
  8771. (if used) must refer to a field which is not multiValued. If you upgrade from
  8772. an earlier version of Solr and see an error that your uniqueKeyField "can not
  8773. be configured to be multivalued" please add 'multiValued="false"' to the
  8774. <field /> declaration for your uniqueKeyField. See SOLR-3682 for more details.
  8775. Detailed Change List
  8776. ----------------------
  8777. New Features
  8778. ----------------------
  8779. * LUCENE-4201: Added JapaneseIterationMarkCharFilterFactory to normalize Japanese
  8780. iteration marks. (Robert Muir, Christian Moen)
  8781. * SOLR-1856: In Solr Cell, literals should override Tika-parsed values.
  8782. Patch adds a param "literalsOverride" which defaults to true, but can be set
  8783. to "false" to let Tika-parsed values be appended to literal values (Chris Harris, janhoy)
  8784. * SOLR-3488: Added a Collection management API for SolrCloud.
  8785. (Tommaso Teofili, Sami Siren, yonik, Mark Miller)
  8786. * SOLR-3559: Full deleteByQuery support with SolrCloud distributed indexing.
  8787. All replicas of a shard will be consistent, even if updates arrive in a
  8788. different order on different replicas. (yonik)
  8789. * SOLR-1929: Index encrypted documents with ExtractingUpdateRequestHandler.
  8790. By supplying resource.password=<mypw> or specifying an external file with regular
  8791. expressions matching file names, Solr will decrypt and index PDFs and DOCX formats.
  8792. (janhoy, Yiannis Pericleous)
  8793. * SOLR-3562: Add options to remove instance dir or data dir on core unload.
  8794. (Mark Miller, Per Steffensen)
  8795. * SOLR-2702: The default directory factory was changed to NRTCachingDirectoryFactory
  8796. which wraps the StandardDirectoryFactory and caches small files for improved
  8797. Near Real-time (NRT) performance. (Mark Miller, yonik)
  8798. * SOLR-2616: Include a sample java util logging configuration file.
  8799. (David Smiley, Mark Miller)
  8800. * SOLR-3460: Add cloud-scripts directory and a zkcli.sh|bat tool for easy scripting
  8801. and interaction with ZooKeeper. (Mark Miller)
  8802. * SOLR-1725: StatelessScriptUpdateProcessorFactory allows users to implement
  8803. the full ScriptUpdateProcessor API using any scripting language with a
  8804. javax.script.ScriptEngineFactory
  8805. (Uri Boness, ehatcher, Simon Rosenthal, hossman)
  8806. * SOLR-139: Change to updateable documents to create the document if it doesn't
  8807. already exist. To assert that the document must exist, use the optimistic
  8808. concurrency feature by specifying a _version_ of 1. (yonik)
  8809. * LUCENE-2510, LUCENE-4044: Migrated Solr's Tokenizer-, TokenFilter-, and
  8810. CharFilterFactories to the lucene-analysis module. To add new analysis
  8811. modules to Solr (like ICU, SmartChinese, Morfologik,...), just drop in
  8812. the JAR files from Lucene's binary distribution into your Solr instance's
  8813. lib folder. The factories are automatically made available with SPI.
  8814. (Chris Male, Robert Muir, Uwe Schindler)
  8815. * SOLR-3634, SOLR-3635: CoreContainer and CoreAdminHandler will now remember
  8816. and report back information about failures to initialize SolrCores. These
  8817. failures will be accessible from the web UI and CoreAdminHandler STATUS
  8818. command until they are "reset" by creating/renaming a SolrCore with the
  8819. same name. (hossman, steffkes)
  8820. * SOLR-1280: Added commented-out example of the new script update processor
  8821. to the example configuration. See http://wiki.apache.org/solr/ScriptUpdateProcessor (ehatcher)
  8822. * SOLR-3672: SimplePostTool: Improvements for posting files
  8823. Support for auto mode, recursive and wildcards (janhoy)
  8824. Optimizations
  8825. ----------------------
  8826. * SOLR-3708: Add hashCode to ClusterState so that structures built based on the
  8827. ClusterState can be easily cached. (Mark Miller)
  8828. * SOLR-3709: Cache the url list created from the ClusterState in CloudSolrServer on each
  8829. request. (Mark Miller, yonik)
  8830. * SOLR-3710: Change CloudSolrServer so that update requests are only sent to leaders by
  8831. default. (Mark Miller)
  8832. Bug Fixes
  8833. ----------------------
  8834. * SOLR-3582: Our ZooKeeper watchers respond to session events as if they are change events,
  8835. creating undesirable side effects. (Trym R. Møller, Mark Miller)
  8836. * SOLR-3467: ExtendedDismax escaping is missing several reserved characters
  8837. (Michael Dodsworth via janhoy)
  8838. * SOLR-3587: After reloading a SolrCore, the original Analyzer is still used rather than a new
  8839. one. (Alexey Serba, yonik, rmuir, Mark Miller)
  8840. * LUCENE-4185: Fix a bug where CharFilters were wrongly being applied twice. (Michael Froh, rmuir)
  8841. * SOLR-3610: After reloading a core, indexing would fail on any newly added fields to the schema. (Brent Mills, rmuir)
  8842. * SOLR-3377: edismax fails to correctly parse a fielded query wrapped by parens.
  8843. This regression was introduced in 3.6. (Bernd Fehling, Jan Høydahl, yonik)
  8844. * SOLR-3621: Fix rare concurrency issue when opening a new IndexWriter for replication or rollback.
  8845. (Mark Miller)
  8846. * SOLR-1781: Replication index directories not always cleaned up.
  8847. (Markus Jelsma, Terje Sten Bjerkseth, Mark Miller)
  8848. * SOLR-3639: Update ZooKeeper to 3.3.6 for a variety of bug fixes. (Mark Miller)
  8849. * SOLR-3629: Typo in solr.xml persistence when overriding the solrconfig.xml
  8850. file name using the "config" attribute prevented the override file from being
  8851. used. (Ryan Zezeski, hossman)
  8852. * SOLR-3642: Correct broken check for multivalued fields in stats.facet
  8853. (Yandong Yao, hossman)
  8854. * SOLR-3660: Velocity: Link to admin page broken (janhoy)
  8855. * SOLR-3658: Adding thousands of docs with one UpdateProcessorChain instance can briefly create
  8856. spikes of threads in the thousands. (yonik, Mark Miller)
  8857. * SOLR-3656: A core reload now always uses the same dataDir. (Mark Miller, yonik)
  8858. * SOLR-3662: Core reload bugs: a reload always obtained a non-NRT searcher, which
  8859. could go back in time with respect to the previous core's NRT searcher. Versioning
  8860. did not work correctly across a core reload, and update handler synchronization
  8861. was changed to synchronize on core state since more than on update handler
  8862. can coexist for a single index during a reload. (yonik)
  8863. * SOLR-3663: There are a couple of bugs in the sync process when a leader goes down and a
  8864. new leader is elected. (Mark Miller)
  8865. * SOLR-3623: Fixed inconsistent treatment of third-party dependencies for
  8866. solr contribs analysis-extras & uima (hossman)
  8867. * SOLR-3652: Fixed range faceting to error instead of looping infinitely
  8868. when 'gap' is zero -- or effectively zero due to floating point arithmetic
  8869. underflow. (hossman)
  8870. * SOLR-3648: Fixed VelocityResponseWriter template loading in SolrCloud mode.
  8871. For the example configuration, this means /browse now works with SolrCloud.
  8872. (janhoy, ehatcher)
  8873. * SOLR-3677: Fixed misleading error message in web ui to distinguish between
  8874. no SolrCores loaded vs. no /admin/ handler available.
  8875. (hossman, steffkes)
  8876. * SOLR-3428: SolrCmdDistributor flushAdds/flushDeletes can cause repeated
  8877. adds/deletes to be sent (Mark Miller, Per Steffensen)
  8878. * SOLR-3647: DistributedQueue should use our Solr zk client rather than the std zk
  8879. client. ZooKeeper expiration can be permanent otherwise. (Mark Miller)
  8880. Other Changes
  8881. ----------------------
  8882. * SOLR-3524: Make discarding punctuation configurable in JapaneseTokenizerFactory.
  8883. The default is to discard punctuation, but this is overridable as an expert option.
  8884. (Kazuaki Hiraga, Jun Ohtani via Christian Moen)
  8885. * SOLR-1770: Move the default core instance directory into a collection1 folder.
  8886. (Mark Miller)
  8887. * SOLR-3355: Add shard and collection to SolrCore statistics. (Michael Garski, Mark Miller)
  8888. * SOLR-3575: solr.xml should default to persist=true (Mark Miller)
  8889. * SOLR-3563: Unloading all cores in a SolrCloud collection will now cause the removal of
  8890. that collection's meta data from ZooKeeper. (Mark Miller, Per Steffensen)
  8891. * SOLR-3599: Add zkClientTimeout to solr.xml so that it's obvious how to change it and so
  8892. that you can change it with a system property. (Mark Miller)
  8893. * SOLR-3609: Change Solr's expanded webapp directory to be at a consistent path called
  8894. solr-webapp rather than a temporary directory. (Mark Miller)
  8895. * SOLR-3600: Raise the default zkClientTimeout from 10 seconds to 15 seconds. (Mark Miller)
  8896. * SOLR-3215: Clone SolrInputDocument when distrib indexing so that update processors after
  8897. the distrib update process do not process the document twice. (Mark Miller)
  8898. * SOLR-3683: Improved error handling if an <analyzer> contains both an
  8899. explicit class attribute, as well as nested factories. (hossman)
  8900. * SOLR-3682: Fail to parse schema.xml if uniqueKeyField is multivalued (hossman)
  8901. * SOLR-2115: DIH no longer requires the "config" parameter to be specified in solrconfig.xml.
  8902. Instead, the configuration is loaded and parsed with every import. This allows the use of
  8903. a different configuration with each import, and makes correcting configuration errors simpler.
  8904. Also, the configuration itself can be passed using the "dataConfig" parameter rather than
  8905. using a file (this previously worked in debug mode only). When configuration errors are
  8906. encountered, the error message is returned in XML format. (James Dyer)
  8907. * SOLR-3439: Make SolrCell easier to use out of the box. Also improves "/browse" to display
  8908. rich-text documents correctly, along with facets for author and content_type.
  8909. With the new "content" field, highlighting of body is supported. See also SOLR-3672 for
  8910. easier posting of a whole directory structure. (Jack Krupansky, janhoy)
  8911. * SOLR-3579: SolrCloud view should default to the graph view rather than tree view.
  8912. (steffkes, Mark Miller)
  8913. ================== 4.0.0-ALPHA ==================
  8914. More information about this release, including any errata related to the
  8915. release notes, upgrade instructions, or other changes may be found online at:
  8916. https://wiki.apache.org/solr/Solr4.0
  8917. Versions of Major Components
  8918. ---------------------
  8919. Apache Tika 1.1
  8920. Carrot2 3.5.0
  8921. Velocity 1.6.4 and Velocity Tools 2.0
  8922. Apache UIMA 2.3.1
  8923. Apache ZooKeeper 3.3.4
  8924. Upgrading from Solr 3.6-dev
  8925. ----------------------
  8926. * The Lucene index format has changed and as a result, once you upgrade,
  8927. previous versions of Solr will no longer be able to read your indices.
  8928. In a master/slave configuration, all searchers/slaves should be upgraded
  8929. before the master. If the master were to be updated first, the older
  8930. searchers would not be able to read the new index format.
  8931. * Setting abortOnConfigurationError=false is no longer supported
  8932. (since it has never worked properly). Solr will now warn you if
  8933. you attempt to set this configuration option at all. (see SOLR-1846)
  8934. * The default logic for the 'mm' param of the 'dismax' QParser has
  8935. been changed. If no 'mm' param is specified (either in the query,
  8936. or as a default in solrconfig.xml) then the effective value of the
  8937. 'q.op' param (either in the query or as a default in solrconfig.xml
  8938. or from the 'defaultOperator' option in schema.xml) is used to
  8939. influence the behavior. If q.op is effectively "AND" then mm=100%.
  8940. If q.op is effectively "OR" then mm=0%. Users who wish to force the
  8941. legacy behavior should set a default value for the 'mm' param in
  8942. their solrconfig.xml file.
  8943. * The VelocityResponseWriter is no longer built into the core. Its JAR and
  8944. dependencies now need to be added (via <lib> or solr/home lib inclusion),
  8945. and it needs to be registered in solrconfig.xml like this:
  8946. <queryResponseWriter name="velocity" class="solr.VelocityResponseWriter"/>
  8947. * The update request parameter to choose Update Request Processor Chain is
  8948. renamed from "update.processor" to "update.chain". The old parameter was
  8949. deprecated but still working since Solr3.2, but is now removed
  8950. entirely.
  8951. * The <indexDefaults> and <mainIndex> sections of solrconfig.xml are discontinued
  8952. and replaced with the <indexConfig> section. There are also better defaults.
  8953. When migrating, if you don't know what your old settings mean, simply delete
  8954. both <indexDefaults> and <mainIndex> sections. If you have customizations,
  8955. put them in <indexConfig> section - with same syntax as before.
  8956. * Two of the SolrServer subclasses in SolrJ were renamed/replaced.
  8957. CommonsHttpSolrServer is now HttpSolrServer, and
  8958. StreamingUpdateSolrServer is now ConcurrentUpdateSolrServer.
  8959. * The PingRequestHandler no longer looks for a <healthcheck/> option in the
  8960. (legacy) <admin> section of solrconfig.xml. Users who wish to take
  8961. advantage of this feature should configure a "healthcheckFile" init param
  8962. directly on the PingRequestHandler. As part of this change, relative file
  8963. paths have been fixed to be resolved against the data dir. See the example
  8964. solrconfig.xml and SOLR-1258 for more details.
  8965. * Due to low level changes to support SolrCloud, the uniqueKey field can no
  8966. longer be populated via <copyField/> or <field default=...> in the
  8967. schema.xml. Users wishing to have Solr automatically generate a uniqueKey
  8968. value when adding documents should instead use an instance of
  8969. solr.UUIDUpdateProcessorFactory in their update processor chain. See
  8970. SOLR-2796 for more details.
  8971. Detailed Change List
  8972. ----------------------
  8973. New Features
  8974. ----------------------
  8975. * SOLR-3272: Solr filter factory for MorfologikFilter (Polish lemmatisation).
  8976. (Rafał Kuć via Dawid Weiss, Steven Rowe, Uwe Schindler).
  8977. * SOLR-571: The autowarmCount for LRUCaches (LRUCache and FastLRUCache) now
  8978. supports "percentages" which get evaluated relative the current size of
  8979. the cache when warming happens.
  8980. (Tomás Fernández Löbbe and hossman)
  8981. * SOLR-1932: New relevancy function queries: termfreq, tf, docfreq, idf
  8982. norm, maxdoc, numdocs. (yonik)
  8983. * SOLR-1665: Add debug component options for timings, results and query info only (gsingers, hossman, yonik)
  8984. * SOLR-2112: Solrj API now supports streaming results. (ryan)
  8985. * SOLR-792: Adding PivotFacetComponent for Hierarchical faceting
  8986. (ehatcher, Jeremy Hinegardner, Thibaut Lassalle, ryan)
  8987. * LUCENE-2507, SOLR-2571, SOLR-2576: Added DirectSolrSpellChecker, which uses Lucene's
  8988. DirectSpellChecker to retrieve correction candidates directly from the term dictionary using
  8989. levenshtein automata. (James Dyer, rmuir)
  8990. * SOLR-1873, SOLR-2358: SolrCloud - added shared/central config and core/shard management via zookeeper,
  8991. built-in load balancing, and distributed indexing.
  8992. (Jamie Johnson, Sami Siren, Ted Dunning, yonik, Mark Miller)
  8993. Additional Work:
  8994. - SOLR-2324: SolrCloud solr.xml parameters are not persisted by CoreContainer.
  8995. (Massimo Schiavon, Mark Miller)
  8996. - SOLR-2287: Allow users to query by multiple, compatible collections with SolrCloud.
  8997. (Soheb Mahmood, Alex Cowell, Mark Miller)
  8998. - SOLR-2622: ShowFileRequestHandler does not work in SolrCloud mode.
  8999. (Stefan Matheis, Mark Miller)
  9000. - SOLR-3108: Error in SolrCloud's replica lookup code when replica's are hosted in same Solr instance.
  9001. (Bruno Dumon, Sami Siren, Mark Miller)
  9002. - SOLR-3080: Remove shard info from zookeeper when SolrCore is explicitly unloaded.
  9003. (yonik, Mark Miller, siren)
  9004. - SOLR-3437: Recovery issues a spurious commit to the cluster. (Trym R. Møller via Mark Miller)
  9005. - SOLR-2822: Skip update processors already run on other nodes (hossman)
  9006. * SOLR-1566: Transforming documents in the ResponseWriters. This will allow
  9007. for more complex results in responses and open the door for function queries
  9008. as results.
  9009. (ryan with patches from grant, noble, cmale, yonik, Jan Høydahl,
  9010. Arul Kalaipandian, Luca Cavanna, hossman)
  9011. - SOLR-2037: Thanks to SOLR-1566, documents boosted by the QueryElevationComponent
  9012. can be marked as boosted. (gsingers, ryan, yonik)
  9013. * SOLR-2396: Add CollationField, which is much more efficient than
  9014. the Solr 3.x CollationKeyFilterFactory, and also supports
  9015. Locale-sensitive range queries. (rmuir)
  9016. * SOLR-2338: Add support for using <similarity/> in a schema's fieldType,
  9017. for customizing scoring on a per-field basis. (hossman, yonik, rmuir)
  9018. * SOLR-2335: New 'field("...")' function syntax for referring to complex
  9019. field names (containing whitespace or special characters) in functions.
  9020. * SOLR-2383: /browse improvements: generalize range and date facet display
  9021. (Jan Høydahl via yonik)
  9022. * SOLR-2272: Pseudo-join queries / filters. Examples:
  9023. - To restrict to the set of parents with at least one blue-eyed child:
  9024. fq={!join from=parent to=name}eyes:blue
  9025. - To restrict to the set of children with at least one blue-eyed parent:
  9026. fq={!join from=name to=parent}eyes:blue
  9027. (yonik)
  9028. * SOLR-1942: Added the ability to select postings format per fieldType in schema.xml
  9029. as well as support custom Codecs in solrconfig.xml.
  9030. (simonw via rmuir)
  9031. * SOLR-2136: Boolean type added to function queries, along with
  9032. new functions exists(), if(), and(), or(), xor(), not(), def(),
  9033. and true and false constants. (yonik)
  9034. * SOLR-2491: Add support for using spellcheck collation in conjunction
  9035. with grouping. Note that the number of hits returned for collations
  9036. is the number of ungrouped hits. (James Dyer via rmuir)
  9037. * SOLR-1298: Return FunctionQuery as pseudo field. The solr 'fl' param
  9038. now supports functions. For example: fl=id,sum(x,y) -- NOTE: only
  9039. functions with fast random access are recommended. (yonik, ryan)
  9040. * SOLR-705: Optionally return shard info with each document in distributed
  9041. search. Use fl=id,[shard] to return the shard url. (ryan)
  9042. * SOLR-2417: Add explain info directly to return documents using
  9043. ?fl=id,[explain] (ryan)
  9044. * SOLR-2533: Converted ValueSource.ValueSourceSortField over to new rewriteable Lucene
  9045. SortFields. ValueSourceSortField instances must be rewritten before they can be used.
  9046. This is done by SolrIndexSearcher when necessary. (Chris Male).
  9047. * SOLR-2193, SOLR-2565: You may now specify a 'soft' commit when committing. This will
  9048. use Lucene's NRT feature to avoid guaranteeing documents are on stable storage in exchange
  9049. for faster reopen times. There is also a new 'soft' autocommit tracker that can be
  9050. configured. (Mark Miller, Robert Muir)
  9051. * SOLR-2399: Updated Solr Admin interface. New look and feel with per core administration
  9052. and many new options. (Stefan Matheis via ryan)
  9053. * SOLR-1032: CSV handler now supports "literal.field_name=value" parameters.
  9054. (Simon Rosenthal, ehatcher)
  9055. * SOLR-2656: realtime-get, efficiently retrieves the latest stored fields for specified
  9056. documents, even if they are not yet searchable (i.e. without reopening a searcher)
  9057. (yonik)
  9058. * SOLR-2703: Added support for Lucene's "surround" query parser. (Simon Rosenthal, ehatcher)
  9059. * SOLR-2754: Added factories for several ranking algorithms:
  9060. - BM25SimilarityFactory: Okapi BM25
  9061. - DFRSimilarityFactory: Divergence from Randomness models
  9062. - IBSimilarityFactory: Information-based models
  9063. - LMDirichletSimilarity: LM with Dirichlet smoothing
  9064. - LMJelinekMercerSimilarity: LM with Jelinek-Mercer smoothing
  9065. (David Mark Nemeskey, Robert Muir)
  9066. * SOLR-2134 Trie* fields should support sortMissingLast=true, and deprecate Sortable* Field Types
  9067. (Ryan McKinley, Mike McCandless, Uwe Schindler, Erick Erickson)
  9068. * SOLR-2438 added MultiTermAwareComponent to the various classes to allow automatic lowercasing
  9069. for multiterm queries (wildcards, regex, prefix, range, etc). You can now optionally specify a
  9070. "multiterm" analyzer in our schema.xml, but Solr should "do the right thing" if you don't
  9071. specify <analyzer type="multiterm"> (Pete Sturge Erick Erickson, Mentoring from Seeley and Muir)
  9072. * SOLR-2481: Add support for commitWithin in DataImportHandler (Sami Siren via yonik)
  9073. * SOLR-2992: Add support for IndexWriter.prepareCommit() via prepareCommit=true
  9074. on update URLs. (yonik)
  9075. * SOLR-2906: Added LFU cache options to Solr. (Shawn Heisey via Erick Erickson)
  9076. * SOLR-3069: Ability to add openSearcher=false to not open a searcher when doing
  9077. a hard commit. commitWithin now only invokes a softCommit. (yonik)
  9078. * SOLR-2802: New FieldMutatingUpdateProcessor and Factory to simplify the
  9079. development of UpdateProcessors that modify field values of documents as
  9080. they are indexed. Also includes several useful new implementations:
  9081. - RemoveBlankFieldUpdateProcessorFactory
  9082. - TrimFieldUpdateProcessorFactory
  9083. - HTMLStripFieldUpdateProcessorFactory
  9084. - RegexReplaceProcessorFactory
  9085. - FieldLengthUpdateProcessorFactory
  9086. - ConcatFieldUpdateProcessorFactory
  9087. - FirstFieldValueUpdateProcessorFactory
  9088. - LastFieldValueUpdateProcessorFactory
  9089. - MinFieldValueUpdateProcessorFactory
  9090. - MaxFieldValueUpdateProcessorFactory
  9091. - TruncateFieldUpdateProcessorFactory
  9092. - IgnoreFieldUpdateProcessorFactory
  9093. (hossman, janhoy)
  9094. * SOLR-3120: Optional post filtering for spatial queries bbox and geofilt
  9095. for LatLonType. (yonik)
  9096. * SOLR-2459: Expose LogLevel selection with a RequestHandler rather then servlet
  9097. (Stefan Matheis, Upayavira, ryan)
  9098. * SOLR-3134: Include shard info in distributed response when shards.info=true
  9099. (Russell Black, ryan)
  9100. * SOLR-2898: Support grouped faceting. (Martijn van Groningen)
  9101. Additional Work:
  9102. - SOLR-3406: Extended grouped faceting support to facet.query and facet.range parameters.
  9103. (David Boychuck, Martijn van Groningen)
  9104. * SOLR-2949: QueryElevationComponent is now supported with distributed search.
  9105. (Mark Miller, yonik)
  9106. * SOLR-3221: Added the ability to directly configure aspects of the concurrency
  9107. and thread-pooling used within distributed search in solr. This allows for finer
  9108. grained controlled and can be tuned by end users to target their own specific
  9109. requirements. This builds on the work of the HttpCommComponent and uses the same configuration
  9110. block to configure the thread pool. The default configuration has
  9111. the same behaviour as solr 3.5, favouring throughput over latency. More
  9112. information can be found on the wiki (http://wiki.apache.org/solr/SolrConfigXml) (Greg Bowyer)
  9113. * SOLR-3278: Negative boost support to the Extended Dismax Query Parser Boost Query (bq).
  9114. (James Dyer)
  9115. * SOLR-3255: OpenExchangeRates.Org Exchange Rate Provider for CurrencyField (janhoy)
  9116. * SOLR-3358: Logging events are captured and available from the /admin/logging
  9117. request handler. (ryan)
  9118. * SOLR-1535: PreAnalyzedField type provides a functionality to index (and optionally store)
  9119. field content that was already processed and split into tokens using some external processing
  9120. chain. Serialization format is pluggable, and defaults to JSON. (ab)
  9121. * SOLR-3363: Consolidated Exceptions in Analysis Factories so they only throw
  9122. InitializationExceptions (Chris Male)
  9123. * SOLR-2690: New support for a "TZ" request param which overrides the TimeZone
  9124. used when rounding Dates in DateMath expressions for the entire request
  9125. (all date range queries and date faceting is affected). The default TZ
  9126. is still UTC. (David Schlotfeldt, hossman)
  9127. * SOLR-3402: Analysis Factories are now configured with their Lucene Version
  9128. throw setLuceneMatchVersion, rather than through the Map passed to init.
  9129. Parsing and simple error checking for the Version is now done inside
  9130. the code that creates the Analysis Factories. (Chris Male)
  9131. * SOLR-3178: Optimistic locking. If a _version_ is provided with an update
  9132. that does not match the version in the index, an HTTP 409 error (Conflict)
  9133. will result. (Per Steffensen, yonik)
  9134. * SOLR-139: Updateable documents. JSON Example:
  9135. {"id":"mydoc", "f1":{"set":10}, "f2":{"add":20}} will result in field "f1"
  9136. being set to 10, "f2" having an additional value of 20 added, and all
  9137. other existing fields unchanged. All source fields must be stored for
  9138. this feature to work correctly. (Ryan McKinley, Erik Hatcher, yonik)
  9139. * SOLR-2857: Support XML,CSV,JSON, and javabin in a single RequestHandler and
  9140. choose the correct ContentStreamLoader based on Content-Type header. This
  9141. also deprecates the existing [Xml,JSON,CSV,Binary,Xslt]UpdateRequestHandler.
  9142. (ryan)
  9143. * SOLR-2585: Context-Sensitive Spelling Suggestions & Collations. This adds support
  9144. for the "spellcheck.alternativeTermCount" & "spellcheck.maxResultsForSuggest"
  9145. parameters, letting users receive suggestions even when all the queried terms
  9146. exist in the dictionary. This differs from "spellcheck.onlyMorePopular" in
  9147. that the suggestions need not consist entirely of terms with a greater document
  9148. frequency than the queried terms. (James Dyer)
  9149. * SOLR-2058: Edismax query parser to allow "phrase slop" to be specified per-field
  9150. on the pf/pf2/pf3 parameters using optional "FieldName~slop^boost" syntax. The
  9151. prior "FieldName^boost" syntax is still accepted. In such cases the value on the
  9152. "ps" parameter serves as the default slop. (Ron Mayer via James Dyer)
  9153. * SOLR-3495: New UpdateProcessors have been added to create default values for
  9154. configured fields. These works similarly to the <field default="..."/>
  9155. option in schema.xml, but are applied in the UpdateProcessorChain, so they
  9156. may be used prior to other UpdateProcessors, or to generate a uniqueKey field
  9157. value when using the DistributedUpdateProcessor (ie: SolrCloud)
  9158. TimestampUpdateProcessorFactory
  9159. UUIDUpdateProcessorFactory
  9160. DefaultValueUpdateProcessorFactory
  9161. (hossman)
  9162. * SOLR-2993: Add WordBreakSolrSpellChecker to offer suggestions by combining adjacent
  9163. query terms and/or breaking terms into multiple words. This spellchecker can be
  9164. configured with a traditional checker (ie: DirectSolrSpellChecker). The results
  9165. are combined and collations can contain a mix of corrections from both spellcheckers.
  9166. (James Dyer)
  9167. * SOLR-3508: Simplify JSON update format for deletes as well as allow
  9168. version specification for optimistic locking. Examples:
  9169. - {"delete":"myid"}
  9170. - {"delete":["id1","id2","id3"]}
  9171. - {"delete":{"id":"myid", "_version_":123456789}}
  9172. (yonik)
  9173. * SOLR-3211: Allow parameter overrides in conjunction with "spellcheck.maxCollationTries".
  9174. To do so, use parameters starting with "spellcheck.collateParam." For instance, to
  9175. override the "mm" parameter, specify "spellcheck.collateParam.mm". This is helpful
  9176. in cases where testing spellcheck collations for result counts should use different
  9177. parameters from the main query (James Dyer)
  9178. * SOLR-2599: CloneFieldUpdateProcessorFactory provides similar functionality
  9179. to schema.xml's <copyField/> declaration but as an update processor that can
  9180. be combined with other processors in any order. (Jan Høydahl & hossman)
  9181. * SOLR-3351: eDismax: ps2 and ps3 params (janhoy)
  9182. * SOLR-3542: Add WeightedFragListBuilder for FVH and set it to default fragListBuilder
  9183. in example solrconfig.xml. (Sebastian Lutze, koji)
  9184. * SOLR-2396: Add ICUCollationField to contrib/analysis-extras, which is much
  9185. more efficient than the Solr 3.x ICUCollationKeyFilterFactory, and also
  9186. supports Locale-sensitive range queries. (rmuir)
  9187. Optimizations
  9188. ----------------------
  9189. * SOLR-1875: Per-segment field faceting for single valued string fields.
  9190. Enable with facet.method=fcs, control the number of threads used with
  9191. the "threads" local param on the facet.field param. This algorithm will
  9192. only be faster in the presence of rapid index changes. (yonik)
  9193. * SOLR-1904: When facet.enum.cache.minDf > 0 and the base doc set is a
  9194. SortedIntSet, convert to HashDocSet for better performance. (yonik)
  9195. * SOLR-2092: Speed up single-valued and multi-valued "fc" faceting. Typical
  9196. improvement is 5%, but can be much greater (up to 10x faster) when facet.offset
  9197. is very large (deep paging). (yonik)
  9198. * SOLR-2193, SOLR-2565: The default Solr update handler has been improved so
  9199. that it uses fewer locks, keeps the IndexWriter open rather than closing it
  9200. on each commit (ie commits no longer wait for background merges to complete),
  9201. works with SolrCore to provide faster 'soft' commits, and has an improved API
  9202. that requires less instanceof special casing. (Mark Miller, Robert Muir)
  9203. Additional Work:
  9204. - SOLR-2697: commit and autocommit operations don't reset
  9205. DirectUpdateHandler2.numDocsPending stats attribute.
  9206. (Alexey Serba, Mark Miller)
  9207. * SOLR-2950: The QueryElevationComponent now avoids using the FieldCache and looking up
  9208. every document id (gsingers, yonik)
  9209. Bug Fixes
  9210. ----------------------
  9211. * SOLR-3139: Make ConcurrentUpdateSolrServer send UpdateRequest.getParams()
  9212. as HTTP request params (siren)
  9213. * SOLR-3165: Cannot use DIH in Solrcloud + Zookeeper (Alexey Serba,
  9214. Mark Miller, siren)
  9215. * SOLR-3068: Occasional NPE in ThreadDumpHandler (siren)
  9216. * SOLR-2762: FSTLookup could return duplicate results or one results less
  9217. than requested. (David Smiley, Dawid Weiss)
  9218. * SOLR-2741: Bugs in facet range display in trunk (janhoy)
  9219. * SOLR-1908: Fixed SignatureUpdateProcessor to fail to initialize on
  9220. invalid config. Specifically: a signatureField that does not exist,
  9221. or overwriteDupes=true with a signatureField that is not indexed.
  9222. (hossman)
  9223. * SOLR-1824: IndexSchema will now fail to initialize if there is a
  9224. problem initializing one of the fields or field types. (hossman)
  9225. * SOLR-1928: TermsComponent didn't correctly break ties for non-text
  9226. fields sorted by count. (yonik)
  9227. * SOLR-2107: MoreLikeThisHandler doesn't work with alternate qparsers. (yonik)
  9228. * SOLR-2108: Fixed false positives when using wildcard queries on fields with reversed
  9229. wildcard support. For example, a query of *zemog* would match documents that contain
  9230. 'gomez'. (Landon Kuhn via Robert Muir)
  9231. * SOLR-1962: SolrCore#initIndex should not use a mix of indexPath and newIndexPath (Mark Miller)
  9232. * SOLR-2275: fix DisMax 'mm' parsing to be tolerant of whitespace
  9233. (Erick Erickson via hossman)
  9234. * SOLR-2193, SOLR-2565, SOLR-2651: SolrCores now properly share IndexWriters across SolrCore reloads.
  9235. (Mark Miller, Robert Muir)
  9236. Additional Work:
  9237. - SOLR-2705: On reload, IndexWriterProvider holds onto the initial SolrCore it was created with.
  9238. (Yury Kats, Mark Miller)
  9239. * SOLR-2682: Remove addException() in SimpleFacet. FacetComponent no longer catches and embeds
  9240. exceptions occurred during facet processing, it throws HTTP 400 or 500 exceptions instead. (koji)
  9241. * SOLR-2654: Directorys used by a SolrCore are now closed when they are no longer used.
  9242. (Mark Miller)
  9243. * SOLR-2854: Now load URL content stream data (via stream.url) when called for during request handling,
  9244. rather than loading URL content streams automatically regardless of use.
  9245. (David Smiley and Ryan McKinley via ehatcher)
  9246. * SOLR-2829: Fix problem with false-positives due to incorrect
  9247. equals methods. (Yonik Seeley, Hossman, Erick Erickson.
  9248. Marc Tinnemeyer caught the bug)
  9249. * SOLR-2848: Removed 'instanceof AbstractLuceneSpellChecker' hacks from distributed spellchecking code,
  9250. and added a merge() method to SolrSpellChecker instead. Previously if you extended SolrSpellChecker
  9251. your spellchecker would not work in distributed fashion. (James Dyer via rmuir)
  9252. * SOLR-2509: StringIndexOutOfBoundsException in the spellchecker collate when the term contains
  9253. a hyphen. (Thomas Gambier caught the bug, Steffen Godskesen did the patch, via Erick Erickson)
  9254. * SOLR-1730: Made it clearer when a core failed to load as well as better logging when the
  9255. QueryElevationComponent fails to properly initialize (gsingers)
  9256. * SOLR-1520: QueryElevationComponent now supports non-string ids (gsingers)
  9257. * SOLR-3037: When using binary format in solrj the codec screws up parameters
  9258. (Sami Siren, Jörg Maier via yonik)
  9259. * SOLR-3062: A join in the main query was not respecting any filters pushed
  9260. down to it via acceptDocs since LUCENE-1536. (Mike Hugo, yonik)
  9261. * SOLR-3214: If you use multiple fl entries rather than a comma separated list, all but the first
  9262. entry can be ignored if you are using distributed search. (Tomás Fernández Löbbe via Mark Miller)
  9263. * SOLR-3352: eDismax: pf2 should kick in for a query with 2 terms (janhoy)
  9264. * SOLR-3361: ReplicationHandler "maxNumberOfBackups" doesn't work if backups are triggered on commit
  9265. (James Dyer, Tomás Fernández Löbbe)
  9266. * SOLR-2605: fixed tracking of the 'defaultCoreName' in CoreContainer so that
  9267. CoreAdminHandler could return consistent information regardless of whether
  9268. there is a a default core name or not. (steffkes, hossman)
  9269. * SOLR-3370: fixed CSVResponseWriter to respect globs in the 'fl' param
  9270. (Keith Fligg via hossman)
  9271. * SOLR-3436: Group count incorrect when not all shards are queried in the second
  9272. pass. (Francois Perron, Martijn van Groningen)
  9273. * SOLR-3454: Exception when using result grouping with main=true and using
  9274. wt=javabin. (Ludovic Boutros, Martijn van Groningen)
  9275. * SOLR-3446: Better errors when PatternTokenizerFactory is configured with
  9276. an invalid pattern, and include the 'name' whenever possible in plugin init
  9277. error messages. (hossman)
  9278. * LUCENE-4075: Cleaner path usage in TestXPathEntityProcessor
  9279. (Greg Bowyer via hossman)
  9280. * SOLR-2923: IllegalArgumentException when using useFilterForSortedQuery on an
  9281. empty index. (Adrien Grand via Mark Miller)
  9282. * SOLR-2352: Fixed TermVectorComponent so that it will not fail if the fl
  9283. param contains globs or psuedo-fields (hossman)
  9284. * SOLR-3541: add missing solrj dependencies to binary packages.
  9285. (Thijs Vonk via siren)
  9286. * SOLR-3522: fixed parsing of the 'literal()' function (hossman)
  9287. * SOLR-3548: Fixed a bug in the cachability of queries using the {!join}
  9288. parser or the strdist() function, as well as some minor improvements to
  9289. the hashCode implementation of {!bbox} and {!geofilt} queries.
  9290. (hossman)
  9291. * SOLR-3470: contrib/clustering: custom Carrot2 tokenizer and stemmer factories
  9292. are respected now (Stanislaw Osinski, Dawid Weiss)
  9293. * SOLR-3430: Added a new DIH test against a real SQL database. Fixed problems
  9294. revealed by this new test related to the expanded cache support added to
  9295. 3.6/SOLR-2382 (James Dyer)
  9296. * SOLR-1958: When using the MailEntityProcessor, import would fail if
  9297. fetchMailsSince was not specified. (Max Lynch via James Dyer)
  9298. * SOLR-4289: Admin UI - JVM memory bar - dark grey "used" width is too small
  9299. (steffkes, elyograg)
  9300. Other Changes
  9301. ----------------------
  9302. * SOLR-1846: Eliminate support for the abortOnConfigurationError
  9303. option. It has never worked very well, and in recent versions of
  9304. Solr hasn't worked at all. (hossman)
  9305. * SOLR-1889: The default logic for the 'mm' param of DismaxQParser and
  9306. ExtendedDismaxQParser has been changed to be determined based on the
  9307. effective value of the 'q.op' param (hossman)
  9308. * SOLR-1946: Misc improvements to the SystemInfoHandler: /admin/system
  9309. (hossman)
  9310. * SOLR-2289: Tweak spatial coords for example docs so they are a bit
  9311. more spread out (Erick Erickson via hossman)
  9312. * SOLR-2288: Small tweaks to eliminate compiler warnings. primarily
  9313. using Generics where applicable in method/object declarations, and
  9314. adding @SuppressWarnings("unchecked") when appropriate (hossman)
  9315. * SOLR-2375: Suggester Lookup implementations now store trie data
  9316. and load it back on init. This means that large tries don't have to be
  9317. rebuilt on every commit or core reload. (ab)
  9318. * SOLR-2413: Support for returning multi-valued fields w/o <arr> tag
  9319. in the XMLResponseWriter was removed. XMLResponseWriter only
  9320. no longer work with values less then 2.2 (ryan)
  9321. * SOLR-2423: FieldType argument changed from String to Object
  9322. Conversion from SolrInputDocument > Object > Fieldable is now managed
  9323. by FieldType rather then DocumentBuilder. (ryan)
  9324. * SOLR-2461: QuerySenderListener and AbstractSolrEventListener are
  9325. now public (hossman)
  9326. * LUCENE-2995: Moved some spellchecker and suggest APIs to modules/suggest:
  9327. HighFrequencyDictionary, SortedIterator, TermFreqIterator, and the
  9328. suggester APIs and implementations. (rmuir)
  9329. * SOLR-2576: Remove deprecated SpellingResult.add(Token, int).
  9330. (James Dyer via rmuir)
  9331. * LUCENE-3232: Moved MutableValue classes to new 'common' module. (Chris Male)
  9332. * LUCENE-2883: FunctionQuery, DocValues (and its impls), ValueSource (and its
  9333. impls) and BoostedQuery have been consolidated into the queries module. They
  9334. can now be found at o.a.l.queries.function.
  9335. * SOLR-2027: FacetField.getValues() now returns an empty list if there are no
  9336. values, instead of null (Chris Male)
  9337. * SOLR-1825: SolrQuery.addFacetQuery now enables facets automatically, like
  9338. addFacetField (Chris Male)
  9339. * SOLR-2663: FieldTypePluginLoader has been refactored out of IndexSchema
  9340. and made public. (hossman)
  9341. * SOLR-2331,SOLR-2691: Refactor CoreContainer's SolrXML serialization code and improve testing
  9342. (Yury Kats, hossman, Mark Miller)
  9343. * SOLR-2698: Enhance CoreAdmin STATUS command to return index size.
  9344. (Yury Kats, hossman, Mark Miller)
  9345. * SOLR-2654: The same Directory instance is now always used across a SolrCore so that
  9346. it's easier to add other DirectoryFactory's without static caching hacks.
  9347. (Mark Miller)
  9348. * LUCENE-3286: 'luke' ant target has been disabled due to incompatibilities with XML
  9349. queryparser location (Chris Male)
  9350. * SOLR-1897: The data dir from the core descriptor should override the data dir from
  9351. the solrconfig.xml rather than the other way round. (Mark Miller)
  9352. * SOLR-2756: Maven configuration: Excluded transitive stax:stax-api dependency
  9353. from org.codehaus.woodstox:wstx-asl dependency. (David Smiley via Steve Rowe)
  9354. * SOLR-2588: Moved VelocityResponseWriter back to contrib module in order to
  9355. remove it as a mandatory core dependency. (ehatcher)
  9356. * SOLR-2862: More explicit lexical resources location logged if Carrot2 clustering
  9357. extension is used. Fixed solr. impl. of IResource and IResourceLookup. (Dawid Weiss)
  9358. * SOLR-1123: Changed JSONResponseWriter to now use application/json as its Content-Type
  9359. by default. However the Content-Type can be overwritten and is set to text/plain in
  9360. the example configuration. (Uri Boness, Chris Male)
  9361. * SOLR-2607: Removed deprecated client/ruby directory, which included solr-ruby and flare.
  9362. (ehatcher)
  9363. * SOLR-3032: logOnce from SolrException logOnce and all the supporting
  9364. structure is gone. abortOnConfigurationError is also gone as it is no longer referenced.
  9365. Errors should be caught and logged at the top-most level or logged and NOT propagated up the
  9366. chain. (Erick Erickson)
  9367. * SOLR-2105: Remove support for deprecated "update.processor" (since 3.2), in favor of
  9368. "update.chain" (janhoy)
  9369. * SOLR-3005: Default QueryResponseWriters are now initialized via init() with an empty
  9370. NamedList. (Gasol Wu, Chris Male)
  9371. * SOLR-2607: Removed obsolete client/ folder (ehatcher, Eric Pugh, janhoy)
  9372. * SOLR-3202, SOLR-3244: Dropping Support for JSP. New Admin UI is all client side
  9373. (ryan, Aliaksandr Zhuhrou, Uwe Schindler)
  9374. * SOLR-3159: Upgrade example and tests to run with Jetty 8 (ryan)
  9375. * SOLR-3254: Upgrade Solr to Tika 1.1 (janhoy)
  9376. * SOLR-3329: Dropped getSourceID() from SolrInfoMBean and using
  9377. getClass().getPackage().getSpecificationVersion() for Version. (ryan)
  9378. * SOLR-3302: Upgraded SLF4j to version 1.6.4 (hossman)
  9379. * SOLR-3322: Add more context to IndexReaderFactory.newReader (ab)
  9380. * SOLR-3343: Moved FastWriter, FileUtils, RegexFileFilter, RTimer and SystemIdResolver
  9381. from org.apache.solr.common to org.apache.solr.util (Chris Male)
  9382. * SOLR-3357: ResourceLoader.newInstance now accepts a Class representation of the expected
  9383. instance type (Chris Male)
  9384. * SOLR-3388: HTTP caching is now disabled by default for RequestUpdateHandlers. (ryan)
  9385. * SOLR-3309: web.xml now specifies metadata-complete=true (which requires
  9386. Servlet 2.5) to prevent servlet containers from scanning class annotations
  9387. on startup. This allows for faster startup times on some servlet containers.
  9388. (Bill Bell, hossman)
  9389. * SOLR-1893: Refactored some common code from LRUCache and FastLRUCache into
  9390. SolrCacheBase (Tomás Fernández Löbbe via hossman)
  9391. * SOLR-3403: Deprecated Analysis Factories now log their own deprecation messages.
  9392. No logging support is provided by Factory parent classes. (Chris Male)
  9393. * SOLR-1258: PingRequestHandler is now directly configured with a
  9394. "healthcheckFile" instead of looking for the legacy
  9395. <admin><healthcheck/></admin> syntax. Filenames specified as relative
  9396. paths have been fixed so that they are resolved against the data dir
  9397. instead of the CWD of the java process. (hossman)
  9398. * SOLR-3083: JMX beans now report Numbers as numeric values rather then String
  9399. (Tagged Siteops, Greg Bowyer via ryan)
  9400. * SOLR-2796: Due to low level changes to support SolrCloud, the uniqueKey
  9401. field can no longer be populated via <copyField/> or <field default=...>
  9402. in the schema.xml.
  9403. * SOLR-3534: The Dismax and eDismax query parsers will fall back on the 'df' parameter
  9404. when 'qf' is absent. And if neither is present nor the schema default search field
  9405. then an exception will be thrown now. (dsmiley)
  9406. * SOLR-3262: The "threads" feature of DIH is removed (deprecated in Solr 3.6)
  9407. (James Dyer)
  9408. * SOLR-3422: Refactored DIH internal data classes. All entities in
  9409. data-config.xml must have a name (James Dyer)
  9410. Documentation
  9411. ----------------------
  9412. * SOLR-2232: Improved README info on solr.solr.home in examples
  9413. (Eric Pugh and hossman)
  9414. ================== 3.6.2 ==================
  9415. Bug Fixes
  9416. ----------------------
  9417. * SOLR-3790: ConcurrentModificationException could be thrown when using hl.fl=*.
  9418. (yonik, koji)
  9419. * SOLR-3589: Edismax parser does not honor mm parameter if analyzer splits a token.
  9420. (Tom Burton-West, Robert Muir)
  9421. ================== 3.6.1 ==================
  9422. More information about this release, including any errata related to the
  9423. release notes, upgrade instructions, or other changes may be found online at:
  9424. https://wiki.apache.org/solr/Solr3.6.1
  9425. Bug Fixes
  9426. * LUCENE-3969: Throw IAE on bad arguments that could cause confusing errors in
  9427. PatternTokenizer. CommonGrams populates PositionLengthAttribute correctly.
  9428. (Uwe Schindler, Mike McCandless, Robert Muir)
  9429. * SOLR-3361: ReplicationHandler "maxNumberOfBackups" doesn't work if backups are triggered on commit
  9430. (James Dyer, Tomás Fernández Löbbe)
  9431. * SOLR-3375: Fix charset problems with HttpSolrServer (Roger Håkansson, yonik, siren)
  9432. * SOLR-3436: Group count incorrect when not all shards are queried in the second
  9433. pass. (Francois Perron, Martijn van Groningen)
  9434. * SOLR-3454: Exception when using result grouping with main=true and using
  9435. wt=javabin. (Ludovic Boutros, Martijn van Groningen)
  9436. * SOLR-3489: Config file replication less error prone (Jochen Just via janhoy)
  9437. * SOLR-3477: SOLR does not start up when no cores are defined (Tomás Fernández Löbbe via tommaso)
  9438. * SOLR-3470: contrib/clustering: custom Carrot2 tokenizer and stemmer factories
  9439. are respected now (Stanislaw Osinski, Dawid Weiss)
  9440. * SOLR-3360: More DIH bug fixes for the deprecated "threads" parameter.
  9441. (Mikhail Khludnev, Claudio R, via James Dyer)
  9442. * SOLR-3430: Added a new DIH test against a real SQL database. Fixed problems
  9443. revealed by this new test related to the expanded cache support added to
  9444. 3.6/SOLR-2382 (James Dyer)
  9445. * SOLR-3336: SolrEntityProcessor substitutes most variables at query time.
  9446. (Michael Kroh, Lance Norskog, via Martijn van Groningen)
  9447. ================== 3.6.0 ==================
  9448. More information about this release, including any errata related to the
  9449. release notes, upgrade instructions, or other changes may be found online at:
  9450. https://wiki.apache.org/solr/Solr3.6
  9451. Upgrading from Solr 3.5
  9452. ----------------------
  9453. * SOLR-2983: As a consequence of moving the code which sets a MergePolicy from SolrIndexWriter to SolrIndexConfig,
  9454. (custom) MergePolicies should now have an empty constructor; thus an IndexWriter should not be passed as constructor
  9455. parameter but instead set using the setIndexWriter() method.
  9456. * As doGet() methods in SimplePostTool was changed to static, the client applications of this
  9457. class need to be recompiled.
  9458. * In Solr version 3.5 and earlier, HTMLStripCharFilter had known bugs in the
  9459. character offsets it provided, triggering e.g. exceptions in highlighting.
  9460. HTMLStripCharFilter has been re-implemented, addressing this and other
  9461. issues. See the entry for LUCENE-3690 in the Bug Fixes section below for a
  9462. detailed list of changes. For people who depend on the behavior of
  9463. HTMLStripCharFilter in Solr version 3.5 and earlier: the old implementation
  9464. (bugs and all) is preserved as LegacyHTMLStripCharFilter.
  9465. * As of Solr 3.6, the <indexDefaults> and <mainIndex> sections of solrconfig.xml are deprecated
  9466. and replaced with a new <indexConfig> section. Read more in SOLR-1052 below.
  9467. * SOLR-3040: The DIH's admin UI (dataimport.jsp) now requires DIH request handlers to start with
  9468. a '/'. (dsmiley)
  9469. * SOLR-3161: <requestDispatcher handleSelect="false"> is now the default. An existing config will
  9470. probably work as-is because handleSelect was explicitly enabled in default configs. HandleSelect
  9471. makes /select work as well as enables the 'qt' parameter. Instead, consider explicitly
  9472. configuring /select as is done in the example solrconfig.xml, and register your other search
  9473. handlers with a leading '/' which is a recommended practice. (David Smiley, Erik Hatcher)
  9474. * SOLR-3161: Don't use the 'qt' parameter with a leading '/'. It probably won't work in 4.0
  9475. and it's now limited in 3.6 to SearchHandler subclasses that aren't lazy-loaded.
  9476. * SOLR-2724: Specifying <defaultSearchField> and <solrQueryParser defaultOperator="..."/> in
  9477. schema.xml is now considered deprecated. Instead you are encouraged to specify these via the "df"
  9478. and "q.op" parameters in your request handler definition. (David Smiley)
  9479. * Bugs found and fixed in the SignatureUpdateProcessor that previously caused
  9480. some documents to produce the same signature even when the configured fields
  9481. contained distinct (non-String) values. Users of SignatureUpdateProcessor
  9482. are strongly advised that they should re-index as document signatures may
  9483. have now changed. (see SOLR-3200 & SOLR-3226 for details)
  9484. New Features
  9485. ----------------------
  9486. * SOLR-2020: Add Java client that uses Apache Http Components http client (4.x).
  9487. (Chantal Ackermann, Ryan McKinley, Yonik Seeley, siren)
  9488. * SOLR-2854: Now load URL content stream data (via stream.url) when called for during request handling,
  9489. rather than loading URL content streams automatically regardless of use.
  9490. (David Smiley and Ryan McKinley via ehatcher)
  9491. * SOLR-2904: BinaryUpdateRequestHandler should be able to accept multiple update requests from
  9492. a stream (shalin)
  9493. * SOLR-1565: StreamingUpdateSolrServer supports RequestWriter API and therefore, javabin update
  9494. format (shalin)
  9495. * SOLR-2438 added MultiTermAwareComponent to the various classes to allow automatic lowercasing
  9496. for multiterm queries (wildcards, regex, prefix, range, etc). You can now optionally specify a
  9497. "multiterm" analyzer in our schema.xml, but Solr should "do the right thing" if you don't
  9498. specify <fieldType="multiterm"> (Pete Sturge Erick Erickson, Mentoring from Seeley and Muir)
  9499. * SOLR-2919: Added support for localized range queries when the analysis chain uses
  9500. CollationKeyFilter or ICUCollationKeyFilter. (Michael Sokolov, rmuir)
  9501. * SOLR-2982: Added BeiderMorseFilterFactory for Beider-Morse (BMPM) phonetic encoder. Upgrades
  9502. commons-codec to version 1.6 (Brooke Schreier Ganz, rmuir)
  9503. * SOLR-1843: A new "rootName" attribute is now available when
  9504. configuring <jmx/> in solrconfig.xml. If this attribute is set,
  9505. Solr will use it as the root name for all MBeans Solr exposes via
  9506. JMX. The default root name is "solr" followed by the core name.
  9507. (Constantijn Visinescu, hossman)
  9508. * SOLR-2906: Added LFU cache options to Solr. (Shawn Heisey via Erick Erickson)
  9509. * SOLR-3036: Ability to specify overwrite=false on the URL for XML updates.
  9510. (Sami Siren via yonik)
  9511. * SOLR-2603: Add the encoding function for alternate fields in highlighting.
  9512. (Massimo Schiavon, koji)
  9513. * SOLR-1729: Evaluation of NOW for date math is done only once per request for
  9514. consistency, and is also propagated to shards in distributed search.
  9515. Adding a parameter NOW=<time_in_ms> to the request will override the
  9516. current time. (Peter Sturge, yonik, Simon Willnauer)
  9517. * SOLR-1709: Distributed support for Date and Numeric Range Faceting
  9518. (Peter Sturge, David Smiley, hossman, Simon Willnauer)
  9519. * SOLR-3054, LUCENE-3671: Add TypeTokenFilterFactory that creates TypeTokenFilter
  9520. that filters tokens based on their TypeAttribute. (Tommaso Teofili via
  9521. Uwe Schindler)
  9522. * LUCENE-3305, SOLR-3056: Added Kuromoji morphological analyzer for Japanese.
  9523. See the 'text_ja' fieldtype in the example to get started.
  9524. (Christian Moen, Masaru Hasegawa via Robert Muir)
  9525. * SOLR-1860: StopFilterFactory, CommonGramsFilterFactory, and
  9526. CommonGramsQueryFilterFactory can optionally read stopwords in Snowball
  9527. format (specify format="snowball"). (Robert Muir)
  9528. * SOLR-3105: ElisionFilterFactory optionally allows the parameter
  9529. ignoreCase (default=false). (Robert Muir)
  9530. * LUCENE-3714: Add WFSTLookupFactory, a suggester that uses a weighted FST
  9531. for more fine-grained suggestions. (Mike McCandless, Dawid Weiss, Robert Muir)
  9532. * SOLR-3143: Add SuggestQueryConverter, a QueryConverter intended for
  9533. auto-suggesters. (Robert Muir)
  9534. * SOLR-3033: ReplicationHandler's backup command now supports a 'maxNumberOfBackups'
  9535. init param that can be used to delete all but the most recent N backups. (Torsten Krah, James Dyer)
  9536. * SOLR-2202: Currency FieldType, whith support for currencies and exchange rates
  9537. (Greg Fodor & Andrew Morrison via janhoy, rmuir, Uwe Schindler)
  9538. * SOLR-3026: eDismax: Locking down which fields can be explicitly queried (user fields aka uf)
  9539. (janhoy, hossmann, Tomás Fernández Löbbe)
  9540. * SOLR-2826: URLClassify Update Processor (janhoy)
  9541. * SOLR-2764: Create a NorwegianLightStemmer and NorwegianMinimalStemmer (janhoy)
  9542. * SOLR-3221: Added the ability to directly configure aspects of the concurrency
  9543. and thread-pooling used within distributed search in solr. This allows for finer
  9544. grained controlled and can be tuned by end users to target their own specific
  9545. requirements. This builds on the work of the HttpCommComponent and uses the same configuration
  9546. block to configure the thread pool. The default configuration has
  9547. the same behaviour as solr 3.5, favouring throughput over latency. More
  9548. information can be found on the wiki (http://wiki.apache.org/solr/SolrConfigXml) (Greg Bowyer)
  9549. * SOLR-2001: The query component will substitute an empty query that matches
  9550. no documents if the query parser returns null. This also prevents an
  9551. exception from being thrown by the default parser if "q" is missing. (yonik)
  9552. - SOLR-435: if q is "" then it's also acceptable. (dsmiley, hoss)
  9553. * SOLR-2919: Added parametric tailoring options to ICUCollationKeyFilterFactory.
  9554. These can be used to customize range query/sort behavior, for example to
  9555. support numeric collation, ignore punctuation/whitespace, ignore accents but
  9556. not case, control whether upper/lowercase values are sorted first, etc. (rmuir)
  9557. * SOLR-2346: Add a chance to set content encoding explicitly via content type
  9558. of stream for extracting request handler. This is convenient when Tika's
  9559. auto detector cannot detect encoding, especially the text file is too short
  9560. to detect encoding. (koji)
  9561. * SOLR-1499: Added SolrEntityProcessor that imports data from another Solr core
  9562. or instance based on a specified query.
  9563. (Lance Norskog, Erik Hatcher, Pulkit Singhal, Ahmet Arslan, Luca Cavanna,
  9564. Martijn van Groningen)
  9565. * SOLR-3190: Minor improvements to SolrEntityProcessor. Add more consistency
  9566. between solr parameters and parameters used in SolrEntityProcessor and
  9567. ability to specify a custom HttpClient instance.
  9568. (Luca Cavanna via Martijn van Groningen)
  9569. * SOLR-2382: Added pluggable cache support to DIH so that any Entity can be
  9570. made cache-able by adding the "cacheImpl" parameter. Include
  9571. "SortedMapBackedCache" to provide in-memory caching (as previously this was
  9572. the only option when using CachedSqlEntityProcessor). Users can provide
  9573. their own implementations of DIHCache for other caching strategies.
  9574. Deprecate CachedSqlEntityProcessor in favor of specifing "cacheImpl" with
  9575. SqlEntityProcessor. Make SolrWriter implement DIHWriter and allow the
  9576. possibility of pluggable Writers (DIH writing to something other than Solr).
  9577. (James Dyer, Noble Paul)
  9578. Optimizations
  9579. ----------------------
  9580. * SOLR-1931: Speedup for LukeRequestHandler and admin/schema browser. New parameter
  9581. reportDocCount defaults to 'false'. Old behavior still possible by specifying this as 'true'
  9582. (Erick Erickson)
  9583. * SOLR-3012: Move System.getProperty("type") in postData() to main() and add type argument so that
  9584. the client applications of SimplePostTool can set content type via method argument. (koji)
  9585. * SOLR-2888: FSTSuggester refactoring: internal storage is now UTF-8,
  9586. external sorting (on disk) prevents OOMs even with large data sets
  9587. (the bottleneck is now FST construction), code cleanups and API cleanups.
  9588. (Dawid Weiss, Robert Muir)
  9589. Bug Fixes
  9590. ----------------------
  9591. * SOLR-3187 SystemInfoHandler leaks filehandles (siren)
  9592. * LUCENE-3820: Fixed invalid position indexes by reimplementing PatternReplaceCharFilter.
  9593. This change also drops real support for boundary characters -- all input is prebuffered
  9594. for pattern matching. (Dawid Weiss)
  9595. * SOLR-3068: Fixed NPE in ThreadDumpHandler (siren)
  9596. * SOLR-2912: Fixed File descriptor leak in ShowFileRequestHandler (Michael Ryan, shalin)
  9597. * SOLR-2819: Improved speed of parsing hex entities in HTMLStripCharFilter
  9598. (Bernhard Berger, hossman)
  9599. * SOLR-2509: StringIndexOutOfBoundsException in the spellchecker collate when the term contains
  9600. a hyphen. (Thomas Gambier caught the bug, Steffen Godskesen did the patch, via Erick Erickson)
  9601. * SOLR-2955: Fixed IllegalStateException when querying with group.sort=score desc in sharded
  9602. environment. (Steffen Elberg Godskesen, Martijn van Groningen)
  9603. * SOLR-2956: Fixed inconsistencies in the flags (and flag key) reported by
  9604. the LukeRequestHandler (hossman)
  9605. * SOLR-1730: Made it clearer when a core failed to load as well as better logging when the
  9606. QueryElevationComponent fails to properly initialize (gsingers)
  9607. * SOLR-1520: QueryElevationComponent now supports non-string ids (gsingers)
  9608. * SOLR-3024: Fixed JSONTestUtil.matchObj, in previous releases it was not
  9609. respecting the 'delta' arg (David Smiley via hossman)
  9610. * SOLR-2542: Fixed DIH Context variables which were broken for all scopes other
  9611. then SCOPE_ENTITY (Linbin Chen & Frank Wesemann via hossman)
  9612. * SOLR-3042: Fixed Maven Jetty plugin configuration.
  9613. (David Smiley via Steve Rowe)
  9614. * SOLR-2970: CSV ResponseWriter returns fields defined as stored=false in schema (janhoy)
  9615. * LUCENE-3690, LUCENE-2208, SOLR-882, SOLR-42: Re-implemented
  9616. HTMLStripCharFilter as a JFlex-generated scanner and moved it to
  9617. lucene/contrib/analyzers/common/. See below for a list of bug fixes and
  9618. other changes. To get the same behavior as HTMLStripCharFilter in Solr
  9619. version 3.5 and earlier (including the bugs), use LegacyHTMLStripCharFilter,
  9620. which is the previous implementation.
  9621. Behavior changes from the previous version:
  9622. - Known offset bugs are fixed.
  9623. - The "Mark invalid" exceptions reported in SOLR-1283 are no longer
  9624. triggered (the bug is still present in LegacyHTMLStripCharFilter).
  9625. - The character entity "&apos;" is now always properly decoded.
  9626. - More cases of <script> tags are now properly stripped.
  9627. - CDATA sections are now handled properly.
  9628. - Valid tag name characters now include the supplementary Unicode characters
  9629. from Unicode character classes [:ID_Start:] and [:ID_Continue:].
  9630. - Uppercase character entities "&QUOT;", "&COPY;", "&GT;", "&LT;", "&REG;",
  9631. and "&AMP;" are now recognized and handled as if they were in lowercase.
  9632. - The REPLACEMENT CHARACTER U+FFFD is now used to replace numeric character
  9633. entities for unpaired UTF-16 low and high surrogates (in the range
  9634. [U+D800-U+DFFF]).
  9635. - Properly paired numeric character entities for UTF-16 surrogates are now
  9636. converted to the corresponding code units.
  9637. - Opening tags with unbalanced quotation marks are now properly stripped.
  9638. - Literal "<" and ">" characters in opening tags, regardless of whether they
  9639. appear inside quotation marks, now inhibit recognition (and stripping) of
  9640. the tags. The only exception to this is for values of event-handler
  9641. attributes, e.g. "onClick", "onLoad", "onSelect".
  9642. - A newline '\n' is substituted instead of a space for stripped HTML markup.
  9643. - Nothing is substituted for opening and closing inline tags - they are
  9644. simply removed. The list of inline tags is (case insensitively): <a>,
  9645. <abbr>, <acronym>, <b>, <basefont>, <bdo>, <big>, <cite>, <code>, <dfn>,
  9646. <em>, <font>, <i>, <img>, <input>, <kbd>, <label>, <q>, <s>, <samp>,
  9647. <select>, <small>, <span>, <strike>, <strong>, <sub>, <sup>, <textarea>,
  9648. <tt>, <u>, and <var>.
  9649. - HTMLStripCharFilterFactory now handles HTMLStripCharFilter's "escapedTags"
  9650. feature: opening and closing tags with the given names, including any
  9651. attributes and their values, are left intact in the output.
  9652. (Steve Rowe)
  9653. * LUCENE-3717: Fixed offset bugs in TrimFilter, WordDelimiterFilter, and
  9654. HyphenatedWordsFilter where they would create invalid offsets in
  9655. some situations, leading to problems in highlighting. (Robert Muir)
  9656. * SOLR-2280: commitWithin ignored for a delete query (Juan Grande via janhoy)
  9657. * SOLR-3073: Fixed 'Invalid UUID string' error when having an UUID field as
  9658. the unique key and executing a distributed grouping request. (Devon Krisman, Martijn van Groningen)
  9659. * SOLR-3084: Fixed initialization error when using
  9660. <queryResponseWriter default="true" ... /> (Bernd Fehling and hossman)
  9661. * SOLR-3109: Fixed numerous redundant shard requests when using distributed grouping.
  9662. (rblack via Martijn van Groningen)
  9663. * SOLR-3052: Fixed typo in distributed grouping parameters.
  9664. (Martijn van Groningen, Grant Ingersoll)
  9665. * SOLR-2909: Add support for ResourceLoaderAware tokenizerFactories in synonym
  9666. filter factories. (Tom Klonikowski, Jun Ohtani via Koji Sekiguchi)
  9667. * SOLR-3168: ReplicationHandler "numberToKeep" & "maxNumberOfBackups" parameters
  9668. would keep only 1 backup, even if more than 1 was specified (Neil Hooey, James Dyer)
  9669. * SOLR-3009: hitGrouped.vm isn't shipped with 3.x (ehatcher, janhoy)
  9670. * SOLR-3195: timeAllowed is ignored for grouping queries
  9671. (Russell Black via Martijn van Groningen)
  9672. * SOLR-2124: Do not log stack traces for "Service Disabled" / 503 Exceptions (PingRequestHandler, etc)
  9673. (James Dyer, others)
  9674. * SOLR-3260: DataImportHandler: ScriptTransformer gives better error messages when
  9675. problems arise on initialization (no Script Engine, invalid script, etc). (James Dyer)
  9676. * SOLR-2959: edismax now respects the magic fields '_val_' and '_query_'
  9677. (Michael Watts, hossman)
  9678. * SOLR-3074: fix SolrPluginUtils.docListToSolrDocumentList to respect the
  9679. list of fields specified. This fix also deprecates
  9680. DocumentBuilder.loadStoredFields which is not used anywhere in Solr,
  9681. and was fundamentally broken/bizarre.
  9682. (hossman, Ahmet Arslan)
  9683. * SOLR-2291: fix JSONWriter to respect field list when writing SolrDocuments
  9684. (Ahmet Arslan via hossman)
  9685. * SOLR-3264: Fix CoreContainer and SolrResourceLoader logging to be more
  9686. clear about when SolrCores are being created, and stop misleading people
  9687. about SolrCore instanceDir's being the "Solr Home Dir" (hossman)
  9688. * SOLR-3046: Fix whitespace typo in DIH response "Time taken" (hossman)
  9689. * SOLR-3261: Fix edismax to respect query operators when literal colons
  9690. are used in query string. (Juan Grande via hossman)
  9691. * SOLR-3226: Fix SignatureUpdateProcessor to no longer ignore non-String
  9692. field values (Spyros Kapnissis, hossman)
  9693. * SOLR-3200: Fix SignatureUpdateProcessor "all fields" mode to use all
  9694. fields of each document instead of the fields specified by the first
  9695. document indexed (Spyros Kapnissis via hossman)
  9696. * SOLR-3316: Distributed grouping failed when rows parameter was set to 0 and
  9697. sometimes returned a wrong hit count as matches. (Cody Young, Martijn van Groningen)
  9698. * SOLR-3107: contrib/langid: When using the LangDetect implementation of
  9699. langid, set the random seed to 0, so that the same document is detected as
  9700. the same language with the same probability every time.
  9701. (Christian Moen via rmuir)
  9702. * SOLR-2937: Configuring the number of contextual snippets used for
  9703. search results clustering. The hl.snippets parameter is now respected
  9704. by the clustering plugin, can be overridden by carrot.summarySnippets
  9705. if needed (Stanislaw Osinski).
  9706. * SOLR-2938: Clustering on multiple fields. The carrot.title and
  9707. carrot.snippet can now take comma- or space-separated lists of
  9708. field names to cluster (Stanislaw Osinski).
  9709. * SOLR-2939: Clustering of multilingual search results. The document's
  9710. language field be passed in the carrot.lang parameter, the carrot.lcmap
  9711. parameter enables mapping of language codes to ISO 639 (Stanislaw Osinski).
  9712. * SOLR-2940: Passing values for custom Carrot2 fields to Clustering component.
  9713. The custom field mapping are defined using the carrot.custom parameter
  9714. (Stanislaw Osinski).
  9715. * SOLR-2941: NullPointerException on clustering component initialization
  9716. when schema does not have a unique key field (Stanislaw Osinski).
  9717. * SOLR-2942: ClassCastException when passing non-textual fields to
  9718. clustering component (Stanislaw Osinski).
  9719. Other Changes
  9720. ----------------------
  9721. * SOLR-2922: Upgrade commons-io and commons-lang to 2.1 and 2.6, respectively. (koji)
  9722. * SOLR-2920: Refactor frequent conditional use of DefaultSolrParams and
  9723. AppendedSolrParams into factory methods.
  9724. (David Smiley via hossman)
  9725. * SOLR-3032: Deprecate logOnce from SolrException logOnce and all the supporting
  9726. structure will disappear in 4.0. Errors should be caught and logged at the
  9727. top-most level or logged and NOT propagated up the chain. (Erick Erickson)
  9728. * SOLR-2718: Add ability to lazy load response writers, defined with startup="lazy".
  9729. (ehatcher)
  9730. * SOLR-2901: Upgrade Solr to Tika 1.0 (janhoy)
  9731. * SOLR-3059: Example XSL stylesheet for indexing query result XML (janhoy)
  9732. * SOLR-3097, SOLR-3105: Add analysis configurations for different languages to
  9733. the example. (Christian Moen, Robert Muir)
  9734. * SOLR-3005: Default QueryResponseWriters are now initialized via init() with an empty
  9735. NamedList. (Gasol Wu, Chris Male)
  9736. * SOLR-3140: Upgrade schema version to 1.5, where omitNorms defaults to "true" for all
  9737. primitive (non-analyzed) field types such as int, float, date, bool, string.. (janhoy)
  9738. * SOLR-3077: Better error messages when attempting to use "blank" field names
  9739. (Antony Stubbs via hossman)
  9740. * SOLR-2712: expecting fl=score to return all fields is now deprecated.
  9741. In solr 4.0, this will only return the score. (ryan)
  9742. * SOLR-3156: Check for Lucene directory locks at startup. In previous versions
  9743. this check was only performed during modifying (e.g. adding and deleting
  9744. documents) the index. (Luca Cavanna via Martijn van Groningen)
  9745. * SOLR-1052: Deprecated <indexDefaults> and <mainIndex> in solrconfig.xml
  9746. From now, all settings go in the new <indexConfig> tag, and some defaults are
  9747. changed: useCompoundFile=false, ramBufferSizeMB=32, lockType=native, so that
  9748. the effect of NOT specifying <indexConfig> at all gives same result as the
  9749. example config used to give in 3.5 (janhoy, gsingers)
  9750. * SOLR-3294: In contrib/clustering/lib/, replaced the manually retrowoven
  9751. Java 1.5-compatible carrot2-core-3.5.0.jar (which is not publicly available,
  9752. except from the Solr Subversion repository), with newly released Java
  9753. 1.5-compatible carrot2-core-3.5.0.1.jar (hosted on the Maven Central
  9754. repository). Also updated dependencies jackson-core-asl and
  9755. jackson-mapper-asl (both v1.5.2 -> v1.7.4). (Dawid Weiss, Steve Rowe)
  9756. * SOLR-3295: netcdf jar is excluded from the binary release (and disabled in
  9757. ivy.xml) because it requires java 6. If you want to parse this content with
  9758. extracting request handler and are willing to use java 6, just add the jar.
  9759. (rmuir)
  9760. * SOLR-3142: DIH Imports no longer default optimize to true, instead false.
  9761. If you want to force all segments to be merged into one, you can specify
  9762. this parameter yourself. NOTE: this can be very expensive operation and
  9763. usually does not make sense for delta-imports. (Robert Muir)
  9764. Build
  9765. ----------------------
  9766. * SOLR-2487: Add build target to package war without slf4j jars (janhoy)
  9767. * SOLR-3112: Fix tests not to write to src/test-files (Luca Cavanna via Robert Muir)
  9768. * LUCENE-3753: Restructure the Solr build system. (Steve Rowe)
  9769. * SOLR-3204: The packaged pre-release artifact of Commons CSV used the original
  9770. package name (org.apache.commons.csv). This created a compatibility issue as
  9771. the Apache Commons team works toward an official release of Commons CSV.
  9772. The source of Commons CSV was added under a separate package name to the
  9773. Solr source code. (Uwe Schindler, Chris Male, Emmanuel Bourg)
  9774. * LUCENE-3930: Changed build system to use Apache Ivy for retrival of 3rd
  9775. party JAR files. Please review README.txt for instructions.
  9776. (Robert Muir, Chris Male, Uwe Schindler, Steven Rowe, Hossman)
  9777. ================== 3.5.0 ==================
  9778. New Features
  9779. ----------------------
  9780. * SOLR-2749: Add boundary scanners for FastVectorHighlighter. <boundaryScanner/>
  9781. can be specified with a name in solrconfig.xml, and use hl.boundaryScanner=name
  9782. parameter to specify the named <boundaryScanner/>. (koji)
  9783. * SOLR-2066,SOLR-2776: Added support for distributed grouping.
  9784. (Martijn van Groningen, Jasper van Veghel, Matt Beaumont)
  9785. * SOLR-2769: Added factory for the new Hunspell stemmer capable of doing stemming
  9786. for 99 languages (janhoy, cmale)
  9787. * SOLR-1979: New contrib "langid". Adds language identification capabilities as an
  9788. Update Processor, using Tika's LanguageIdentifier or Cybozu language-detection
  9789. library (janhoy, Tommaso Teofili, gsingers)
  9790. * SOLR-2818: Added before/after count response parsing support for range facets in
  9791. SolrJ. (Bernhard Frauendienst via Martijn van Groningen)
  9792. * SOLR-2276: Add support for cologne phonetic to PhoneticFilterFactory.
  9793. (Marc Pompl via rmuir)
  9794. * SOLR-1926: Add hl.q parameter. (koji)
  9795. * SOLR-2881: Numeric types now support sortMissingFirst/Last. This includes Trie and date types
  9796. (Ryan McKinley, Mike McCandless, Uwe Schindler, Erick Erickson)
  9797. * SOLR-1023: StatsComponent now supports date fields and string fields.
  9798. (Chris Male, Mark Holland, Gunnlaugur Thor Briem, Ryan McKinley)
  9799. * SOLR-2578: ReplicationHandler's backup command now supports a 'numberToKeep'
  9800. request param that can be used to delete all but the most recent N backups.
  9801. (James Dyer via hossman)
  9802. * SOLR-2839: Add alternative implementation to contrib/langid supporting 53
  9803. languages, based on http://code.google.com/p/language-detection/ (rmuir)
  9804. Optimizations
  9805. ----------------------
  9806. * SOLR-2742: SolrJ: Provide commitWithinMs as optional parameter for all add() methods,
  9807. making the feature more conveniently accessible for developers (janhoy)
  9808. Bug Fixes
  9809. ----------------------
  9810. * SOLR-2748: The CommitTracker used for commitWith or autoCommit by maxTime
  9811. could commit too frequently and could block adds until a new searcher was
  9812. registered. (yonik)
  9813. * SOLR-2726: Fixed NullPointerException when using spellcheck.q with Suggester.
  9814. (Bernd Fehling, valentin via rmuir)
  9815. * SOLR-2772: Fixed Date parsing/formatting of years 0001-1000 (hossman)
  9816. * SOLR-2763: Extracting update request handler throws exception and returns 400
  9817. when zero-length file posted using multipart form post (janhoy)
  9818. * SOLR-2780: Fixed issue where multi select facets didn't respect group.truncate parameter.
  9819. (Martijn van Groningen, Ramzi Alqrainy)
  9820. * SOLR-2793: In rare cases (most likely during shutdown), a SolrIndexSearcher can be left
  9821. open if the executor rejects a task. (Mark Miller)
  9822. * SOLR-2791: Replication: abortfetch command is broken if replication was started
  9823. by fetchindex command instead of a regular poll (Yury Kats via shalin)
  9824. * SOLR-2861: Fix extremely rare race condition on commit that can result
  9825. in a NPE (yonik)
  9826. * SOLR-2813: Fix HTTP error codes returned when requests contain strings that
  9827. can not be parsed as numbers for Trie fields. (Jeff Crump and hossman)
  9828. * SOLR-2902: List of collations are wrong parsed in SpellCheckResponse causing
  9829. a wrong number of collation results in the response.
  9830. (Bastiaan Verhoef, James Dyer via Simon Willnauer)
  9831. * SOLR-2875: Fix the incorrect url in DIH example tika-data-config.xml
  9832. (Shinichiro Abe via koji)
  9833. Other Changes
  9834. ----------------------
  9835. * SOLR-2750: Make both "update.chain" and the deprecated "update.param" work
  9836. consistently everywhere; see also SOLR-2105. (Mark Miller, janhoy)
  9837. * LUCENE-3410: Deprecated the WordDelimiterFilter constructors accepting multiple
  9838. ints masquerading as booleans. Preferred constructor now accepts a single int
  9839. bitfield (Chris Male)
  9840. * SOLR-2758: Moved ConcurrentLRUCache from o.a.s.common.util package in the solrj
  9841. module to the o.a.s.util package in the Solr core module.
  9842. (David Smiley via Steve Rowe)
  9843. * SOLR-2766: Package individual javadoc sites for solrj and test-framework.
  9844. (Steve Rowe, Mike McCandless)
  9845. * SOLR-2771: Solr modules' tests should not depend on solr-core test classes;
  9846. move BufferingRequestProcessor from solr-core tests to test-framework so that
  9847. the Solr Cell module can use it. (janhoy, Steve Rowe)
  9848. * LUCENE-3457: Upgrade commons-compress to 1.2 (Doron Cohen)
  9849. * SOLR-2757: min() and max() functions now support an arbitrary number of
  9850. ValueSources (Bill Bell via hossman)
  9851. * SOLR-2372: Upgrade Solr to Tika 0.10 (janhoy)
  9852. * SOLR-2792: Allow case insensitive Hunspell stemming (janhoy, rmuir)
  9853. * SOLR-2862: More explicit lexical resources location logged if Carrot2 clustering
  9854. extension is used. Fixed solr. impl. of IResource and IResourceLookup. (Dawid Weiss)
  9855. * SOLR-2849: Fix dependencies in Maven POMs. (David Smiley via Steve Rowe)
  9856. * SOLR-2591: Remove commitLockTimeout option from solrconfig.xml (Luca Cavanna via Martijn van Groningen)
  9857. * SOLR-2746: Upgraded UIMA dependencies from *-2.3.1-SNAPSHOT.jar to *-2.3.1.jar.
  9858. ================== 3.4.0 ==================
  9859. Upgrading from Solr 3.3
  9860. ----------------------
  9861. * The Lucene index format has changed and as a result, once you upgrade,
  9862. previous versions of Solr will no longer be able to read your indices.
  9863. In a master/slave configuration, all searchers/slaves should be upgraded
  9864. before the master. If the master were to be updated first, the older
  9865. searchers would not be able to read the new index format.
  9866. * Previous versions of Solr silently allow and ignore some contradictory
  9867. properties specified in schema.xml. For example:
  9868. - indexed="false" omitNorms="false"
  9869. - indexed="false" omitTermFreqAndPositions="false"
  9870. Field property validation has now been fixed, to ensure that
  9871. contradictions like these now generate error messages. If users
  9872. have existing schemas that generate one of these new "conflicting
  9873. 'false' field options for non-indexed field" error messages the
  9874. conflicting "omit*" properties can safely be removed, or changed to
  9875. "true" for consistent behavior with previous Solr versions. This
  9876. situation has now been fixed to cause an error on startup when these
  9877. contradictory options. See SOLR-2669.
  9878. * FacetComponent no longer catches and embeds exceptions occurred during facet
  9879. processing, it throws HTTP 400 or 500 exceptions instead.
  9880. New Features
  9881. ----------------------
  9882. * SOLR-2540: CommitWithin as an Update Request parameter
  9883. You can now specify &commitWithin=N (ms) on the update request (janhoy)
  9884. * SOLR-2458: post.jar enhanced to handle JSON, CSV and <optimize> (janhoy)
  9885. * LUCENE-3234: add a new parameter hl.phraseLimit for FastVectorHighlighter speed up.
  9886. (Mike Sokolov via koji)
  9887. * SOLR-2429: Ability to add cache=false to queries and query filters to avoid
  9888. using the filterCache or queryCache. A cost may also be specified and is used
  9889. to order the evaluation of non-cached filters from least to greatest cost .
  9890. For very expensive query filters (cost >= 100) if the query implements
  9891. the PostFilter interface, it will be used to obtain a Collector that is
  9892. checked only for documents that match the main query and all other filters.
  9893. The "frange" query now implements the PostFilter interface. (yonik)
  9894. * SOLR-2630: Added new XsltUpdateRequestHandler that works like
  9895. XmlUpdateRequestHandler but allows to transform the POSTed XML document
  9896. using XSLT. This allows to POST arbitrary XML documents to the update
  9897. handler, as long as you also provide a XSL to transform them to a valid
  9898. Solr input document. (Upayavira, Uwe Schindler)
  9899. * SOLR-2615: Log individual updates (adds and deletes) at the FINE level
  9900. before adding to the index. Fix a null pointer exception in logging
  9901. when there was no unique key. (David Smiley via yonik)
  9902. * LUCENE-2048: Added omitPositions to the schema, so you can omit position
  9903. information while still indexing term frequencies. (rmuir)
  9904. * SOLR-2584: add UniqFieldsUpdateProcessor that removes duplicate values in the
  9905. specified fields. (Elmer Garduno, koji)
  9906. * SOLR-2670: Added NIOFSDirectoryFactory (yonik)
  9907. * SOLR-2523: Added support in SolrJ to easily interact with range facets.
  9908. The range facet response can be parsed and is retrievable from the
  9909. QueryResponse class. The SolrQuery class has convenient methods for using
  9910. range facets. (Martijn van Groningen)
  9911. * SOLR-2637: Added support for group result parsing in SolrJ.
  9912. (Tao Cheng, Martijn van Groningen)
  9913. * SOLR-2665: Added post group faceting. Facet counts are based on the most
  9914. relevant document of each group matching the query. This feature has the
  9915. same impact on the StatsComponent. (Martijn van Groningen)
  9916. * SOLR-2675: CoreAdminHandler now allows arbitrary properties to be
  9917. specified when CREATEing a new SolrCore using property.* request
  9918. params. (Yury Kats, hossman)
  9919. * SOLR-2714: JSON update format - "null" field values are now dropped
  9920. instead of causing an exception. (Trygve Laugstøl, yonik)
  9921. Optimizations
  9922. ----------------------
  9923. * LUCENE-3233: Improved memory usage, build time, and performance of
  9924. SynonymFilterFactory. (Mike McCandless, Robert Muir)
  9925. Bug Fixes
  9926. ----------------------
  9927. * SOLR-2625: TermVectorComponent throws NPE if TF-IDF option is used without DF
  9928. option. (Daniel Erenrich, Simon Willnauer)
  9929. * SOLR-2631: PingRequestHandler should not allow to ping itself using "qt"
  9930. param to prevent infinite loop. (Edoardo Tosca, Uwe Schindler)
  9931. * SOLR-2636: Fix explain functionality for negative queries. (Tom Hill via yonik)
  9932. * SOLR-2538: Range Faceting on long/double fields could overflow if values
  9933. bigger then the max int/float were used.
  9934. (Erbi Hanka, hossman)
  9935. * SOLR-2230: CommonsHttpSolrServer.addFile could not be used to send
  9936. multiple files in a single request.
  9937. (Stephan Günther, hossman)
  9938. * SOLR-2541: PluginInfos was not correctly parsing <long/> tags when
  9939. initializing plugins
  9940. (Frank Wesemann, hossman)
  9941. * SOLR-2623: Solr JMX MBeans do not survive core reloads (Alexey Serba, shalin)
  9942. * Fixed grouping bug when start is bigger than rows and format is simple that zero documents are returned even
  9943. if there are documents to display. (Martijn van Groningen, Nikhil Chhaochharia)
  9944. * SOLR-2564: Fixed ArrayIndexOutOfBoundsException when using simple format and
  9945. start > 0 (Martijn van Groningen, Matteo Melli)
  9946. * SOLR-2642: Fixed sorting by function when using grouping. (Thomas Heigl, Martijn van Groningen)
  9947. * SOLR-2535: REGRESSION: in Solr 3.x and trunk the admin/file handler
  9948. fails to show directory listings (David Smiley, Peter Wolanin via Erick Erickson)
  9949. * SOLR-2545: ExternalFileField file parsing would fail if any key
  9950. contained an "=" character. It now only looks for the last "=" delimiter
  9951. prior to the float value.
  9952. (Markus Jelsma, hossman)
  9953. * SOLR-2662: When Solr is configured to have no queryResultCache, the
  9954. "start" parameter was not honored and the documents returned were
  9955. 0 through start+offset. (Markus Jelsma, yonik)
  9956. * SOLR-2669: Fix backwards validation of field properties in
  9957. SchemaField.calcProps (hossman)
  9958. * SOLR-2676: Add "welcome-file-list" to solr.war so admin UI works correctly
  9959. in servlet containers such as WebSphere that do not use a default list
  9960. (Jay R. Jaeger, hossman)
  9961. * SOLR-2606: Fixed sort parsing of fields containing punctuation that
  9962. failed due to sort by function changes introduced in SOLR-1297
  9963. (Mitsu Hadeishi, hossman)
  9964. * SOLR-2706: contrib/clustering: The carrot.lexicalResourcesDir parameter
  9965. now works with absolute directories (Stanislaw Osinski)
  9966. * SOLR-2692: contrib/clustering: Typo in param name fixed: "carrot.fragzise"
  9967. changed to "carrot.fragSize" (Stanislaw Osinski).
  9968. * SOLR-2644: When using DIH with threads=2 the default logging is set too high
  9969. (Bill Bell via shalin)
  9970. * SOLR-2492: DIH does not commit if only deletes are processed
  9971. (James Dyer via shalin)
  9972. * SOLR-2186: DataImportHandler's multi-threaded option throws NPE
  9973. (Lance Norskog, Frank Wesemann, shalin)
  9974. * SOLR-2655: DIH multi threaded mode does not resolve attributes correctly
  9975. (Frank Wesemann, shalin)
  9976. * SOLR-2695: DIH: Documents are collected in unsynchronized list in
  9977. multi-threaded debug mode (Michael McCandless, shalin)
  9978. * SOLR-2668: DIH multithreaded mode does not rollback on errors from
  9979. EntityProcessor (Frank Wesemann, shalin)
  9980. Other Changes
  9981. ----------------------
  9982. * SOLR-2629: Eliminate deprecation warnings in some JSPs.
  9983. (Bernd Fehling, hossman)
  9984. * SOLR-2743: Remove commons logging from contrib/extraction. (koji)
  9985. Build
  9986. ----------------------
  9987. * SOLR-2452,SOLR-2653,LUCENE-3323,SOLR-2659,LUCENE-3329,SOLR-2666:
  9988. Rewrote the Solr build system:
  9989. - Integrated more fully with the Lucene build system: generalized the
  9990. Lucene build system and eliminated duplication.
  9991. - Converted all Solr contribs to the Lucene/Solr conventional src/ layout:
  9992. java/, resources/, test/, and test-files/<contrib-name>.
  9993. - Created a new Solr-internal module named "core" by moving the java/,
  9994. test/, and test-files/ directories from solr/src/ to solr/core/src/.
  9995. - Merged solr/src/webapp/src/ into solr/core/src/java/.
  9996. - Eliminated solr/src/ by moving all its directories up one level;
  9997. renamed solr/src/site/ to solr/site-src/ because solr/site/ already
  9998. exists.
  9999. - Merged solr/src/common/ into solr/solrj/src/java/.
  10000. - Moved o.a.s.client.solrj.* and o.a.s.common.* tests from
  10001. solr/src/test/ to solr/solrj/src/test/.
  10002. - Made the solrj tests not depend on the solr core tests by moving
  10003. some classes from solr/src/test/ to solr/test-framework/src/java/.
  10004. - Each internal module (core/, solrj/, test-framework/, and webapp/)
  10005. now has its own build.xml, from which it is possible to run
  10006. module-specific targets. solr/build.xml delegates all build
  10007. tasks (via <ant dir="internal-module-dir"> calls) to these
  10008. modules' build.xml files.
  10009. (Steve Rowe, Robert Muir)
  10010. * LUCENE-3406: Add ant target 'package-local-src-tgz' to Lucene and Solr
  10011. to package sources from the local working copy.
  10012. (Seung-Yeoul Yang via Steve Rowe)
  10013. Documentation
  10014. ----------------------
  10015. ================== 3.3.0 ==================
  10016. Upgrading from Solr 3.2.0
  10017. ----------------------
  10018. * SolrCore's CloseHook API has been changed in a backward-incompatible way. It
  10019. has been changed from an interface to an abstract class. Any custom
  10020. components which use the SolrCore.addCloseHook method will need to
  10021. be modified accordingly. To migrate, put your old CloseHook#close impl into
  10022. CloseHook#preClose.
  10023. New Features
  10024. ----------------------
  10025. * SOLR-2378: A new, automaton-based, implementation of suggest (autocomplete)
  10026. component, offering an order of magnitude smaller memory consumption
  10027. compared to ternary trees and jaspell and very fast lookups at runtime.
  10028. (Dawid Weiss)
  10029. * SOLR-2400: Field- and DocumentAnalysisRequestHandler now provide a position
  10030. history for each token, so you can follow the token through all analysis stages.
  10031. The output contains a separate int[] attribute containing all positions from
  10032. previous Tokenizers/TokenFilters (called "positionHistory").
  10033. (Uwe Schindler)
  10034. * SOLR-2524: (SOLR-236, SOLR-237, SOLR-1773, SOLR-1311) Grouping / Field collapsing
  10035. using the Lucene grouping contrib. The search result can be grouped by field and query.
  10036. (Martijn van Groningen, Emmanuel Keller, Shalin Shekhar Mangar, Koji Sekiguchi,
  10037. Iván de Prado, Ryan McKinley, Marc Sturlese, Peter Karich, Bojan Smid,
  10038. Charles Hornberger, Dieter Grad, Dmitry Lihachev, Doug Steigerwald,
  10039. Karsten Sperling, Michael Gundlach, Oleg Gnatovskiy, Thomas Traeger,
  10040. Harish Agarwal, yonik, Michael McCandless, Bill Bell)
  10041. * SOLR-1331 -- Added a srcCore parameter to CoreAdminHandler's mergeindexes action
  10042. to merge one or more cores' indexes to a target core (shalin)
  10043. * SOLR-2610 -- Add an option to delete index through CoreAdmin UNLOAD action (shalin)
  10044. * SOLR-2480: Add ignoreTikaException flag to the extraction request handler so
  10045. that users can ignore TikaException but index meta data.
  10046. (Shinichiro Abe, koji)
  10047. * SOLR-2582: Use uniqueKey for error log in UIMAUpdateRequestProcessor.
  10048. (Tommaso Teofili via koji)
  10049. Optimizations
  10050. ----------------------
  10051. * SOLR-2567: Solr now defaults to TieredMergePolicy. See http://s.apache.org/merging
  10052. for more information. (rmuir)
  10053. Bug Fixes
  10054. ----------------------
  10055. * SOLR-2519: Improve text_* fieldTypes in example schema.xml: improve
  10056. cross-language defaults for text_general; break out separate
  10057. English-specific fieldTypes (Jan Høydahl, hossman, Robert Muir,
  10058. yonik, Mike McCandless)
  10059. * SOLR-2462: Fix extremely high memory usage problems with spellcheck.collate.
  10060. Separately, an additional spellcheck.maxCollationEvaluations (default=10000)
  10061. parameter is added to avoid excessive CPU time in extreme cases (e.g. long
  10062. queries with many misspelled words). (James Dyer via rmuir)
  10063. * SOLR-2579: UIMAUpdateRequestProcessor ignore error fails if text.length() < 100.
  10064. (Elmer Garduno via koji)
  10065. * SOLR-2581: UIMAToSolrMapper wrongly instantiates Type with reflection.
  10066. (Tommaso Teofili via koji)
  10067. * SOLR-2551: Check dataimport.properties for write access (if delta-import is
  10068. supported in DIH configuration) before starting an import (C S, shalin)
  10069. Other Changes
  10070. ----------------------
  10071. * SOLR-2571: Add a commented out example of the spellchecker's thresholdTokenFrequency
  10072. parameter to the example solrconfig.xml, and also add a unit test for this feature.
  10073. (James Dyer via rmuir)
  10074. * SOLR-2576: Deprecate SpellingResult.add(Token token, int docFreq), please use
  10075. SpellingResult.addFrequency(Token token, int docFreq) instead.
  10076. (James Dyer via rmuir)
  10077. * SOLR-2574: Upgrade slf4j to v1.6.1 (shalin)
  10078. * LUCENE-3204: The maven-ant-tasks jar is now included in the source tree;
  10079. users of the generate-maven-artifacts target no longer have to manually
  10080. place this jar in the Ant classpath. NOTE: when Ant looks for the
  10081. maven-ant-tasks jar, it looks first in its pre-existing classpath, so
  10082. any copies it finds will be used instead of the copy included in the
  10083. Lucene/Solr source tree. For this reason, it is recommeded to remove
  10084. any copies of the maven-ant-tasks jar in the Ant classpath, e.g. under
  10085. ~/.ant/lib/ or under the Ant installation's lib/ directory. (Steve Rowe)
  10086. * SOLR-2611: Fix typos in the example configuration (Eric Pugh via rmuir)
  10087. ================== 3.2.0 ==================
  10088. Versions of Major Components
  10089. ---------------------
  10090. Apache Lucene trunk
  10091. Apache Tika 0.8
  10092. Carrot2 3.4.2
  10093. Upgrading from Solr 3.1
  10094. ----------------------
  10095. * The updateRequestProcessorChain for a RequestHandler is now defined
  10096. with update.chain rather than update.processor. The latter still works,
  10097. but has been deprecated.
  10098. * <uimaConfig/> just beneath <config> ... </config> is no longer supported.
  10099. It should move to UIMAUpdateRequestProcessorFactory setting.
  10100. See contrib/uima/README.txt for more details. (SOLR-2436)
  10101. Detailed Change List
  10102. ----------------------
  10103. New Features
  10104. ----------------------
  10105. * SOLR-2496: Add ability to specify overwrite and commitWithin as request
  10106. parameters (e.g. specified in the URL) when using the JSON update format,
  10107. and added a simplified format for specifying multiple documents.
  10108. Example: [{"id":"doc1"},{"id":"doc2"}]
  10109. (yonik)
  10110. * SOLR-2113: Add TermQParserPlugin, registered as "term". This is useful
  10111. when generating filter queries from terms returned from field faceting or
  10112. the terms component. Example: fq={!term f=weight}1.5 (hossman, yonik)
  10113. * SOLR-1915: DebugComponent now supports using a NamedList to model
  10114. Explanation objects in its responses instead of
  10115. Explanation.toString (hossman)
  10116. * SOLR-2448: Search results clustering updates: bisecting k-means
  10117. clustering algorithm added, loading of Carrot2 stop words from
  10118. <solr.home>/conf/carrot2 (SOLR-2449), using Solr's stopwords.txt
  10119. for clustering (SOLR-2450), output of cluster scores (SOLR-2505)
  10120. (Stanislaw Osinski, Dawid Weiss).
  10121. * SOLR-2503: extend UIMAUpdateRequestProcessorFactory mapping function to
  10122. map feature value to dynamicField. (koji)
  10123. * SOLR-2512: add ignoreErrors flag to UIMAUpdateRequestProcessorFactory so
  10124. that users can ignore exceptions in AE. (Tommaso Teofili, koji)
  10125. Optimizations
  10126. ----------------------
  10127. Bug Fixes
  10128. ----------------------
  10129. * SOLR-2445: Change the default qt to blank in form.jsp, because there is no "standard"
  10130. request handler unless you have it in your solrconfig.xml explicitly. (koji)
  10131. * SOLR-2455: Prevent double submit of forms in admin interface.
  10132. (Jeffrey Chang via uschindler)
  10133. * SOLR-2464: Fix potential slowness in QueryValueSource (the query() function) when
  10134. the query is very sparse and may not match any documents in a segment. (yonik)
  10135. * SOLR-2469: When using java replication with replicateAfter=startup, the first
  10136. commit point on server startup is never removed. (yonik)
  10137. * SOLR-2466: SolrJ's CommonsHttpSolrServer would retry requests on failure, regardless
  10138. of the configured maxRetries, due to HttpClient having its own retry mechanism
  10139. by default. The retryCount of HttpClient is now set to 0, and SolrJ does
  10140. the retry. (yonik)
  10141. * SOLR-2409: edismax parser - treat the text of a fielded query as a literal if the
  10142. fieldname does not exist. For example Mission: Impossible should not search on
  10143. the "Mission" field unless it's a valid field in the schema. (Ryan McKinley, yonik)
  10144. * SOLR-2403: facet.sort=index reported incorrect results for distributed search
  10145. in a number of scenarios when facet.mincount>0. This patch also adds some
  10146. performance/algorithmic improvements when (facet.sort=count && facet.mincount=1
  10147. && facet.limit=-1) and when (facet.sort=index && facet.mincount>0) (yonik)
  10148. * SOLR-2333: The "rename" core admin action does not persist the new name to solr.xml
  10149. (Rasmus Hahn, Paul R. Brown via Mark Miller)
  10150. * SOLR-2390: Performance of usePhraseHighlighter is terrible on very large Documents,
  10151. regardless of hl.maxDocCharsToAnalyze. (Mark Miller)
  10152. * SOLR-2474: The helper TokenStreams in analysis.jsp and AnalysisRequestHandlerBase
  10153. did not clear all attributes so they displayed incorrect attribute values for tokens
  10154. in later filter stages. (uschindler, rmuir, yonik)
  10155. * SOLR-2467: Fix <analyzer class="..." /> initialization so any errors
  10156. are logged properly. (hossman)
  10157. * SOLR-2493: SolrQueryParser was fixed to not parse the SolrConfig DOM tree on each
  10158. instantiation which is a huge slowdown. (Stephane Bailliez via uschindler)
  10159. * SOLR-2495: The JSON parser could hang on corrupted input and could fail
  10160. to detect numbers that were too large to fit in a long. (yonik)
  10161. * SOLR-2520: Make JSON response format escape \u2029 as well as \u2028
  10162. in strings since those characters are not valid in javascript strings
  10163. (although they are valid in JSON strings). (yonik)
  10164. * SOLR-2536: Add ReloadCacheRequestHandler to fix ExternalFileField bug (if reopenReaders
  10165. set to true and no index segments have been changed, commit cannot trigger reload
  10166. external file). (koji)
  10167. * SOLR-2539: VectorValueSource.floatVal incorrectly used byteVal on sub-sources.
  10168. (Tom Liu via yonik)
  10169. * SOLR-2554: RandomSortField didn't work when used in a function query. (yonik)
  10170. Other Changes
  10171. ----------------------
  10172. * SOLR-2061: Pull base tests out into a new Solr Test Framework module,
  10173. and publish binary, javadoc, and source test-framework jars.
  10174. (Drew Farris, Robert Muir, Steve Rowe)
  10175. * SOLR-2105: Rename RequestHandler param 'update.processor' to 'update.chain'.
  10176. (Jan Høydahl via Mark Miller)
  10177. * SOLR-2485: Deprecate BaseResponseWriter, GenericBinaryResponseWriter, and
  10178. GenericTextResponseWriter. These classes will be removed in 4.0. (ryan)
  10179. * SOLR-2451: Enhance assertJQ to allow individual tests to specify the
  10180. tolerance delta used in numeric equalities. This allows for slight
  10181. variance in asserting score comparisons in unit tests.
  10182. (David Smiley, Chris Hostetter)
  10183. * SOLR-2528: Remove default="true" from HtmlEncoder in example solrconfig.xml,
  10184. because html encoding confuses non-ascii users. (koji)
  10185. * SOLR-2387: add mock annotators for improved testing in contrib/uima,
  10186. (Tommaso Teofili via rmuir)
  10187. * SOLR-2436: move uimaConfig to under the uima's update processor in
  10188. solrconfig.xml. (Tommaso Teofili, koji)
  10189. Build
  10190. ----------------------
  10191. * LUCENE-3006: Building javadocs will fail on warnings by default. Override with -Dfailonjavadocwarning=false (sarowe, gsingers)
  10192. Documentation
  10193. ----------------------
  10194. ================== 3.1.0 ==================
  10195. Versions of Major Components
  10196. ---------------------
  10197. Apache Lucene 3.1.0
  10198. Apache Tika 0.8
  10199. Carrot2 3.4.2
  10200. Velocity 1.6.1 and Velocity Tools 2.0-beta3
  10201. Apache UIMA 2.3.1-SNAPSHOT
  10202. Upgrading from Solr 1.4
  10203. ----------------------
  10204. * The Lucene index format has changed and as a result, once you upgrade,
  10205. previous versions of Solr will no longer be able to read your indices.
  10206. In a master/slave configuration, all searchers/slaves should be upgraded
  10207. before the master. If the master were to be updated first, the older
  10208. searchers would not be able to read the new index format.
  10209. * The Solr JavaBin format has changed as of Solr 3.1. If you are using the
  10210. JavaBin format, you will need to upgrade your SolrJ client. (SOLR-2034)
  10211. * The experimental ALIAS command has been removed (SOLR-1637)
  10212. * Using solr.xml is recommended for single cores also (SOLR-1621)
  10213. * Old syntax of <highlighting> configuration in solrconfig.xml
  10214. is deprecated (SOLR-1696)
  10215. * The deprecated HTMLStripReader, HTMLStripWhitespaceTokenizerFactory and
  10216. HTMLStripStandardTokenizerFactory were removed. To strip HTML tags,
  10217. HTMLStripCharFilter should be used instead, and it works with any
  10218. Tokenizer of your choice. (SOLR-1657)
  10219. * Field compression is no longer supported. Fields that were formerly
  10220. compressed will be uncompressed as index segments are merged. For
  10221. shorter fields, this may actually be an improvement, as the compression
  10222. used was not very good for short text. Some indexes may get larger though.
  10223. * SOLR-1845: The TermsComponent response format was changed so that the
  10224. "terms" container is a map instead of a named list. This affects
  10225. response formats like JSON, but not XML. (yonik)
  10226. * SOLR-1876: All Analyzers and TokenStreams are now final to enforce
  10227. the decorator pattern. (rmuir, uschindler)
  10228. * LUCENE-2608: Added the ability to specify the accuracy on a per request basis.
  10229. It is recommended that implementations of SolrSpellChecker should change over to the new SolrSpellChecker
  10230. methods using the new SpellingOptions class, but are not required to. While this change is
  10231. backward compatible, the trunk version of Solr has already dropped support for all but the SpellingOptions method. (gsingers)
  10232. * readercycle script was removed. (SOLR-2046)
  10233. * In previous releases, sorting or evaluating function queries on
  10234. fields that were "multiValued" (either by explicit declaration in
  10235. schema.xml or by implict behavior because the "version" attribute on
  10236. the schema was less then 1.2) did not generally work, but it would
  10237. sometimes silently act as if it succeeded and order the docs
  10238. arbitrarily. Solr will now fail on any attempt to sort, or apply a
  10239. function to, multi-valued fields
  10240. * The DataImportHandler jars are no longer included in the solr
  10241. WAR and should be added in Solr's lib directory, or referenced
  10242. via the <lib> directive in solrconfig.xml.
  10243. Detailed Change List
  10244. ----------------------
  10245. New Features
  10246. ----------------------
  10247. * SOLR-1302: Added several new distance based functions, including
  10248. Great Circle (haversine), Manhattan, Euclidean and String (using the
  10249. StringDistance methods in the Lucene spellchecker).
  10250. Also added geohash(), deg() and rad() convenience functions.
  10251. See http://wiki.apache.org/solr/FunctionQuery. (gsingers)
  10252. * SOLR-1553: New dismax parser implementation (accessible as "edismax")
  10253. that supports full lucene syntax, improved reserved char escaping,
  10254. fielded queries, improved proximity boosting, and improved stopword
  10255. handling. Note: status is experimental for now. (yonik)
  10256. * SOLR-1574: Add many new functions from java Math (e.g. sin, cos) (yonik)
  10257. * SOLR-1569: Allow functions to take in literal strings by modifying the
  10258. FunctionQParser and adding LiteralValueSource (gsingers)
  10259. * SOLR-1571: Added unicode collation support though Lucene's CollationKeyFilter
  10260. (Robert Muir via shalin)
  10261. * SOLR-785: Distributed Search support for SpellCheckComponent
  10262. (Matthew Woytowitz, shalin)
  10263. * SOLR-1625: Add regexp support for TermsComponent (Uri Boness via noble)
  10264. * SOLR-1297: Add sort by Function capability (gsingers, yonik)
  10265. * SOLR-1139: Add TermsComponent Query and Response Support in SolrJ (Matt Weber via shalin)
  10266. * SOLR-1177: Distributed Search support for TermsComponent (Matt Weber via shalin)
  10267. * SOLR-1621, SOLR-1722: Allow current single core deployments to be specified by solr.xml (Mark Miller , noble)
  10268. * SOLR-1532: Allow StreamingUpdateSolrServer to use a provided HttpClient (Gabriele Renzi via shalin)
  10269. * SOLR-1653: Add PatternReplaceCharFilter (koji)
  10270. * SOLR-1131: FieldTypes can now output multiple Fields per Type and still be searched. This can be handy for hiding the details of a particular
  10271. implementation such as in the spatial case. (Chris Mattmann, shalin, noble, gsingers, yonik)
  10272. * SOLR-1586: Add support for Geohash and Spatial Tile FieldType (Chris Mattmann, gsingers)
  10273. * SOLR-1697: PluginInfo should load plugins w/o class attribute also (noble)
  10274. * SOLR-1268: Incorporate FastVectorHighlighter (koji)
  10275. * SOLR-1750: SolrInfoMBeanHandler added for simpler programmatic access
  10276. to info currently available from registry.jsp and stats.jsp
  10277. (ehatcher, hossman)
  10278. * SOLR-1815: SolrJ now preserves the order of facet queries. (yonik)
  10279. * SOLR-1677: Add support for choosing the Lucene Version for Lucene components within
  10280. Solr. (Uwe Schindler, Mark Miller)
  10281. * SOLR-1379: Add RAMDirectoryFactory for non-persistent in memory index storage.
  10282. (Alex Baranov via yonik)
  10283. * SOLR-1857: Synced Solr analysis with Lucene 3.1. Added KeywordMarkerFilterFactory
  10284. and StemmerOverrideFilterFactory, which can be used to tune stemming algorithms.
  10285. Added factories for Bulgarian, Czech, Hindi, Turkish, and Wikipedia analysis. Improved the
  10286. performance of SnowballPorterFilterFactory. (rmuir)
  10287. * SOLR-1657: Converted remaining TokenStreams to the Attributes-based API. All Solr
  10288. TokenFilters now support custom Attributes, and some have improved performance:
  10289. especially WordDelimiterFilter and CommonGramsFilter. (rmuir, cmale, uschindler)
  10290. * SOLR-1740: ShingleFilterFactory supports the "minShingleSize" and "tokenSeparator"
  10291. parameters for controlling the minimum shingle size produced by the filter, and
  10292. the separator string that it uses, respectively. (Steven Rowe via rmuir)
  10293. * SOLR-744: ShingleFilterFactory supports the "outputUnigramsIfNoShingles"
  10294. parameter, to output unigrams if the number of input tokens is fewer than
  10295. minShingleSize, and no shingles can be generated.
  10296. (Chris Harris via Steven Rowe)
  10297. * SOLR-1923: PhoneticFilterFactory now has support for the
  10298. Caverphone algorithm. (rmuir)
  10299. * SOLR-1957: The VelocityResponseWriter contrib moved to core.
  10300. Example search UI now available at http://localhost:8983/solr/browse
  10301. (ehatcher)
  10302. * SOLR-1974: Add LimitTokenCountFilterFactory. (koji)
  10303. * SOLR-1966: QueryElevationComponent can now return just the included results in the elevation file (gsingers, yonik)
  10304. * SOLR-1556: TermVectorComponent now supports per field overrides. Also, it now throws an error
  10305. if passed in fields do not exist and warnings
  10306. if fields that do not have term vector options (termVectors, offsets, positions)
  10307. that align with the schema declaration. It also
  10308. will now return warnings about (gsingers)
  10309. * SOLR-1985: FastVectorHighlighter: add wrapper class for Lucene's SingleFragListBuilder (koji)
  10310. * SOLR-1984: Add HyphenationCompoundWordTokenFilterFactory. (PB via rmuir)
  10311. * SOLR-397: Date Faceting now supports a "facet.date.include" param
  10312. for specifying when the upper & lower end points of computed date
  10313. ranges should be included in the range. Legal values are: "all",
  10314. "lower", "upper", "edge", and "outer". For backwards compatibility
  10315. the default value is the set: [lower,upper,edge], so that all ranges
  10316. between start and end are inclusive of their endpoints, but the
  10317. "before" and "after" ranges are not.
  10318. * SOLR-945: JSON update handler that accepts add, delete, commit
  10319. commands in JSON format. (Ryan McKinley, yonik)
  10320. * SOLR-2015: Add a boolean attribute autoGeneratePhraseQueries to TextField.
  10321. autoGeneratePhraseQueries="true" (the default) causes the query parser to
  10322. generate phrase queries if multiple tokens are generated from a single
  10323. non-quoted analysis string. For example WordDelimiterFilter splitting text:pdp-11
  10324. will cause the parser to generate text:"pdp 11" rather than (text:PDP OR text:11).
  10325. Note that autoGeneratePhraseQueries="true" tends to not work well for non whitespace
  10326. delimited languages. (yonik)
  10327. * SOLR-1925: Add CSVResponseWriter (use wt=csv) that returns the list of documents
  10328. in CSV format. (Chris Mattmann, yonik)
  10329. * SOLR-1240: "Range Faceting" has been added. This is a generalization
  10330. of the existing "Date Faceting" logic so that it now supports any
  10331. all stock numeric field types that support range queries in addition
  10332. to dates. facet.date is now deprecated in favor of this generalized mechanism.
  10333. (Gijs Kunze, hossman)
  10334. * SOLR-2021: Add SolrEncoder plugin to Highlighter. (koji)
  10335. * SOLR-2030: Make FastVectorHighlighter use of SolrEncoder. (koji)
  10336. * SOLR-2053: Add support for custom comparators in Solr spellchecker, per LUCENE-2479 (gsingers)
  10337. * SOLR-2049: Add hl.multiValuedSeparatorChar for FastVectorHighlighter, per LUCENE-2603. (koji)
  10338. * SOLR-2059: Add "types" attribute to WordDelimiterFilterFactory, which
  10339. allows you to customize how WordDelimiterFilter tokenizes text with
  10340. a configuration file. (Peter Karich, rmuir)
  10341. * SOLR-2099: Add ability to throttle rsync based replication using rsync option --bwlimit.
  10342. (Brandon Evans via koji)
  10343. * SOLR-1316: Create autosuggest component.
  10344. (Ankul Garg, Jason Rutherglen, Shalin Shekhar Mangar, Grant Ingersoll, Robert Muir, ab)
  10345. * SOLR-1568: Added "native" filtering support for PointType, GeohashField. Added LatLonType with filtering support too. See
  10346. http://wiki.apache.org/solr/SpatialSearch and the example. Refactored some items in Lucene spatial.
  10347. Removed SpatialTileField as the underlying CartesianTier is broken beyond repair and is going to be moved. (gsingers)
  10348. * SOLR-2128: Full parameter substitution for function queries.
  10349. Example: q=add($v1,$v2)&v1=mul(popularity,5)&v2=20.0
  10350. (yonik)
  10351. * SOLR-2133: Function query parser can now parse multiple comma separated
  10352. value sources. It also now fails if there is extra unexpected text
  10353. after parsing the functions, instead of silently ignoring it.
  10354. This allows expressions like q=dist(2,vector(1,2),$pt)&pt=3,4 (yonik)
  10355. * SOLR-2157: Suggester should return alpha-sorted results when onlyMorePopular=false (ab)
  10356. * SOLR-2010: Added ability to verify that spell checking collations have
  10357. actual results in the index. (James Dyer via gsingers)
  10358. * SOLR-2188: Added "maxTokenLength" argument to the factories for ClassicTokenizer,
  10359. StandardTokenizer, and UAX29URLEmailTokenizer. (Steven Rowe)
  10360. * SOLR-2129: Added a Solr module for dynamic metadata extraction/indexing with Apache UIMA.
  10361. See contrib/uima/README.txt for more information. (Tommaso Teofili via rmuir)
  10362. * SOLR-2325: Allow tagging and exclusion of main query for faceting. (yonik)
  10363. * SOLR-2263: Add ability for RawResponseWriter to stream binary files as well as
  10364. text files. (Eric Pugh via yonik)
  10365. * SOLR-860: Add debug output for MoreLikeThis. (koji)
  10366. * SOLR-1057: Add PathHierarchyTokenizerFactory. (ryan, koji)
  10367. * SOLR-1804: Re-enabled clustering component on trunk, updated to latest
  10368. version of Carrot2. No more LGPL run-time dependencies. This release of
  10369. C2 also does not have a specific Lucene dependency.
  10370. (Stanislaw Osinski, gsingers)
  10371. * SOLR-2282: Add distributed search support for search result clustering.
  10372. (Brad Giaccio, Dawid Weiss, Stanislaw Osinski, rmuir, koji)
  10373. * SOLR-2210: Add icu-based tokenizer and filters to contrib/analysis-extras (rmuir)
  10374. * SOLR-1336: Add SmartChinese (word segmentation for Simplified Chinese)
  10375. tokenizer and filters to contrib/analysis-extras (rmuir)
  10376. * SOLR-2211,LUCENE-2763: Added UAX29URLEmailTokenizerFactory, which implements
  10377. UAX#29, a unicode algorithm with good results for most languages, as well as
  10378. URL and E-mail tokenization according to the relevant RFCs.
  10379. (Tom Burton-West via rmuir)
  10380. * SOLR-2237: Added StempelPolishStemFilterFactory to contrib/analysis-extras (rmuir)
  10381. * SOLR-1525: allow DIH to refer to core properties (noble)
  10382. * SOLR-1547: DIH TemplateTransformer copy objects more intelligently when the
  10383. template is a single variable (noble)
  10384. * SOLR-1627: DIH VariableResolver should be fetched just in time (noble)
  10385. * SOLR-1583: DIH Create DataSources that return InputStream (noble)
  10386. * SOLR-1358: Integration of Tika and DataImportHandler (Akshay Ukey, noble)
  10387. * SOLR-1654: TikaEntityProcessor example added DIHExample
  10388. (Akshay Ukey via noble)
  10389. * SOLR-1678: Move onError handling to DIH framework (noble)
  10390. * SOLR-1352: Multi-threaded implementation of DIH (noble)
  10391. * SOLR-1721: Add explicit option to run DataImportHandler in synchronous mode
  10392. (Alexey Serba via noble)
  10393. * SOLR-1737: Added FieldStreamDataSource (noble)
  10394. Optimizations
  10395. ----------------------
  10396. * SOLR-1679: Don't build up string messages in SolrCore.execute unless they
  10397. are necessary for the current log level.
  10398. (Fuad Efendi and hossman)
  10399. * SOLR-1874: Optimize PatternReplaceFilter for better performance. (rmuir, uschindler)
  10400. * SOLR-1968: speed up initial filter cache population for facet.method=enum and
  10401. also big terms for multi-valued facet.method=fc. The resulting speedup
  10402. for the first facet request is anywhere from 30% to 32x, depending on how many
  10403. terms are in the field and how many documents match per term. (yonik)
  10404. * SOLR-2089: Speed up UnInvertedField faceting (facet.method=fc for
  10405. multi-valued fields) when facet.limit is both high, and a high enough
  10406. percentage of the number of unique terms in the field. Extreme cases
  10407. yield speedups over 3x. (yonik)
  10408. * SOLR-2046: add common functions to scripts-util. (koji)
  10409. * SOLR-1684: Switch clustering component to use the
  10410. SolrIndexSearcher.doc(int, Set<String>) method b/c it can use the document
  10411. cache (gsingers)
  10412. * SOLR-2200: Improve the performance of DataImportHandler for large
  10413. delta-import updates. (Mark Waddle via rmuir)
  10414. Bug Fixes
  10415. ----------------------
  10416. * SOLR-1769: Solr 1.4 Replication - Repeater throwing NullPointerException (Jörgen Rydenius via noble)
  10417. * SOLR-1432: Make the new ValueSource.getValues(context,reader) delegate
  10418. to the original ValueSource.getValues(reader) so custom sources
  10419. will work. (yonik)
  10420. * SOLR-1572: FastLRUCache correctly implemented the LRU policy only
  10421. for the first 2B accesses. (yonik)
  10422. * SOLR-1582: copyField was ignored for BinaryField types (gsingers)
  10423. * SOLR-1563: Binary fields, including trie-based numeric fields, caused null
  10424. pointer exceptions in the luke request handler. (yonik)
  10425. * SOLR-1577: The example solrconfig.xml defaulted to a solr data dir
  10426. relative to the current working directory, even if a different solr home
  10427. was being used. The new behavior changes the default to a zero length
  10428. string, which is treated the same as if no dataDir had been specified,
  10429. hence the "data" directory under the solr home will be used. (yonik)
  10430. * SOLR-1584: SolrJ - SolrQuery.setIncludeScore() incorrectly added
  10431. fl=score to the parameter list instead of appending score to the
  10432. existing field list. (yonik)
  10433. * SOLR-1580: Solr Configuration ignores 'mergeFactor' parameter, always
  10434. uses Lucene default. (Lance Norskog via Mark Miller)
  10435. * SOLR-1593: ReverseWildcardFilter didn't work for surrogate pairs
  10436. (i.e. code points outside of the BMP), resulting in incorrect
  10437. matching. This change requires reindexing for any content with
  10438. such characters. (Robert Muir, yonik)
  10439. * SOLR-1596: A rollback operation followed by the shutdown of Solr
  10440. or the close of a core resulted in a warning:
  10441. "SEVERE: SolrIndexWriter was not closed prior to finalize()" although
  10442. there were no other consequences. (yonik)
  10443. * SOLR-1595: StreamingUpdateSolrServer used the platform default character
  10444. set when streaming updates, rather than using UTF-8 as the HTTP headers
  10445. indicated, leading to an encoding mismatch. (hossman, yonik)
  10446. * SOLR-1587: A distributed search request with fl=score, didn't match
  10447. the behavior of a non-distributed request since it only returned
  10448. the id,score fields instead of all fields in addition to score. (yonik)
  10449. * SOLR-1601: Schema browser does not indicate presence of charFilter. (koji)
  10450. * SOLR-1615: Backslash escaping did not work in quoted strings
  10451. for local param arguments. (Wojtek Piaseczny, yonik)
  10452. * SOLR-1628: log contains incorrect number of adds and deletes.
  10453. (Thijs Vonk via yonik)
  10454. * SOLR-343: Date faceting now respects facet.mincount limiting
  10455. (Uri Boness, Raiko Eckstein via hossman)
  10456. * SOLR-1624: Highlighter only highlights values from the first field value
  10457. in a multivalued field when term positions (term vectors) are stored.
  10458. (Chris Harris via yonik)
  10459. * SOLR-1635: Fixed error message when numeric values can't be parsed by
  10460. DOMUtils - notably for plugin init params in solrconfig.xml.
  10461. (hossman)
  10462. * SOLR-1651: Fixed Incorrect dataimport handler package name in SolrResourceLoader
  10463. (Akshay Ukey via shalin)
  10464. * SOLR-1660: CapitalizationFilter crashes if you use the maxWordCountOption
  10465. (Robert Muir via shalin)
  10466. * SOLR-1667: PatternTokenizer does not reset attributes such as positionIncrementGap
  10467. (Robert Muir via shalin)
  10468. * SOLR-1711: SolrJ - StreamingUpdateSolrServer had a race condition that
  10469. could halt the streaming of documents. The original patch to fix this
  10470. (never officially released) introduced another hanging bug due to
  10471. connections not being released.
  10472. (Attila Babo, Erik Hetzner, Johannes Tuchscherer via yonik)
  10473. * SOLR-1748, SOLR-1747, SOLR-1746, SOLR-1745, SOLR-1744: Streams and Readers
  10474. retrieved from ContentStreams are not closed in various places, resulting
  10475. in file descriptor leaks.
  10476. (Christoff Brill, Mark Miller)
  10477. * SOLR-1753: StatsComponent throws NPE when getting statistics for facets in distributed search
  10478. (Janne Majaranta via koji)
  10479. * SOLR-1736:In the slave , If 'mov'ing file does not succeed , copy the file (noble)
  10480. * SOLR-1579: Fixes to XML escaping in stats.jsp
  10481. (David Bowen and hossman)
  10482. * SOLR-1777: fieldTypes with sortMissingLast=true or sortMissingFirst=true can
  10483. result in incorrectly sorted results. (yonik)
  10484. * SOLR-1798: Small memory leak (~100 bytes) in fastLRUCache for every
  10485. commit. (yonik)
  10486. * SOLR-1823: Fixed XMLResponseWriter (via XMLWriter) so it no longer throws
  10487. a ClassCastException when a Map containing a non-String key is used.
  10488. (Frank Wesemann, hossman)
  10489. * SOLR-1797: fix ConcurrentModificationException and potential memory
  10490. leaks in ResourceLoader. (yonik)
  10491. * SOLR-1850: change KeepWordFilter so a new word set is not created for
  10492. each instance (John Wang via yonik)
  10493. * SOLR-1706: fixed WordDelimiterFilter for certain combinations of options
  10494. where it would output incorrect tokens. (Robert Muir, Chris Male)
  10495. * SOLR-1936: The JSON response format needed to escape unicode code point
  10496. U+2028 - 'LINE SEPARATOR' (Robert Hofstra, yonik)
  10497. * SOLR-1914: Change the JSON response format to output float/double
  10498. values of NaN,Infinity,-Infinity as strings. (yonik)
  10499. * SOLR-1948: PatternTokenizerFactory should use parent's args (koji)
  10500. * SOLR-1870: Indexing documents using the 'javabin' format no longer
  10501. fails with a ClassCastException whenSolrInputDocuments contain field
  10502. values which are Collections or other classes that implement
  10503. Iterable. (noble, hossman)
  10504. * SOLR-1981: Solr will now fail correctly if solr.xml attempts to
  10505. specify multiple cores that have the same name (hossman)
  10506. * SOLR-1791: Fix messed up core names on admin gui (yonik via koji)
  10507. * SOLR-1995: Change date format from "hour in am/pm" to "hour in day"
  10508. in CoreContainer and SnapShooter. (Hayato Ito, koji)
  10509. * SOLR-2008: avoid possible RejectedExecutionException w/autoCommit
  10510. by making SolreCore close the UpdateHandler before closing the
  10511. SearchExecutor. (NarasimhaRaju, hossman)
  10512. * SOLR-2036: Avoid expensive fieldCache ram estimation for the
  10513. admin stats page. (yonik)
  10514. * SOLR-2047: ReplicationHandler should accept bool type for enable flag. (koji)
  10515. * SOLR-1630: Fix spell checking collation issue related to token positions (rmuir, gsingers)
  10516. * SOLR-2100: The replication handler backup command didn't save the commit
  10517. point and hence could fail when a newer commit caused the older commit point
  10518. to be removed before it was finished being copied. This did not affect
  10519. normal master/slave replication. (Peter Sturge via yonik)
  10520. * SOLR-2114: Fixed parsing error in hsin function. The function signature has changed slightly. (gsingers)
  10521. * SOLR-2083: SpellCheckComponent misreports suggestions when distributed (James Dyer via gsingers)
  10522. * SOLR-2111: Change exception handling in distributed faceting to work more
  10523. like non-distributed faceting, change facet_counts/exception from a String
  10524. to a List<String> to enable listing all exceptions that happened, and
  10525. prevent an exception in one facet command from affecting another
  10526. facet command. (yonik)
  10527. * SOLR-2110: Remove the restriction on names for local params
  10528. substitution/dereferencing. Properly encode local params in
  10529. distributed faceting. (yonik)
  10530. * SOLR-2135: Fix behavior of ConcurrentLRUCache when asking for
  10531. getLatestAccessedItems(0) or getOldestAccessedItems(0).
  10532. (David Smiley via hossman)
  10533. * SOLR-2148: Highlighter doesn't support q.alt. (koji)
  10534. * SOLR-2180: It was possible for EmbeddedSolrServer to leave searchers
  10535. open if a request threw an exception. (yonik)
  10536. * SOLR-2173: Suggester should always rebuild Lookup data if Lookup.load fails. (ab)
  10537. * SOLR-2081: BaseResponseWriter.isStreamingDocs causes
  10538. SingleResponseWriter.end to be called 2x
  10539. (Chris A. Mattmann via hossman)
  10540. * SOLR-2219: The init() method of every SolrRequestHandler was being
  10541. called twice. (ambikeshwar singh and hossman)
  10542. * SOLR-2285: duplicate SolrEventListeners no longer created (hossman)
  10543. * SOLR-1993: fix String cast assumption in JavaBinCodec - specific
  10544. addresses "commitWithin" option on Update requests.
  10545. (noble, hossman, and Maxim Valyanskiy)
  10546. * SOLR-2261: fix velocity template layout.vm that referred to an older
  10547. version of jquery. (Eric Pugh via rmuir)
  10548. * SOLR-2307: fix bug in PHPSerializedResponseWriter (wt=phps) when
  10549. dealing with SolrDocumentList objects -- ie: sharded queries.
  10550. (Antonio Verni via hossman)
  10551. * SOLR-2127: Fixed serialization of default core and indentation of solr.xml when serializing.
  10552. (Ephraim Ofir, Mark Miller)
  10553. * SOLR-2320: Fixed ReplicationHandler detail reporting for masters
  10554. (hossman)
  10555. * SOLR-482: Provide more exception handling in CSVLoader (gsingers)
  10556. * SOLR-1283: HTMLStripCharFilter sometimes threw a "Mark Invalid" exception.
  10557. (Julien Coloos, hossman, yonik)
  10558. * SOLR-2085: Improve SolrJ behavior when FacetComponent comes before
  10559. QueryComponent (Tomas Salfischberger via hossman)
  10560. * SOLR-1940: Fix SolrDispatchFilter behavior when Content-Type is
  10561. unknown (Lance Norskog and hossman)
  10562. * SOLR-1983: snappuller fails when modifiedConfFiles is not empty and
  10563. full copy of index is needed. (Alexander Kanarsky via yonik)
  10564. * SOLR-2156: SnapPuller fails to clean Old Index Directories on Full Copy
  10565. (Jayendra Patil via yonik)
  10566. * SOLR-96: Fix XML parsing in XMLUpdateRequestHandler and
  10567. DocumentAnalysisRequestHandler to respect charset from XML file and only
  10568. use HTTP header's "Content-Type" as a "hint". (uschindler)
  10569. * SOLR-2339: Fix sorting to explicitly generate an error if you
  10570. attempt to sort on a multiValued field. (hossman)
  10571. * SOLR-2348: Fix field types to explicitly generate an error if you
  10572. attempt to get a ValueSource for a multiValued field. (hossman)
  10573. * SOLR-2380: Distributed faceting could miss values when facet.sort=index
  10574. and when facet.offset was greater than 0. (yonik)
  10575. * SOLR-1656: XIncludes and other HREFs in XML files loaded by ResourceLoader
  10576. are fixed to be resolved using the URI standard (RFC 2396). The system
  10577. identifier is no longer a plain filename with path, it gets initialized
  10578. using a custom URI scheme "solrres:". This scheme is resolved using a
  10579. EntityResolver that utilizes ResourceLoader
  10580. (org.apache.solr.common.util.SystemIdResolver). This makes all relative
  10581. pathes in Solr's config files behave like expected. This change
  10582. introduces some backwards breaks in the API: Some config classes
  10583. (Config, SolrConfig, IndexSchema) were changed to take
  10584. org.xml.sax.InputSource instead of InputStream. There may also be some
  10585. backwards breaks in existing config files, it is recommended to check
  10586. your config files / XSLTs and replace all XIncludes/HREFs that were
  10587. hacked to use absolute paths to use relative ones. (uschindler)
  10588. * SOLR-309: Fix FieldType so setting an analyzer on a FieldType that
  10589. doesn't expect it will generate an error. Practically speaking this
  10590. means that Solr will now correctly generate an error on
  10591. initialization if the schema.xml contains an analyzer configuration
  10592. for a fieldType that does not use TextField. (hossman)
  10593. * SOLR-2192: StreamingUpdateSolrServer.blockUntilFinished was not
  10594. thread safe and could throw an exception. (yonik)
  10595. * SOLR-1692: Fix bug in clustering component relating to carrot.produceSummary
  10596. option (gsingers)
  10597. * SOLR-1756: The date.format setting for extraction request handler causes
  10598. ClassCastException when enabled and the config code that parses this setting
  10599. does not properly use the same iterator instance.
  10600. (Christoph Brill, Mark Miller)
  10601. * SOLR-1638: Fixed NullPointerException during DIH import if uniqueKey is not
  10602. specified in schema (Akshay Ukey via shalin)
  10603. * SOLR-1639: Fixed misleading error message when dataimport.properties is not
  10604. writable (shalin)
  10605. * SOLR-1598: DIH: Reader used in PlainTextEntityProcessor is not explicitly
  10606. closed (Sascha Szott via noble)
  10607. * SOLR-1759: DIH: $skipDoc was not working correctly
  10608. (Gian Marco Tagliani via noble)
  10609. * SOLR-1762: DIH: DateFormatTransformer does not work correctly with
  10610. non-default locale dates (tommy chheng via noble)
  10611. * SOLR-1757: DIH multithreading sometimes throws NPE (noble)
  10612. * SOLR-1766: DIH with threads enabled doesn't respond to the abort command
  10613. (Michael Henson via noble)
  10614. * SOLR-1767: dataimporter.functions.escapeSql() does not escape backslash
  10615. character (Sean Timm via noble)
  10616. * SOLR-1811: formatDate should use the current NOW value always
  10617. (Sean Timm via noble)
  10618. * SOLR-1794: Dataimport of CLOB fields fails when getCharacterStream() is
  10619. defined in a superclass. (Gunnar Gauslaa Bergem via rmuir)
  10620. * SOLR-2057: DataImportHandler never calls UpdateRequestProcessor.finish()
  10621. (Drew Farris via koji)
  10622. * SOLR-1973: Empty fields in XML update messages confuse DataImportHandler.
  10623. (koji)
  10624. * SOLR-2221: Use StrUtils.parseBool() to get values of boolean options in DIH.
  10625. true/on/yes (for TRUE) and false/off/no (for FALSE) can be used for
  10626. sub-options (debug, verbose, synchronous, commit, clean, optimize) for
  10627. full/delta-import commands. (koji)
  10628. * SOLR-2310: DIH: getTimeElapsedSince() returns incorrect hour value when
  10629. the elapse is over 60 hours (tom liu via koji)
  10630. * SOLR-2252: DIH: When a child entity in nested entities is rootEntity="true",
  10631. delta-import doesn't work. (koji)
  10632. * SOLR-2330: solrconfig.xml files in example-DIH are broken. (Matt Parker, koji)
  10633. * SOLR-1191: resolve DataImportHandler deltaQuery column against pk when pk
  10634. has a prefix (e.g. pk="book.id" deltaQuery="select id from ..."). More
  10635. useful error reporting when no match found (previously failed with a
  10636. NullPointerException in log and no clear user feedback). (gthb via yonik)
  10637. * SOLR-2116: Fix TikaConfig classloader bug in TikaEntityProcessor
  10638. (Martijn van Groningen via hossman)
  10639. Other Changes
  10640. ----------------------
  10641. * SOLR-1602: Refactor SOLR package structure to include o.a.solr.response
  10642. and move QueryResponseWriters in there
  10643. (Chris A. Mattmann, ryan, hoss)
  10644. * SOLR-1516: Addition of an abstract BaseResponseWriter class to simplify the
  10645. development of QueryResponseWriter implementations.
  10646. (Chris A. Mattmann via noble)
  10647. * SOLR-1592: Refactor XMLWriter startTag to allow arbitrary attributes to be written
  10648. (Chris A. Mattmann via noble)
  10649. * SOLR-1561: Added Lucene 2.9.1 spatial contrib jar to lib. (gsingers)
  10650. * SOLR-1570: Log warnings if uniqueKey is multi-valued or not stored (hossman, shalin)
  10651. * SOLR-1558: QueryElevationComponent only works if the uniqueKey field is
  10652. implemented using StrField. In previous versions of Solr no warning or
  10653. error would be generated if you attempted to use QueryElevationComponent,
  10654. it would just fail in unexpected ways. This has been changed so that it
  10655. will fail with a clear error message on initialization. (hossman)
  10656. * SOLR-1611: Added Lucene 2.9.1 collation contrib jar to lib (shalin)
  10657. * SOLR-1608: Extract base class from TestDistributedSearch to make
  10658. it easy to write test cases for other distributed components. (shalin)
  10659. * Upgraded to Lucene 2.9-dev r888785 (shalin)
  10660. * SOLR-1610: Generify SolrCache (Jason Rutherglen via shalin)
  10661. * SOLR-1637: Remove ALIAS command
  10662. * SOLR-1662: Added Javadocs in BufferedTokenStream and fixed incorrect cloning
  10663. in TestBufferedTokenStream (Robert Muir, Uwe Schindler via shalin)
  10664. * SOLR-1674: Improve analysis tests and cut over to new TokenStream API.
  10665. (Robert Muir via Mark Miller)
  10666. * SOLR-1661: Remove adminCore from CoreContainer . removed deprecated methods setAdminCore(), getAdminCore() (noble)
  10667. * SOLR-1704: Google collections moved from clustering to core (noble)
  10668. * SOLR-1268: Add Lucene 2.9-dev r888785 FastVectorHighlighter contrib jar to lib. (koji)
  10669. * SOLR-1538: Reordering of object allocations in ConcurrentLRUCache to eliminate
  10670. (an extremely small) potential for deadlock.
  10671. (gabriele renzi via hossman)
  10672. * SOLR-1588: Removed some very old dead code.
  10673. (Chris A. Mattmann via hossman)
  10674. * SOLR-1696 : Deprecate old <highlighting> syntax and move configuration to HighlightComponent (noble)
  10675. * SOLR-1727: SolrEventListener should extend NamedListInitializedPlugin (noble)
  10676. * SOLR-1771: Improved error message when StringIndex cannot be initialized
  10677. for a function query (hossman)
  10678. * SOLR-1695: Improved error messages when adding a document that does not
  10679. contain exactly one value for the uniqueKey field (hossman)
  10680. * SOLR-1776: DismaxQParser and ExtendedDismaxQParser now use the schema.xml
  10681. "defaultSearchField" as the default value for the "qf" param instead of failing
  10682. with an error when "qf" is not specified. (hossman)
  10683. * SOLR-1851: luceneAutoCommit no longer has any effect - it has been remove (Mark Miller)
  10684. * SOLR-1865: SolrResourceLoader.getLines ignores Byte Order Markers (BOMs) at the
  10685. beginning of input files, these are often created by editors such as Windows
  10686. Notepad. (rmuir, hossman)
  10687. * SOLR-1938: ElisionFilterFactory will use a default set of French contractions
  10688. if you do not supply a custom articles file. (rmuir)
  10689. * SOLR-2003: SolrResourceLoader will report any encoding errors, rather than
  10690. silently using replacement characters for invalid inputs (blargy via rmuir)
  10691. * SOLR-1804: Google collections updated to Google Guava (which is a superset of collections and contains bug fixes) (gsingers)
  10692. * SOLR-2034: Switch to JavaBin codec version 2. Strings are now serialized
  10693. as the number of UTF-8 bytes, followed by the bytes in UTF-8. Previously
  10694. Strings were serialized as the number of UTF-16 chars, followed by the
  10695. bytes in Modified UTF-8. (hossman, yonik, rmuir)
  10696. * SOLR-2013: Add mapping-FoldToASCII.txt to example conf directory.
  10697. (Steven Rowe via koji)
  10698. * SOLR-2213: Upgrade to jQuery 1.4.3 (Erick Erickson via ryan)
  10699. * SOLR-1826: Add unit tests for highlighting with termOffsets=true
  10700. and overlapping tokens. (Stefan Oestreicher via rmuir)
  10701. * SOLR-2340: Add version infos to message in JavaBinCodec when throwing
  10702. exception. (koji)
  10703. * SOLR-2350: Since Solr no longer requires XML files to be in UTF-8
  10704. (see SOLR-96) SimplePostTool (aka: post.jar) has been improved to
  10705. work with files of any mime-type or charset. (hossman)
  10706. * SOLR-2365: Move DIH jars out of solr.war (David Smiley via yonik)
  10707. * SOLR-2381: Include a patched version of Jetty (6.1.26 + JETTY-1340)
  10708. to fix problematic UTF-8 handling for supplementary characters.
  10709. (Bernd Fehling, uschindler, yonik, rmuir)
  10710. * SOLR-2391: The preferred Content-Type for XML was changed to
  10711. application/xml. XMLResponseWriter now only delivers using this
  10712. type; updating documents and analyzing documents is still supported
  10713. using text/xml as Content-Type, too. If you have clients that are
  10714. hardcoded on text/xml as Content-Type, you have to change them.
  10715. (uschindler, rmuir)
  10716. * SOLR-2414: All ResponseWriters now use only ServletOutputStreams
  10717. and wrap their own Writer around it when serializing. This fixes
  10718. the bug in PHPSerializedResponseWriter that produced wrong string
  10719. length if the servlet container had a broken UTF-8 encoding that was
  10720. in fact CESU-8 (see SOLR-1091). The system property to enable the
  10721. CESU-8 byte counting in PHPSerializesResponseWriters for broken
  10722. servlet containers was therefore removed and is now ignored if set.
  10723. Output is always UTF-8. (uschindler, yonik, rmuir)
  10724. * SOLR-141: Errors and Exceptions are formated by ResponseWriter.
  10725. (Mike Sokolov, Rich Cariens, Daniel Naber, ryan)
  10726. * SOLR-1902: Upgraded to Tika 0.8 and changed deprecated parse call
  10727. * SOLR-1813: Add ICU4j to contrib/extraction libs and add tests for Arabic
  10728. extraction (Robert Muir via gsingers)
  10729. * SOLR-1821: Fix TimeZone-dependent test failure in TestEvaluatorBag.
  10730. (Chris Male via rmuir)
  10731. * SOLR-2367: Reduced noise in test output by ensuring the properties file
  10732. can be written. (Gunnlaugur Thor Briem via rmuir)
  10733. Build
  10734. ----------------------
  10735. * SOLR-1522: Automated release signing process. (gsingers)
  10736. * SOLR-1891: Make lucene-jars-to-solr fail if copying any of the jars fails, and
  10737. update clean to remove the jars in that directory (Mark Miller)
  10738. * LUCENE-2466: Commons-Codec was upgraded from 1.3 to 1.4. (rmuir)
  10739. * SOLR-2042: Fixed some Maven deps (Drew Farris via gsingers)
  10740. * LUCENE-2657: Switch from using Maven POM templates to full POMs when
  10741. generating Maven artifacts (Steven Rowe)
  10742. Documentation
  10743. ----------------------
  10744. * SOLR-1590: Javadoc for XMLWriter#startTag
  10745. (Chris A. Mattmann via hossman)
  10746. * SOLR-1792: Documented peculiar behavior of TestHarness.LocalRequestFactory
  10747. (hossman)
  10748. ================== Release 1.4.1 ==================
  10749. Release Date: See http://lucene.apache.org/solr for the official release date.
  10750. Upgrading from Solr 1.4
  10751. -----------------------
  10752. This is a bug fix release - no changes are required when upgrading from Solr 1.4.
  10753. However, a reindex is needed for some of the analysis fixes to take effect.
  10754. Versions of Major Components
  10755. ----------------------------
  10756. Apache Lucene 2.9.3
  10757. Apache Tika 0.4
  10758. Carrot2 3.1.0
  10759. Lucene Information
  10760. ----------------
  10761. Since Solr is built on top of Lucene, many people add customizations to Solr
  10762. that are dependent on Lucene. Please see http://lucene.apache.org/java/2_9_3/,
  10763. especially http://lucene.apache.org/java/2_9_3/changes/Changes.html for more
  10764. information on the version of Lucene used in Solr.
  10765. Bug Fixes
  10766. ----------------------
  10767. * SOLR-1934: Upgrade to Apache Lucene 2.9.3 to obtain several bug
  10768. fixes from the previous 2.9.1. See the Lucene 2.9.3 release notes
  10769. for details. (hossman, Mark Miller)
  10770. * SOLR-1432: Make the new ValueSource.getValues(context,reader) delegate
  10771. to the original ValueSource.getValues(reader) so custom sources
  10772. will work. (yonik)
  10773. * SOLR-1572: FastLRUCache correctly implemented the LRU policy only
  10774. for the first 2B accesses. (yonik)
  10775. * SOLR-1595: StreamingUpdateSolrServer used the platform default character
  10776. set when streaming updates, rather than using UTF-8 as the HTTP headers
  10777. indicated, leading to an encoding mismatch. (hossman, yonik)
  10778. * SOLR-1660: CapitalizationFilter crashes if you use the maxWordCountOption
  10779. (Robert Muir via shalin)
  10780. * SOLR-1662: Added Javadocs in BufferedTokenStream and fixed incorrect cloning
  10781. in TestBufferedTokenStream (Robert Muir, Uwe Schindler via shalin)
  10782. * SOLR-1711: SolrJ - StreamingUpdateSolrServer had a race condition that
  10783. could halt the streaming of documents. The original patch to fix this
  10784. (never officially released) introduced another hanging bug due to
  10785. connections not being released. (Attila Babo, Erik Hetzner via yonik)
  10786. * SOLR-1748, SOLR-1747, SOLR-1746, SOLR-1745, SOLR-1744: Streams and Readers
  10787. retrieved from ContentStreams are not closed in various places, resulting
  10788. in file descriptor leaks.
  10789. (Christoff Brill, Mark Miller)
  10790. * SOLR-1580: Solr Configuration ignores 'mergeFactor' parameter, always
  10791. uses Lucene default. (Lance Norskog via Mark Miller)
  10792. * SOLR-1777: fieldTypes with sortMissingLast=true or sortMissingFirst=true can
  10793. result in incorrectly sorted results. (yonik)
  10794. * SOLR-1797: fix ConcurrentModificationException and potential memory
  10795. leaks in ResourceLoader. (yonik)
  10796. * SOLR-1798: Small memory leak (~100 bytes) in fastLRUCache for every
  10797. commit. (yonik)
  10798. * SOLR-1522: Show proper message if <script> tag is missing for DIH
  10799. ScriptTransformer (noble)
  10800. * SOLR-1538: Reordering of object allocations in ConcurrentLRUCache to eliminate
  10801. (an extremely small) potential for deadlock.
  10802. (gabriele renzi via hossman)
  10803. * SOLR-1558: QueryElevationComponent only works if the uniqueKey field is
  10804. implemented using StrField. In previous versions of Solr no warning or
  10805. error would be generated if you attempted to use QueryElevationComponent,
  10806. it would just fail in unexpected ways. This has been changed so that it
  10807. will fail with a clear error message on initialization. (hossman)
  10808. * SOLR-1563: Binary fields, including trie-based numeric fields, caused null
  10809. pointer exceptions in the luke request handler. (yonik)
  10810. * SOLR-1579: Fixes to XML escaping in stats.jsp
  10811. (David Bowen and hossman)
  10812. * SOLR-1582: copyField was ignored for BinaryField types (gsingers)
  10813. * SOLR-1596: A rollback operation followed by the shutdown of Solr
  10814. or the close of a core resulted in a warning:
  10815. "SEVERE: SolrIndexWriter was not closed prior to finalize()" although
  10816. there were no other consequences. (yonik)
  10817. * SOLR-1651: Fixed Incorrect dataimport handler package name in SolrResourceLoader
  10818. (Akshay Ukey via shalin)
  10819. * SOLR-1936: The JSON response format needed to escape unicode code point
  10820. U+2028 - 'LINE SEPARATOR' (Robert Hofstra, yonik)
  10821. * SOLR-1852: Fix WordDelimiterFilterFactory bug where position increments
  10822. were not being applied properly to subwords. (Peter Wolanin via Robert Muir)
  10823. * SOLR-1706: fixed WordDelimiterFilter for certain combinations of options
  10824. where it would output incorrect tokens. (Robert Muir, Chris Male)
  10825. * SOLR-1948: PatternTokenizerFactory should use parent's args (koji)
  10826. * SOLR-1870: Indexing documents using the 'javabin' format no longer
  10827. fails with a ClassCastException whenSolrInputDocuments contain field
  10828. values which are Collections or other classes that implement
  10829. Iterable. (noble, hossman)
  10830. * SOLR-1769 Solr 1.4 Replication - Repeater throwing NullPointerException (noble)
  10831. ================== Release 1.4.0 ==================
  10832. Release Date: See http://lucene.apache.org/solr for the official release date.
  10833. Upgrading from Solr 1.3
  10834. -----------------------
  10835. There is a new default faceting algorithm for multiVaued fields that should be
  10836. faster for most cases. One can revert to the previous algorithm (which has
  10837. also been improved somewhat) by adding facet.method=enum to the request.
  10838. Searching and sorting is now done on a per-segment basis, meaning that
  10839. the FieldCache entries used for sorting and for function queries are
  10840. created and used per-segment and can be reused for segments that don't
  10841. change between index updates. While generally beneficial, this can lead
  10842. to increased memory usage over 1.3 in certain scenarios:
  10843. 1) A single valued field that was used for both sorting and faceting
  10844. in 1.3 would have used the same top level FieldCache entry. In 1.4,
  10845. sorting will use entries at the segment level while faceting will still
  10846. use entries at the top reader level, leading to increased memory usage.
  10847. 2) Certain function queries such as ord() and rord() require a top level
  10848. FieldCache instance and can thus lead to increased memory usage. Consider
  10849. replacing ord() and rord() with alternatives, such as function queries
  10850. based on ms() for date boosting.
  10851. If you use custom Tokenizer or TokenFilter components in a chain specified in
  10852. schema.xml, they must support reusability. If your Tokenizer or TokenFilter
  10853. maintains state, it should implement reset(). If your TokenFilteFactory does
  10854. not return a subclass of TokenFilter, then it should implement reset() and call
  10855. reset() on its input TokenStream. TokenizerFactory implementations must
  10856. now return a Tokenizer rather than a TokenStream.
  10857. New users of Solr 1.4 will have omitTermFreqAndPositions enabled for non-text
  10858. indexed fields by default, which avoids indexing term frequency, positions, and
  10859. payloads, making the index smaller and faster. If you are upgrading from an
  10860. earlier Solr release and want to enable omitTermFreqAndPositions by default,
  10861. change the schema version from 1.1 to 1.2 in schema.xml. Remove any existing
  10862. index and restart Solr to ensure that omitTermFreqAndPositions completely takes
  10863. affect.
  10864. The default QParserPlugin used by the QueryComponent for parsing the "q" param
  10865. has been changed, to remove support for the deprecated use of ";" as a separator
  10866. between the query string and the sort options when no "sort" param was used.
  10867. Users who wish to continue using the semi-colon based method of specifying the
  10868. sort options should explicitly set the defType param to "lucenePlusSort" on all
  10869. requests. (The simplest way to do this is by specifying it as a default param
  10870. for your request handlers in solrconfig.xml, see the example solrconfig.xml for
  10871. sample syntax.)
  10872. If spellcheck.extendedResults=true, the response format for suggestions
  10873. has changed, see SOLR-1071.
  10874. Use of the "charset" option when configuring the following Analysis
  10875. Factories has been deprecated and will cause a warning to be logged.
  10876. In future versions of Solr attempting to use this option will cause an
  10877. error. See SOLR-1410 for more information.
  10878. - GreekLowerCaseFilterFactory
  10879. - RussianStemFilterFactory
  10880. - RussianLowerCaseFilterFactory
  10881. - RussianLetterTokenizerFactory
  10882. DIH: Evaluator API has been changed in a non back-compatible way. Users who
  10883. have developed custom Evaluators will need to change their code according to
  10884. the new API for it to work. See SOLR-996 for details.
  10885. DIH: The formatDate evaluator's syntax has been changed. The new syntax is
  10886. formatDate(<variable>, '<format_string>'). For example,
  10887. formatDate(x.date, 'yyyy-MM-dd'). In the old syntax, the date string was
  10888. written without a single-quotes. The old syntax has been deprecated and will
  10889. be removed in 1.5, until then, using the old syntax will log a warning.
  10890. DIH: The Context API has been changed in a non back-compatible way. In
  10891. particular, the Context.currentProcess() method now returns a String
  10892. describing the type of the current import process instead of an int.
  10893. Similarily, the public constants in Context viz. FULL_DUMP, DELTA_DUMP and
  10894. FIND_DELTA are changed to a String type. See SOLR-969 for details.
  10895. DIH: The EntityProcessor API has been simplified by moving logic for applying
  10896. transformers and handling multi-row outputs from Transformers into an
  10897. EntityProcessorWrapper class. The EntityProcessor#destroy is now called once
  10898. per parent-row at the end of row (end of data). A new method
  10899. EntityProcessor#close is added which is called at the end of import.
  10900. DIH: In Solr 1.3, if the last_index_time was not available (first import) and
  10901. a delta-import was requested, a full-import was run instead. This is no longer
  10902. the case. In Solr 1.4 delta import is run with last_index_time as the epoch
  10903. date (January 1, 1970, 00:00:00 GMT) if last_index_time is not available.
  10904. Versions of Major Components
  10905. ----------------------------
  10906. Apache Lucene 2.9.1 (r832363 on 2.9 branch)
  10907. Apache Tika 0.4
  10908. Carrot2 3.1.0
  10909. Lucene Information
  10910. ----------------
  10911. Since Solr is built on top of Lucene, many people add customizations to Solr
  10912. that are dependent on Lucene. Please see http://lucene.apache.org/java/2_9_0/,
  10913. especially http://lucene.apache.org/java/2_9_0/changes/Changes.html for more
  10914. information on the version of Lucene used in Solr.
  10915. Detailed Change List
  10916. ----------------------
  10917. New Features
  10918. ----------------------
  10919. 1. SOLR-560: Use SLF4J logging API rather then JDK logging. The packaged .war file is
  10920. shipped with a JDK logging implementation, so logging configuration for the .war should
  10921. be identical to solr 1.3. However, if you are using the .jar file, you can select
  10922. which logging implementation to use by dropping a different binding.
  10923. See: http://www.slf4j.org/ (ryan)
  10924. 2. SOLR-617: Allow configurable index deletion policy and provide a default implementation which
  10925. allows deletion of commit points on various criteria such as number of commits, age of commit
  10926. point and optimized status.
  10927. See http://lucene.apache.org/java/2_3_2/api/org/apache/lucene/index/IndexDeletionPolicy.html
  10928. (yonik, Noble Paul, Akshay Ukey via shalin)
  10929. 3. SOLR-658: Allow Solr to load index from arbitrary directory in dataDir
  10930. (Noble Paul, Akshay Ukey via shalin)
  10931. 4. SOLR-793: Add 'commitWithin' argument to the update add command. This behaves
  10932. similar to the global autoCommit maxTime argument except that it is set for
  10933. each request. (ryan)
  10934. 5. SOLR-670: Add support for rollbacks in UpdateHandler. This allows user to rollback all changes
  10935. since the last commit. (Noble Paul, koji via shalin)
  10936. 6. SOLR-813: Adding DoubleMetaphone Filter and Factory. Similar to the PhoneticFilter,
  10937. but this uses DoubleMetaphone specific calls (including alternate encoding)
  10938. (Todd Feak via ryan)
  10939. 7. SOLR-680: Add StatsComponent. This gets simple statistics on matched numeric fields,
  10940. including: min, max, mean, median, stddev. (koji, ryan)
  10941. - SOLR-1380: Added support for multi-valued fields (Harish Agarwal via gsingers)
  10942. 8. SOLR-561: Added Replication implemented in Java as a request handler. Supports index replication
  10943. as well as configuration replication and exposes detailed statistics and progress information
  10944. on the Admin page. Works on all platforms. (Noble Paul, yonik, Akshay Ukey, shalin)
  10945. 9. SOLR-746: Added "omitHeader" request parameter to omit the header from the response.
  10946. (Noble Paul via shalin)
  10947. 10. SOLR-651: Added TermVectorComponent for serving up term vector information, plus IDF.
  10948. See http://wiki.apache.org/solr/TermVectorComponent (gsingers, Vaijanath N. Rao, Noble Paul)
  10949. 12. SOLR-795: SpellCheckComponent supports building indices on optimize if configured in solrconfig.xml
  10950. (Jason Rennie, shalin)
  10951. 13. SOLR-667: A LRU cache implementation based upon ConcurrentHashMap and other techniques to reduce
  10952. contention and synchronization overhead, to utilize multiple CPU cores more effectively.
  10953. (Fuad Efendi, Noble Paul, yonik via shalin)
  10954. 14. SOLR-465: Add configurable DirectoryProvider so that alternate Directory
  10955. implementations can be specified via solrconfig.xml. The default
  10956. DirectoryProvider will use NIOFSDirectory for better concurrency
  10957. on non Windows platforms. (Mark Miller, TJ Laurenzo via yonik)
  10958. 15. SOLR-822: Add CharFilter so that characters can be filtered (e.g. character normalization)
  10959. before Tokenizer/TokenFilters. (koji)
  10960. 16. SOLR-829: Allow slaves to request compressed files from master during replication
  10961. (Simon Collins, Noble Paul, Akshay Ukey via shalin)
  10962. 17. SOLR-877: Added TermsComponent for accessing Lucene's TermEnum capabilities.
  10963. Useful for auto suggest and possibly distributed search. Not distributed search compliant. (gsingers)
  10964. - Added mincount and maxcount options (Khee Chin via gsingers)
  10965. 18. SOLR-538: Add maxChars attribute for copyField function so that the length limit for destination
  10966. can be specified.
  10967. (Georgios Stamatis, Lars Kotthoff, Chris Harris via koji)
  10968. 19. SOLR-284: Added support for extracting content from binary documents like MS Word and PDF using Apache Tika. See also contrib/extraction/CHANGES.txt (Eric Pugh, Chris Harris, yonik, gsingers)
  10969. 20. SOLR-819: Added factories for Arabic support (gsingers)
  10970. 21. SOLR-781: Distributed search ability to sort field.facet values
  10971. lexicographically. facet.sort values "true" and "false" are
  10972. also deprecated and replaced with "count" and "lex".
  10973. (Lars Kotthoff via yonik)
  10974. 22. SOLR-821: Add support for replication to copy conf file to slave with a different name. This allows replication
  10975. of solrconfig.xml
  10976. (Noble Paul, Akshay Ukey via shalin)
  10977. 23. SOLR-911: Add support for multi-select faceting by allowing filters to be
  10978. tagged and facet commands to exclude certain filters. This patch also
  10979. added the ability to change the output key for facets in the response, and
  10980. optimized distributed faceting refinement by lowering parsing overhead and
  10981. by making requests and responses smaller.
  10982. 24. SOLR-876: WordDelimiterFilter now supports a splitOnNumerics
  10983. option, as well as a list of protected terms.
  10984. (Dan Rosher via hossman)
  10985. 25. SOLR-928: SolrDocument and SolrInputDocument now implement the Map<String,?>
  10986. interface. This should make plugging into other standard tools easier. (ryan)
  10987. 26. SOLR-847: Enhance the snappull command in ReplicationHandler to accept masterUrl.
  10988. (Noble Paul, Preetam Rao via shalin)
  10989. 27. SOLR-540: Add support for globbing in field names to highlight.
  10990. For example, hl.fl=*_text will highlight all fieldnames ending with
  10991. _text. (Lars Kotthoff via yonik)
  10992. 28. SOLR-906: Adding a StreamingUpdateSolrServer that writes update commands to
  10993. an open HTTP connection. If you are using solrj for bulk update requests
  10994. you should consider switching to this implementaion. However, note that
  10995. the error handling is not immediate as it is with the standard SolrServer.
  10996. (ryan)
  10997. 29. SOLR-865: Adding support for document updates in binary format and corresponding support in Solrj client.
  10998. (Noble Paul via shalin)
  10999. 30. SOLR-763: Add support for Lucene's PositionFilter (Mck SembWever via shalin)
  11000. 31. SOLR-966: Enhance the map() function query to take in an optional default value (Noble Paul, shalin)
  11001. 32. SOLR-820: Support replication on startup of master with new index. (Noble Paul, Akshay Ukey via shalin)
  11002. 33. SOLR-943: Make it possible to specify dataDir in solr.xml and accept the dataDir as a request parameter for
  11003. the CoreAdmin create command. (Noble Paul via shalin)
  11004. 34. SOLR-850: Addition of timeouts for distributed searching. Configurable through 'shard-socket-timeout' and
  11005. 'shard-connection-timeout' parameters in SearchHandler. (Patrick O'Leary via shalin)
  11006. 35. SOLR-799: Add support for hash based exact/near duplicate document
  11007. handling. (Mark Miller, yonik)
  11008. 36. SOLR-1026: Add protected words support to SnowballPorterFilterFactory (ehatcher)
  11009. 37. SOLR-739: Add support for OmitTf (Mark Miller via yonik)
  11010. 38. SOLR-1046: Nested query support for the function query parser
  11011. and lucene query parser (the latter existed as an undocumented
  11012. feature in 1.3) (yonik)
  11013. 39. SOLR-940: Add support for Lucene's Trie Range Queries by providing new FieldTypes in
  11014. schema for int, float, long, double and date. Single-valued Trie based
  11015. fields with a precisionStep will index multiple precisions and enable
  11016. faster range queries. (Uwe Schindler, yonik, shalin)
  11017. 40. SOLR-1038: Enhance CommonsHttpSolrServer to add docs in batch using an iterator API (Noble Paul via shalin)
  11018. 41. SOLR-844: A SolrServer implementation to front-end multiple solr servers and provides load balancing and failover
  11019. support (Noble Paul, Mark Miller, hossman via shalin)
  11020. 42. SOLR-939: ValueSourceRangeFilter/Query - filter based on values in a FieldCache entry or on any arbitrary function of field values. (yonik)
  11021. 43. SOLR-1095: Fixed performance problem in the StopFilterFactory and simplified code. Added tests as well. (gsingers)
  11022. 44. SOLR-1096: Introduced httpConnTimeout and httpReadTimeout in replication slave configuration to avoid stalled
  11023. replication. (Jeff Newburn, Noble Paul, shalin)
  11024. 45. SOLR-1115: <bool>on</bool> and <bool>yes</bool> work as expected in solrconfig.xml. (koji)
  11025. 46. SOLR-1099: A FieldAnalysisRequestHandler which provides the analysis functionality of the web admin page as
  11026. a service. The AnalysisRequestHandler is renamed to DocumentAnalysisRequestHandler which is enhanced with
  11027. query analysis and showMatch support. AnalysisRequestHandler is now deprecated. Support for both
  11028. FieldAnalysisRequestHandler and DocumentAnalysisRequestHandler is also provided in the Solrj client.
  11029. (Uri Boness, shalin)
  11030. 47. SOLR-1106: Made CoreAdminHandler Actions pluggable so that additional actions may be plugged in or the existing
  11031. ones can be overridden if needed. (Kay Kay, Noble Paul, shalin)
  11032. 48. SOLR-1124: Add a top() function query that causes its argument to
  11033. have its values derived from the top level IndexReader, even when
  11034. invoked from a sub-reader. top() is implicitly used for the
  11035. ord() and rord() functions. (yonik)
  11036. 49. SOLR-1110: Support sorting on trie fields with Distributed Search. (Mark Miller, Uwe Schindler via shalin)
  11037. 50. SOLR-1121: CoreAdminhandler should not need a core . This makes it possible to start a Solr server w/o a core .(noble)
  11038. 51. SOLR-769: Added support for clustering in contrib/clustering. See http://wiki.apache.org/solr/ClusteringComponent for more info. (gsingers, Stanislaw Osinski)
  11039. 52. SOLR-1175: disable/enable replication on master side. added two commands 'enableReplication' and 'disableReplication' (noble)
  11040. 53. SOLR-1179: DocSets can now be used as Lucene Filters via
  11041. DocSet.getTopFilter() (yonik)
  11042. 54. SOLR-1116: Add a Binary FieldType (noble)
  11043. 55. SOLR-1051: Support the merge of multiple indexes as a CoreAdmin and an update command (Ning Li via shalin)
  11044. 56. SOLR-1152: Snapshoot on ReplicationHandler should accept location as a request parameter (shalin)
  11045. 57. SOLR-1204: Enhance SpellingQueryConverter to handle UTF-8 instead of ASCII only.
  11046. Use the NMTOKEN syntax for matching field names.
  11047. (Michael Ludwig, shalin)
  11048. 58. SOLR-1189: Support providing username and password for basic HTTP authentication in Java replication
  11049. (Matthew Gregg, shalin)
  11050. 59. SOLR-243: Add configurable IndexReaderFactory so that alternate IndexReader implementations
  11051. can be specified via solrconfig.xml. Note that using a custom IndexReader may be incompatible
  11052. with ReplicationHandler (see comments in SOLR-1366). This should be treated as an experimental feature.
  11053. (Andrzej Bialecki, hossman, Mark Miller, John Wang)
  11054. 60. SOLR-1214: differentiate between solr home and instanceDir .deprecates the method SolrResourceLoader#locateInstanceDir()
  11055. and it is renamed to locateSolrHome (noble)
  11056. 61. SOLR-1216 : disambiguate the replication command names. 'snappull' becomes 'fetchindex' 'abortsnappull' becomes 'abortfetch' (noble)
  11057. 62. SOLR-1145: Add capability to specify an infoStream log file for the underlying Lucene IndexWriter in solrconfig.xml.
  11058. This is an advanced debug log file that can be used to aid developers in fixing IndexWriter bugs. See the commented
  11059. out example in the example solrconfig.xml under the indexDefaults section.
  11060. (Chris Harris, Mark Miller)
  11061. 63. SOLR-1256: Show the output of CharFilters in analysis.jsp. (koji)
  11062. 64. SOLR-1266: Added stemEnglishPossessive option (default=true) to WordDelimiterFilter
  11063. that allows disabling of english possessive stemming (removal of trailing 's from tokens)
  11064. (Robert Muir via yonik)
  11065. 65. SOLR-1237: firstSearcher and newSearcher can now be identified via the CommonParams.EVENT (evt) parameter
  11066. in a request. This allows a RequestHandler or SearchComponent to know when a newSearcher or firstSearcher
  11067. event happened. QuerySenderListender is the only implementation in Solr that implements this, but outside
  11068. implementations may wish to. See the AbstractSolrEventListener for a helper method. (gsingers)
  11069. 66. SOLR-1343: Added HTMLStripCharFilter and marked HTMLStripReader, HTMLStripWhitespaceTokenizerFactory and
  11070. HTMLStripStandardTokenizerFactory deprecated. To strip HTML tags, HTMLStripCharFilter can be used
  11071. with an arbitrary Tokenizer. (koji)
  11072. 67. SOLR-1275: Add expungeDeletes to DirectUpdateHandler2 (noble)
  11073. 68. SOLR-1372: Enhance FieldAnalysisRequestHandler to accept field value from content stream (ehatcher)
  11074. 69. SOLR-1370: Show the output of CharFilters in FieldAnalysisRequestHandler (koji)
  11075. 70. SOLR-1373: Add Filter query to admin/form.jsp
  11076. (Jason Rutherglen via hossman)
  11077. 71. SOLR-1368: Add ms() function query for getting milliseconds from dates and for
  11078. high precision date subtraction, add sub() for subtracting other arguments.
  11079. (yonik)
  11080. 72. SOLR-1156: Sort TermsComponent results by frequency (Matt Weber via yonik)
  11081. 73. SOLR-1335 : load core properties from a properties file (noble)
  11082. 74. SOLR-1385 : Add an 'enable' attribute to all plugins (noble)
  11083. 75. SOLR-1414 : implicit core properties are not set for single core (noble)
  11084. 76. SOLR-659 : Adds shards.start and shards.rows to distributed search
  11085. to allow more efficient bulk queries (those that retrieve many or all
  11086. documents). (Brian Whitman via yonik)
  11087. 77. SOLR-1321: Add better support for efficient wildcard handling (Andrzej Bialecki, Robert Muir, gsingers)
  11088. 78. SOLR-1326 : New interface PluginInfoInitialized for all types of plugin (noble)
  11089. 79. SOLR-1447 : Simple property injection. <mergePolicy> & <mergeScheduler> syntaxes are now deprecated
  11090. (Jason Rutherglen, noble)
  11091. 80. SOLR-908 : CommonGramsFilterFactory/CommonGramsQueryFilterFactory for
  11092. speeding up phrase queries containing common words by indexing
  11093. n-grams and using them at query time.
  11094. (Tom Burton-West, Jason Rutherglen via yonik)
  11095. 81. SOLR-1292: Add FieldCache introspection to stats.jsp and JMX Monitoring via
  11096. a new SolrFieldCacheMBean. (hossman)
  11097. 82. SOLR-1167: Solr Config now supports XInclude for XML engines that can support it. (Bryan Talbot via gsingers)
  11098. 83. SOLR-1478: Enable sort by Lucene docid. (ehatcher)
  11099. 84. SOLR-1449: Add <lib> elements to solrconfig.xml to specifying additional
  11100. classpath directories and regular expressions. (hossman via yonik)
  11101. 85. SOLR-1128: Added metadata output to extraction request handler "extract
  11102. only" option. (gsingers)
  11103. 86. SOLR-1274: Added text serialization output for extractOnly
  11104. (Peter Wolanin, gsingers)
  11105. 87. SOLR-768: DIH: Set last_index_time variable in full-import command.
  11106. (Wojtek Piaseczny, Noble Paul via shalin)
  11107. 88. SOLR-811: Allow a "deltaImportQuery" attribute in SqlEntityProcessor
  11108. which is used for delta imports instead of DataImportHandler manipulating
  11109. the SQL itself. (Noble Paul via shalin)
  11110. 89. SOLR-842: Better error handling in DataImportHandler with options to
  11111. abort, skip and continue imports. (Noble Paul, shalin)
  11112. 90. SOLR-833: DIH: A DataSource to read data from a field as a reader. This
  11113. can be used, for example, to read XMLs residing as CLOBs or BLOBs in
  11114. databases. (Noble Paul via shalin)
  11115. 91. SOLR-887: A DIH Transformer to strip HTML tags. (Ahmed Hammad via shalin)
  11116. 92. SOLR-886: DataImportHandler should rollback when an import fails or it is
  11117. aborted (shalin)
  11118. 93. SOLR-891: A DIH Transformer to read strings from Clob type.
  11119. (Noble Paul via shalin)
  11120. 94. SOLR-812: Configurable JDBC settings in JdbcDataSource including optimized
  11121. defaults for read only mode. (David Smiley, Glen Newton, shalin)
  11122. 95. SOLR-910: Add a few utility commands to the DIH admin page such as full
  11123. import, delta import, status, reload config. (Ahmed Hammad via shalin)
  11124. 96. SOLR-938: Add event listener API for DIH import start and end.
  11125. (Kay Kay, Noble Paul via shalin)
  11126. 97. SOLR-801: DIH: Add support for configurable pre-import and post-import
  11127. delete query per root-entity. (Noble Paul via shalin)
  11128. 98. SOLR-988: Add a new scope for session data stored in Context to store
  11129. objects across imports. (Noble Paul via shalin)
  11130. 99. SOLR-980: A PlainTextEntityProcessor which can read from any
  11131. DataSource<Reader> and output a String.
  11132. (Nathan Adams, Noble Paul via shalin)
  11133. 100.SOLR-1003: XPathEntityprocessor must allow slurping all text from a given
  11134. xml node and its children. (Noble Paul via shalin)
  11135. 101.SOLR-1001: Allow variables in various attributes of RegexTransformer,
  11136. HTMLStripTransformer and NumberFormatTransformer.
  11137. (Fergus McMenemie, Noble Paul, shalin)
  11138. 102.SOLR-989: DIH: Expose running statistics from the Context API.
  11139. (Noble Paul, shalin)
  11140. 103.SOLR-996: DIH: Expose Context to Evaluators. (Noble Paul, shalin)
  11141. 104.SOLR-783: DIH: Enhance delta-imports by maintaining separate
  11142. last_index_time for each entity. (Jon Baer, Noble Paul via shalin)
  11143. 105.SOLR-1033: Current entity's namespace is made available to all DIH
  11144. Transformers. This allows one to use an output field of TemplateTransformer
  11145. in other transformers, among other things.
  11146. (Fergus McMenemie, Noble Paul via shalin)
  11147. 106.SOLR-1066: New methods in DIH Context to expose Script details.
  11148. ScriptTransformer changed to read scripts through the new API methods.
  11149. (Noble Paul via shalin)
  11150. 107.SOLR-1062: A DIH LogTransformer which can log data in a given template
  11151. format. (Jon Baer, Noble Paul via shalin)
  11152. 108.SOLR-1065: A DIH ContentStreamDataSource which can accept HTTP POST data
  11153. in a content stream. This can be used to push data to Solr instead of
  11154. just pulling it from DB/Files/URLs. (Noble Paul via shalin)
  11155. 109.SOLR-1061: Improve DIH RegexTransformer to create multiple columns from
  11156. regex groups. (Noble Paul via shalin)
  11157. 110.SOLR-1059: Special DIH flags introduced for deleting documents by query or
  11158. id, skipping rows and stopping further transforms. Use $deleteDocById,
  11159. $deleteDocByQuery for deleting by id and query respectively. Use $skipRow
  11160. to skip the current row but continue with the document. Use $stopTransform
  11161. to stop further transformers. New methods are introduced in Context for
  11162. deleting by id and query. (Noble Paul, Fergus McMenemie, shalin)
  11163. 111.SOLR-1076: JdbcDataSource should resolve DIH variables in all its
  11164. configuration parameters. (shalin)
  11165. 112.SOLR-1055: Make DIH JdbcDataSource easily extensible by making the
  11166. createConnectionFactory method protected and return a
  11167. Callable<Connection> object. (Noble Paul, shalin)
  11168. 113.SOLR-1058: DIH: JdbcDataSource can lookup javax.sql.DataSource using JNDI.
  11169. Use a jndiName attribute to specify the location of the data source.
  11170. (Jason Shepherd, Noble Paul via shalin)
  11171. 114.SOLR-1083: A DIH Evaluator for escaping query characters.
  11172. (Noble Paul, shalin)
  11173. 115.SOLR-934: A MailEntityProcessor to enable indexing mails from
  11174. POP/IMAP sources into a solr index. (Preetam Rao, shalin)
  11175. 116.SOLR-1060: A DIH LineEntityProcessor which can stream lines of text from a
  11176. given file to be indexed directly or for processing with transformers and
  11177. child entities.
  11178. (Fergus McMenemie, Noble Paul, shalin)
  11179. 117.SOLR-1127: Add support for DIH field name to be templatized.
  11180. (Noble Paul, shalin)
  11181. 118.SOLR-1092: Added a new DIH command named 'import' which does not
  11182. automatically clean the index. This is useful and more appropriate when one
  11183. needs to import only some of the entities.
  11184. (Noble Paul via shalin)
  11185. 119.SOLR-1153: DIH 'deltaImportQuery' is honored on child entities as well
  11186. (noble)
  11187. 120.SOLR-1230: Enhanced dataimport.jsp to work with all DataImportHandler
  11188. request handler configurations, rather than just a hardcoded /dataimport
  11189. handler. (ehatcher)
  11190. 121.SOLR-1235: disallow period (.) in DIH entity names (noble)
  11191. 122.SOLR-1234: Multiple DIH does not work because all of them write to
  11192. dataimport.properties. Use the handler name as the properties file name
  11193. (noble)
  11194. 123.SOLR-1348: Support binary field type in convertType logic in DIH
  11195. JdbcDataSource (shalin)
  11196. 124.SOLR-1406: DIH: Make FileDataSource and FileListEntityProcessor to be more
  11197. extensible (Luke Forehand, shalin)
  11198. 125.SOLR-1437: DIH: XPathEntityProcessor can deal with xpath syntaxes such as
  11199. //tagname , /root//tagname (Fergus McMenemie via noble)
  11200. Optimizations
  11201. ----------------------
  11202. 1. SOLR-374: Use IndexReader.reopen to save resources by re-using parts of the
  11203. index that haven't changed. (Mark Miller via yonik)
  11204. 2. SOLR-808: Write string keys in Maps as extern strings in the javabin format. (Noble Paul via shalin)
  11205. 3. SOLR-475: New faceting method with better performance and smaller memory usage for
  11206. multi-valued fields with many unique values but relatively few values per document.
  11207. Controllable via the facet.method parameter - "fc" is the new default method and "enum"
  11208. is the original method. (yonik)
  11209. 4. SOLR-970: Use an ArrayList in SolrPluginUtils.parseQueryStrings
  11210. since we know exactly how long the List will be in advance.
  11211. (Kay Kay via hossman)
  11212. 5. SOLR-1002: Change SolrIndexSearcher to use insertWithOverflow
  11213. with reusable priority queue entries to reduce the amount of
  11214. generated garbage during searching. (Mark Miller via yonik)
  11215. 6. SOLR-971: Replace StringBuffer with StringBuilder for instances that do not require thread-safety.
  11216. (Kay Kay via shalin)
  11217. 7. SOLR-921: SolrResourceLoader must cache short class name vs fully qualified classname
  11218. (Noble Paul, hossman via shalin)
  11219. 8. SOLR-973: CommonsHttpSolrServer writes the xml directly to the server.
  11220. (Noble Paul via shalin)
  11221. 9. SOLR-1108: Remove un-needed synchronization in SolrCore constructor.
  11222. (Noble Paul via shalin)
  11223. 10. SOLR-1166: Speed up docset/filter generation by avoiding top-level
  11224. score() call and iterating over leaf readers with TermDocs. (yonik)
  11225. 11. SOLR-1169: SortedIntDocSet - a new small set implementation
  11226. that saves memory over HashDocSet, is faster to construct,
  11227. is ordered for easier implementation of skipTo, and is faster
  11228. in the general case. (yonik)
  11229. 12. SOLR-1165: Use Lucene Filters and pass them down to the Lucene
  11230. search methods to filter earlier and improve performance. (yonik)
  11231. 13. SOLR-1111: Use per-segment sorting to share fieldcache elements
  11232. across unchanged segments. This saves memory and reduces
  11233. commit times for incremental updates to the index. (yonik)
  11234. 14. SOLR-1188: Minor efficiency improvement in TermVectorComponent related to ignoring positions or offsets (gsingers)
  11235. 15. SOLR-1150: Load Documents for Highlighting one at a time rather than
  11236. all at once to avoid OOM with many large Documents. (Siddharth Gargate via Mark Miller)
  11237. 16. SOLR-1353: Implement and use reusable token streams for analysis. (Robert Muir, yonik)
  11238. 17. SOLR-1296: Enables setting IndexReader's termInfosIndexDivisor via a new attribute to StandardIndexReaderFactory. Enables
  11239. setting termIndexInterval to IndexWriter via SolrIndexConfig. (Jason Rutherglen, hossman, gsingers)
  11240. 18. SOLR-846: DIH: Reduce memory consumption during delta import by removing
  11241. keys when used (Ricky Leung, Noble Paul via shalin)
  11242. 19. SOLR-974: DataImportHandler skips commit if no data has been updated.
  11243. (Wojtek Piaseczny, shalin)
  11244. 20. SOLR-1004: DIH: Check for abort more frequently during delta-imports.
  11245. (Marc Sturlese, shalin)
  11246. 21. SOLR-1098: DIH DateFormatTransformer can cache the format objects.
  11247. (Noble Paul via shalin)
  11248. 22. SOLR-1465: Replaced string concatenations with StringBuilder append
  11249. calls in DIH XPathRecordReader. (Mark Miller, shalin)
  11250. Bug Fixes
  11251. ----------------------
  11252. 1. SOLR-774: Fixed logging level display (Sean Timm via Otis Gospodnetic)
  11253. 2. SOLR-771: CoreAdminHandler STATUS should display 'normalized' paths (koji, hossman, shalin)
  11254. 3. SOLR-532: WordDelimiterFilter now respects payloads and other attributes of the original Token by
  11255. using Token.clone() (Tricia Williams, gsingers)
  11256. 4. SOLR-805: DisMax queries are not being cached in QueryResultCache (Todd Feak via koji)
  11257. 5. SOLR-751: WordDelimiterFilter didn't adjust the start offset of single
  11258. tokens that started with delimiters, leading to incorrect highlighting.
  11259. (Stefan Oestreicher via yonik)
  11260. 7. SOLR-843: SynonymFilterFactory cannot handle multiple synonym files correctly (koji)
  11261. 8. SOLR-840: BinaryResponseWriter does not handle incompatible data in fields (Noble Paul via shalin)
  11262. 9. SOLR-803: CoreAdminRequest.createCore fails because name parameter isn't set (Sean Colombo via ryan)
  11263. 10. SOLR-869: Fix file descriptor leak in SolrResourceLoader#getLines (Mark Miller, shalin)
  11264. 11. SOLR-872: Better error message for incorrect copyField destination (Noble Paul via shalin)
  11265. 12. SOLR-879: Enable position increments in the query parser and fix the
  11266. example schema to enable position increments for the stop filter in
  11267. both the index and query analyzers to fix the bug with phrase queries
  11268. with stopwords. (yonik)
  11269. 13. SOLR-836: Add missing "a" to the example stopwords.txt (yonik)
  11270. 14. SOLR-892: Fix serialization of booleans for PHPSerializedResponseWriter
  11271. (yonik)
  11272. 15. SOLR-898: Fix null pointer exception for the JSON response writer
  11273. based formats when nl.json=arrarr with null keys. (yonik)
  11274. 16. SOLR-901: FastOutputStream ignores write(byte[]) call. (Noble Paul via shalin)
  11275. 17. SOLR-807: BinaryResponseWriter writes fieldType.toExternal if it is not a supported type,
  11276. otherwise it writes fieldType.toObject. This fixes the bug with encoding/decoding UUIDField.
  11277. (koji, Noble Paul, shalin)
  11278. 18. SOLR-863: SolrCore.initIndex should close the directory it gets for clearing the lock and
  11279. use the DirectoryFactory. (Mark Miller via shalin)
  11280. 19. SOLR-802: Fix a potential null pointer error in the distributed FacetComponent
  11281. (David Bowen via ryan)
  11282. 20. SOLR-346: Use perl regex to improve accuracy of finding latest snapshot in snapinstaller (billa)
  11283. 21. SOLR-830: Use perl regex to improve accuracy of finding latest snapshot in snappuller (billa)
  11284. 22. SOLR-897: Fixed Argument list too long error when there are lots of snapshots/backups (Dan Rosher via billa)
  11285. 23. SOLR-925: Fixed highlighting on fields with multiValued="true" and termOffsets="true" (koji)
  11286. 24. SOLR-902: FastInputStream#read(byte b[], int off, int len) gives incorrect results when amount left to read is less
  11287. than buffer size (Noble Paul via shalin)
  11288. 25. SOLR-978: Old files are not removed from slaves after replication (Jaco, Noble Paul, shalin)
  11289. 26. SOLR-883: Implicit properties are not set for Cores created through CoreAdmin (Noble Paul via shalin)
  11290. 27. SOLR-991: Better error message when parsing solrconfig.xml fails due to malformed XML. Error message notes the name
  11291. of the file being parsed. (Michael Henson via shalin)
  11292. 28. SOLR-1008: Fix stats.jsp XML encoding for <stat> item entries with ampersands in their names. (ehatcher)
  11293. 29. SOLR-976: deleteByQuery is ignored when deleteById is placed prior to deleteByQuery in a <delete>.
  11294. Now both delete by id and delete by query can be specified at the same time as follows.
  11295. <delete>
  11296. <id>05991</id><id>06000</id>
  11297. <query>office:Bridgewater</query><query>office:Osaka</query>
  11298. </delete>
  11299. (koji)
  11300. 30. SOLR-1016: HTTP 503 error changes 500 in SolrCore (koji)
  11301. 31. SOLR-1015: Incomplete information in replication admin page and http command response when server
  11302. is both master and slave i.e. when server is a repeater (Akshay Ukey via shalin)
  11303. 32. SOLR-1018: Slave is unable to replicate when server acts as repeater (as both master and slave)
  11304. (Akshay Ukey, Noble Paul via shalin)
  11305. 33. SOLR-1031: Fix XSS vulnerability in schema.jsp (Paul Lovvik via ehatcher)
  11306. 34. SOLR-1064: registry.jsp incorrectly displaying info for last core initialized
  11307. regardless of what the current core is. (hossman)
  11308. 35. SOLR-1072: absolute paths used in sharedLib attribute were
  11309. incorrectly treated as relative paths. (hossman)
  11310. 36. SOLR-1104: Fix some rounding errors in LukeRequestHandler's histogram (hossman)
  11311. 37. SOLR-1125: Use query analyzer rather than index analyzer for queryFieldType in QueryElevationComponent
  11312. (koji)
  11313. 38. SOLR-1126: Replicated files have incorrect timestamp (Jian Han Guo, Jeff Newburn, Noble Paul via shalin)
  11314. 39. SOLR-1094: Incorrect value of correctlySpelled attribute in some cases (David Smiley, Mark Miller via shalin)
  11315. 40. SOLR-965: Better error message when <pingQuery> is not configured.
  11316. (Mark Miller via hossman)
  11317. 41. SOLR-1135: Java replication creates Snapshot in the directory where Solr was launched (Jianhan Guo via shalin)
  11318. 42. SOLR-1138: Query Elevation Component now gracefully handles missing queries. (gsingers)
  11319. 43. SOLR-929: LukeRequestHandler should return "dynamicBase" only if the field is dynamic.
  11320. (Peter Wolanin, koji)
  11321. 44. SOLR-1141: NullPointerException during snapshoot command in java based replication (Jian Han Guo, shalin)
  11322. 45. SOLR-1078: Fixes to WordDelimiterFilter to avoid splitting or dropping
  11323. international non-letter characters such as non spacing marks. (yonik)
  11324. 46. SOLR-825, SOLR-1221: Enables highlighting for range/wildcard/fuzzy/prefix queries if using hl.usePhraseHighlighter=true
  11325. and hl.highlightMultiTerm=true. Also make both options default to true. (Mark Miller, yonik)
  11326. 47. SOLR-1174: Fix Logging admin form submit url for multicore. (Jacob Singh via shalin)
  11327. 48. SOLR-1182: Fix bug in OrdFieldSource#equals which could cause a bug with OrdFieldSource caching
  11328. on OrdFieldSource#hashcode collisions. (Mark Miller)
  11329. 49. SOLR-1207: equals method should compare this and other of DocList in DocSetBase (koji)
  11330. 50. SOLR-1242: Human readable JVM info from system handler does integer cutoff rounding, even when dealing
  11331. with GB. Fixed to round to one decimal place. (Jay Hill, Mark Miller)
  11332. 51. SOLR-1243: Admin RequestHandlers should not be cached over HTTP. (Mark Miller)
  11333. 52. SOLR-1260: Fix implementations of set operations for DocList subclasses
  11334. and fix a bug in HashDocSet construction when offset != 0. These bugs
  11335. never manifested in normal Solr use and only potentially affect
  11336. custom code. (yonik)
  11337. 53. SOLR-1171: Fix LukeRequestHandler so it doesn't rely on SolrQueryParser
  11338. and report incorrect stats when field names contain characters
  11339. SolrQueryParser considers special.
  11340. (hossman)
  11341. 54. SOLR-1317: Fix CapitalizationFilterFactory to work when keep parameter is not specified.
  11342. (ehatcher)
  11343. 55. SOLR-1342: CapitalizationFilterFactory uses incorrect term length calculations.
  11344. (Robert Muir via Mark Miller)
  11345. 56. SOLR-1359: DoubleMetaphoneFilter didn't index original tokens if there was no
  11346. alternative, and could incorrectly skip or reorder tokens. (yonik)
  11347. 57. SOLR-1360: Prevent PhoneticFilter from producing duplicate tokens. (yonik)
  11348. 58. SOLR-1371: LukeRequestHandler/schema.jsp errored if schema had no
  11349. uniqueKey field. The new test for this also (hopefully) adds some
  11350. future proofing against similar bugs in the future. As a side
  11351. effect QueryElevationComponentTest was refactored, and a bug in
  11352. that test was found. (hossman)
  11353. 59. SOLR-914: General finalize() improvements. No finalizer delegates
  11354. to the respective close/destroy method w/o first checking if it's
  11355. already been closed/destroyed; if it hasn't a, SEVERE error is
  11356. logged first. (noble, hossman)
  11357. 60. SOLR-1362: WordDelimiterFilter had inconsistent behavior when setting
  11358. the position increment of tokens following a token consisting of all
  11359. delimiters, and could additionally lose big position increments.
  11360. (Robert Muir, yonik)
  11361. 61. SOLR-1091: Jetty's use of CESU-8 for code points outside the BMP
  11362. resulted in invalid output from the serialized PHP writer. (yonik)
  11363. 62. SOLR-1103: LukeRequestHandler (and schema.jsp) have been fixed to
  11364. include the "1" (ie: 2**0) bucket in the term histogram data.
  11365. (hossman)
  11366. 63. SOLR-1398: Add offset corrections in PatternTokenizerFactory.
  11367. (Anders Melchiorsen, koji)
  11368. 64. SOLR-1400: Properly handle zero-length tokens in TrimFilter. This
  11369. was not a bug in any released version. (Peter Wolanin, gsingers)
  11370. 65. SOLR-1071: spellcheck.extendedResults returns an invalid JSON response
  11371. when count > 1. To fix, the extendedResults format was changed.
  11372. (Uri Boness, yonik)
  11373. 66. SOLR-1381: Fixed improper handling of fields that have only term positions and not term offsets during Highlighting (Thorsten Fischer, gsingers)
  11374. 67. SOLR-1427: Fixed registry.jsp issue with MBeans (gsingers)
  11375. 68. SOLR-1468: SolrJ's XML response parsing threw an exception for null
  11376. names, such as those produced when facet.missing=true (yonik)
  11377. 69. SOLR-1471: Fixed issue with calculating missing values for facets in single valued cases in Stats Component.
  11378. This is not correctly calculated for the multivalued case. (James Miller, gsingers)
  11379. 70. SOLR-1481: Fixed omitHeader parameter for PHP ResponseWriter. (Jun Ohtani via billa)
  11380. 71. SOLR-1448: Add weblogic.xml to solr webapp to enable correct operation in
  11381. WebLogic. (Ilan Rabinovitch via yonik)
  11382. 72. SOLR-1504: empty char mapping can cause ArrayIndexOutOfBoundsException in analysis.jsp and co.
  11383. (koji)
  11384. 73. SOLR-1394: HTMLStripCharFilter split tokens that contained entities and
  11385. often calculated offsets incorrectly for entities.
  11386. (Anders Melchiorsen via yonik)
  11387. 74. SOLR-1517: Admin pages could stall waiting for localhost name resolution
  11388. if reverse DNS wasn't configured; this was changed so the DNS resolution
  11389. is attempted only once the first time an admin page is loaded.
  11390. (hossman)
  11391. 75. SOLR-1529: More than 8 deleteByQuery commands in a single request
  11392. caused an error to be returned, although the deletes were
  11393. still executed. (asmodean via yonik)
  11394. 76. SOLR-800: Deep copy collections to avoid ConcurrentModificationException
  11395. in XPathEntityprocessor while streaming
  11396. (Kyle Morrison, Noble Paul via shalin)
  11397. 77. SOLR-823: Request parameter variables ${dataimporter.request.xxx} are not
  11398. resolved in DIH (Mck SembWever, Noble Paul, shalin)
  11399. 78. SOLR-728: Add synchronization to avoid race condition of multiple DIH
  11400. imports working concurrently (Walter Ferrara, shalin)
  11401. 79. SOLR-742: Add ability to create dynamic fields with custom
  11402. DataImportHandler transformers (Wojtek Piaseczny, Noble Paul, shalin)
  11403. 80. SOLR-832: Rows parameter is not honored in DIH non-debug mode and can
  11404. abort a running import in debug mode. (Akshay Ukey, shalin)
  11405. 81. SOLR-838: The DIH VariableResolver obtained from a DataSource's context
  11406. does not have current data. (Noble Paul via shalin)
  11407. 82. SOLR-864: DataImportHandler does not catch and log Errors (shalin)
  11408. 83. SOLR-873: Fix case-sensitive field names and columns (Jon Baer, shalin)
  11409. 84. SOLR-893: Unable to delete documents via SQL and deletedPkQuery with
  11410. deltaimport (Dan Rosher via shalin)
  11411. 85. SOLR-888: DIH DateFormatTransformer cannot convert non-string type
  11412. (Amit Nithian via shalin)
  11413. 86. SOLR-841: DataImportHandler should throw exception if a field does not
  11414. have column attribute (Michael Henson, shalin)
  11415. 87. SOLR-884: CachedSqlEntityProcessor should check if the cache key is
  11416. present in the query results (Noble Paul via shalin)
  11417. 88. SOLR-985: Fix thread-safety issue with DIH TemplateString for concurrent
  11418. imports with multiple cores. (Ryuuichi Kumai via shalin)
  11419. 89. SOLR-999: DIH XPathRecordReader fails on XMLs with nodes mixed with
  11420. CDATA content. (Fergus McMenemie, Noble Paul via shalin)
  11421. 90. SOLR-1000: DIH FileListEntityProcessor should not apply fileName filter to
  11422. directory names. (Fergus McMenemie via shalin)
  11423. 91. SOLR-1009: Repeated column names result in duplicate values.
  11424. (Fergus McMenemie, Noble Paul via shalin)
  11425. 92. SOLR-1017: Fix DIH thread-safety issue with last_index_time for concurrent
  11426. imports in multiple cores due to unsafe usage of SimpleDateFormat by
  11427. multiple threads. (Ryuuichi Kumai via shalin)
  11428. 93. SOLR-1024: Calling abort on DataImportHandler import commits data instead
  11429. of calling rollback. (shalin)
  11430. 94. SOLR-1037: DIH should not add null values in a row returned by
  11431. EntityProcessor to documents. (shalin)
  11432. 95. SOLR-1040: DIH XPathEntityProcessor fails with an xpath like
  11433. /feed/entry/link[@type='text/html']/@href (Noble Paul via shalin)
  11434. 96. SOLR-1042: Fix memory leak in DIH by making TemplateString non-static
  11435. member in VariableResolverImpl (Ryuuichi Kumai via shalin)
  11436. 97. SOLR-1053: IndexOutOfBoundsException in DIH SolrWriter.getResourceAsString
  11437. when size of data-config.xml is a multiple of 1024 bytes.
  11438. (Herb Jiang via shalin)
  11439. 98. SOLR-1077: IndexOutOfBoundsException with useSolrAddSchema in DIH
  11440. XPathEntityProcessor. (Sam Keen, Noble Paul via shalin)
  11441. 99. SOLR-1080: DIH RegexTransformer should not replace if regex is not matched.
  11442. (Noble Paul, Fergus McMenemie via shalin)
  11443. 100.SOLR-1090: DataImportHandler should load the data-config.xml using UTF-8
  11444. encoding. (Rui Pereira, shalin)
  11445. 101.SOLR-1146: ConcurrentModificationException in DataImporter.getStatusMessages
  11446. (Walter Ferrara, Noble Paul via shalin)
  11447. 102.SOLR-1229: Fixes for DIH deletedPkQuery, particularly when using
  11448. transformed Solr unique id's
  11449. (Lance Norskog, Noble Paul via ehatcher)
  11450. 103.SOLR-1286: Fix the IH commit parameter always defaulting to "true" even
  11451. if "false" is explicitly passed in. (Jay Hill, Noble Paul via ehatcher)
  11452. 104.SOLR-1323: Reset XPathEntityProcessor's $hasMore/$nextUrl when fetching
  11453. next URL (noble, ehatcher)
  11454. 105.SOLR-1450: DIH: Jdbc connection properties such as batchSize are not
  11455. applied if the driver jar is placed in solr_home/lib.
  11456. (Steve Sun via shalin)
  11457. 106.SOLR-1474: DIH Delta-import should run even if last_index_time is not set.
  11458. (shalin)
  11459. Other Changes
  11460. ----------------------
  11461. 1. Upgraded to Lucene 2.4.0 (yonik)
  11462. 2. SOLR-805: Upgraded to Lucene 2.9-dev (r707499) (koji)
  11463. 3. DumpRequestHandler (/debug/dump): changed 'fieldName' to 'sourceInfo'. (ehatcher)
  11464. 4. SOLR-852: Refactored common code in CSVRequestHandler and XMLUpdateRequestHandler (gsingers, ehatcher)
  11465. 5. SOLR-871: Removed dependency on stax-utils.jar. If you using solr.jar and running
  11466. java 6, you can also remove woodstox and geronimo. (ryan)
  11467. 6. SOLR-465: Upgraded to Lucene 2.9-dev (r719351) (shalin)
  11468. 7. SOLR-889: Upgraded to commons-io-1.4.jar and commons-fileupload-1.2.1.jar (ryan)
  11469. 8. SOLR-875: Upgraded to Lucene 2.9-dev (r723985) and consolidated the BitSet implementations (Michael Busch, gsingers)
  11470. 9. SOLR-819: Upgraded to Lucene 2.9-dev (r724059) to get access to Arabic public constructors (gsingers)
  11471. 10. SOLR-900: Moved solrj into /src/solrj. The contents of solr-common.jar is now included
  11472. in the solr-solrj.jar. (ryan)
  11473. 11. SOLR-924: Code cleanup: make all existing finalize() methods call
  11474. super.finalize() in a finally block. All current instances extend
  11475. Object, so this doesn't fix any bugs, but helps protect against
  11476. future changes. (Kay Kay via hossman)
  11477. 12. SOLR-885: NamedListCodec is renamed to JavaBinCodec and returns Object instead of NamedList.
  11478. (Noble Paul, yonik via shalin)
  11479. 13. SOLR-84: Use new Solr logo in admin (Michiel via koji)
  11480. 14. SOLR-981: groupId for Woodstox dependency in maven solrj changed to org.codehaus.woodstox (Tim Taranov via shalin)
  11481. 15. Upgraded to Lucene 2.9-dev r738218 (yonik)
  11482. 16. SOLR-959: Refactored TestReplicationHandler to remove hardcoded port numbers (hossman, Akshay Ukey via shalin)
  11483. 17. Upgraded to Lucene 2.9-dev r742220 (yonik)
  11484. 18. SOLR-1022: Better "ignored" field in example schema.xml (Peter Wolanin via hossman)
  11485. 19. SOLR-967: New type-safe constructor for NamedList (Kay Kay via hossman)
  11486. 20. SOLR-1036: Change default QParser from "lucenePlusSort" to "lucene" to
  11487. reduce confusion of semicolon splitting behavior when no sort param is
  11488. specified (hossman)
  11489. 21. Upgraded to Lucene 2.9-dev r752164 (shalin)
  11490. 22. SOLR-1068: Use fsync on replicated index and configuration files (yonik, Noble Paul, shalin)
  11491. 23. SOLR-952: Cleanup duplicated code in deprecated HighlightingUtils (hossman)
  11492. 24. Upgraded to Lucene 2.9-dev r764281 (shalin)
  11493. 25. SOLR-1079: Rename omitTf to omitTermFreqAndPositions (shalin)
  11494. 26. SOLR-804: Added Lucene's misc contrib JAR (rev 764281). (gsingers)
  11495. 27. Upgraded to Lucene 2.9-dev r768228 (shalin)
  11496. 28. Upgraded to Lucene 2.9-dev r768336 (shalin)
  11497. 29. SOLR-997: Wait for a longer time for slave to complete replication in TestReplicationHandler
  11498. (Mark Miller via shalin)
  11499. 30. SOLR-748: FacetComponent helper classes are made public as an experimental API.
  11500. (Wojtek Piaseczny via shalin)
  11501. 31. Upgraded to Lucene 2.9-dev 773862 (Mark Miller)
  11502. 32. Upgraded to Lucene 2.9-dev r776177 (shalin)
  11503. 33. SOLR-1149: Made QParserPlugin and related classes extendible as an experimental API.
  11504. (Kaktu Chakarabati via shalin)
  11505. 34. Upgraded to Lucene 2.9-dev r779312 (yonik)
  11506. 35. SOLR-786: Refactor DisMaxQParser to allow overriding certain features of DisMaxQParser
  11507. (Wojciech Biela via shalin)
  11508. 36. SOLR-458: Add equals and hashCode methods to NamedList (Stefan Rinner, shalin)
  11509. 37. SOLR-1184: Add option in solrconfig to open a new IndexReader rather than
  11510. using reopen. Done mainly as a fail-safe in the case that a user runs into
  11511. a reopen bug/issue. (Mark Miller)
  11512. 38. SOLR-1215 use double quotes to enclose attributes in solr.xml (noble)
  11513. 39. SOLR-1151: add dynamic copy field and maxChars example to example schema.xml.
  11514. (Peter Wolanin, Mark Miller)
  11515. 40. SOLR-1233: remove /select?qt=/whatever restriction on /-prefixed request handlers.
  11516. (ehatcher)
  11517. 41. SOLR-1257: logging.jsp has been removed and now passes through to the
  11518. hierarchical log level tool added in Solr 1.3. Users still
  11519. hitting "/admin/logging.jsp" should switch to "/admin/logging".
  11520. (hossman)
  11521. 42. Upgraded to Lucene 2.9-dev r794238. Other changes include:
  11522. - LUCENE-1614 - Use Lucene's DocIdSetIterator.NO_MORE_DOCS as the sentinel value.
  11523. - LUCENE-1630 - Add acceptsDocsOutOfOrder method to Collector implementations.
  11524. - LUCENE-1673, LUCENE-1701 - Trie has moved to Lucene core and renamed to NumericRangeQuery.
  11525. - LUCENE-1662, LUCENE-1687 - Replace usage of ExtendedFieldCache by FieldCache.
  11526. (shalin)
  11527. 42. SOLR-1241: Solr's CharFilter has been moved to Lucene. Remove CharFilter and related classes
  11528. from Solr and use Lucene's corresponding code (koji via shalin)
  11529. 43. SOLR-1261: Lucene trunk renamed RangeQuery & Co to TermRangeQuery (Uwe Schindler via shalin)
  11530. 44. Upgraded to Lucene 2.9-dev r801856 (Mark Miller)
  11531. 45. SOLR-1276: Added StatsComponentTest (Rafał Kuć, gsingers)
  11532. 46. SOLR-1377: The TokenizerFactory API has changed to explicitly return a Tokenizer
  11533. rather then a TokenStream (that may be or may not be a Tokenizer). This change
  11534. is required to take advantage of the Token reuse improvements in lucene 2.9. (ryan)
  11535. 47. SOLR-1410: Log a warning if the deprecated charset option is used
  11536. on GreekLowerCaseFilterFactory, RussianStemFilterFactory,
  11537. RussianLowerCaseFilterFactory or RussianLetterTokenizerFactory.
  11538. (Robert Muir via hossman)
  11539. 48. SOLR-1423: Due to LUCENE-1906, Solr's tokenizer should use Tokenizer.correctOffset() instead of CharStream.correctOffset().
  11540. (Uwe Schindler via koji)
  11541. 49. SOLR-1319, SOLR-1345: Upgrade Solr Highlighter classes to new Lucene Highlighter API. This upgrade has
  11542. resulted in a back compat break in the DefaultSolrHighlighter class - getQueryScorer is no longer
  11543. protected. If you happened to be overriding that method in custom code, overide getHighlighter instead.
  11544. Also, HighlightingUtils#getQueryScorer has been removed as it was deprecated and backcompat has been
  11545. broken with it anyway. (Mark Miller)
  11546. 50. SOLR-1357 SolrInputDocument cannot process dynamic fields (Lars Grote via noble)
  11547. 51. SOLR-1075: Upgrade to Tika 0.3. See http://www.apache.org/dist/lucene/tika/CHANGES-0.3.txt (gsingers)
  11548. 52. SOLR-1310: Upgrade to Tika 0.4. Note there are some differences in
  11549. detecting Languages now in extracting request handler.
  11550. See http://www.lucidimagination.com/search/document/d6f1899a85b2a45c/vote_apache_tika_0_4_release_candidate_2#d6f1899a85b2a45c
  11551. for discussion on language detection.
  11552. See http://www.apache.org/dist/lucene/tika/CHANGES-0.4.txt. (gsingers)
  11553. 53. SOLR-782: DIH: Refactored SolrWriter to make it a concrete class and
  11554. removed wrappers over SolrInputDocument. Refactored to load Evaluators
  11555. lazily. Removed multiple document nodes in the configuration xml. Removed
  11556. support for 'default' variables, they are automatically available as
  11557. request parameters. (Noble Paul via shalin)
  11558. 54. SOLR-964: DIH: XPathEntityProcessor now ignores DTD validations
  11559. (Fergus McMenemie, Noble Paul via shalin)
  11560. 55. SOLR-1029: DIH: Standardize Evaluator parameter parsing and added helper
  11561. functions for parsing all evaluator parameters in a standard way.
  11562. (Noble Paul, shalin)
  11563. 56. SOLR-1081: Change DIH EventListener to be an interface so that components
  11564. such as an EntityProcessor or a Transformer can act as an event listener.
  11565. (Noble Paul, shalin)
  11566. 57. SOLR-1027: DIH: Alias the 'dataimporter' namespace to a shorter name 'dih'.
  11567. (Noble Paul via shalin)
  11568. 58. SOLR-1084: Better error reporting when DIH entity name is a reserved word
  11569. and data-config.xml root node is not <dataConfig>.
  11570. (Noble Paul via shalin)
  11571. 59. SOLR-1087: Deprecate 'where' attribute in CachedSqlEntityProcessor in
  11572. favor of cacheKey and cacheLookup. (Noble Paul via shalin)
  11573. 60. SOLR-969: Change the FULL_DUMP, DELTA_DUMP, FIND_DELTA constants in DIH
  11574. Context to String. Change Context.currentProcess() to return a string
  11575. instead of an integer. (Kay Kay, Noble Paul, shalin)
  11576. 61. SOLR-1120: Simplified DIH EntityProcessor API by moving logic for applying
  11577. transformers and handling multi-row outputs from Transformers into an
  11578. EntityProcessorWrapper class. The behavior of the method
  11579. EntityProcessor#destroy has been modified to be called once per parent-row
  11580. at the end of row. A new method EntityProcessor#close is added which is
  11581. called at the end of import. A new method
  11582. Context#getResolvedEntityAttribute is added which returns the resolved
  11583. value of an entity's attribute. Introduced a DocWrapper which takes care
  11584. of maintaining document level session variables.
  11585. (Noble Paul, shalin)
  11586. 62. SOLR-1265: Add DIH variable resolving for URLDataSource properties like
  11587. baseUrl. (Chris Eldredge via ehatcher)
  11588. 63. SOLR-1269: Better error messages from DIH JdbcDataSource when JDBC Driver
  11589. name or SQL is incorrect. (ehatcher, shalin)
  11590. Build
  11591. ----------------------
  11592. 1. SOLR-776: Added in ability to sign artifacts via Ant for releases (gsingers)
  11593. 2. SOLR-854: Added run-example target (Mark Miller via ehatcher)
  11594. 3. SOLR-1054:Fix dist-src target for DataImportHandler (Ryuuichi Kumai via shalin)
  11595. 4. SOLR-1219: Added proxy.setup target (koji)
  11596. 5. SOLR-1386: In build.xml, use longfile="gnu" in tar task to avoid warnings about long file names
  11597. (Mark Miller via shalin)
  11598. 6. SOLR-1441: Make it possible to run all tests in a package (shalin)
  11599. Documentation
  11600. ----------------------
  11601. 1. SOLR-789: The javadoc of RandomSortField is not readable (Nicolas Lalevée via koji)
  11602. 2. SOLR-962: Note about null handling in ModifiableSolrParams.add javadoc
  11603. (Kay Kay via hossman)
  11604. 3. SOLR-1409: Added Solr Powered By Logos
  11605. 4. SOLR-1369: Add HSQLDB Jar to example-DIH, unzip database and update
  11606. instructions.
  11607. ================== Release 1.3.0 ==================
  11608. Upgrading from Solr 1.2
  11609. -----------------------
  11610. IMPORTANT UPGRADE NOTE: In a master/slave configuration, all searchers/slaves
  11611. should be upgraded before the master! If the master were to be updated
  11612. first, the older searchers would not be able to read the new index format.
  11613. The Porter snowball based stemmers in Lucene were updated (LUCENE-1142),
  11614. and are not guaranteed to be backward compatible at the index level
  11615. (the stem of certain words may have changed). Re-indexing is recommended.
  11616. Older Apache Solr installations can be upgraded by replacing
  11617. the relevant war file with the new version. No changes to configuration
  11618. files should be needed.
  11619. This version of Solr contains a new version of Lucene implementing
  11620. an updated index format. This version of Solr/Lucene can still read
  11621. and update indexes in the older formats, and will convert them to the new
  11622. format on the first index change. Be sure to backup your index before
  11623. upgrading in case you need to downgrade.
  11624. Solr now recognizes HTTP Request headers related to HTTP Caching (see
  11625. RFC 2616 sec13) and will by default respond with "304 Not Modified"
  11626. when appropriate. This should only affect users who access Solr via
  11627. an HTTP Cache, or via a Web-browser that has an internal cache, but if
  11628. you wish to suppress this behavior an '<httpCaching never304="true"/>'
  11629. option can be added to your solrconfig.xml. See the wiki (or the
  11630. example solrconfig.xml) for more details...
  11631. http://wiki.apache.org/solr/SolrConfigXml#HTTPCaching
  11632. In Solr 1.2, DateField did not enforce the canonical representation of
  11633. the ISO 8601 format when parsing incoming data, and did not generation
  11634. the canonical format when generating dates from "Date Math" strings
  11635. (particularly as it pertains to milliseconds ending in trailing zeros).
  11636. As a result equivalent dates could not always be compared properly.
  11637. This problem is corrected in Solr 1.3, but DateField users that might
  11638. have been affected by indexing inconsistent formats of equivalent
  11639. dates (ie: 1995-12-31T23:59:59Z vs 1995-12-31T23:59:59.000Z) may want
  11640. to consider reindexing to correct these inconsistencies. Users who
  11641. depend on some of the the "broken" behavior of DateField in Solr 1.2
  11642. (specificly: accepting any input that ends in a 'Z') should consider
  11643. using the LegacyDateField class as a possible alternative. Users that
  11644. desire 100% backwards compatibility should consider using the Solr 1.2
  11645. version of DateField.
  11646. Due to some changes in the lifecycle of TokenFilterFactories, users of
  11647. Solr 1.2 who have written Java code which constructs new instances of
  11648. StopFilterFactory, SynonymFilterFactory, or EnglishProterFilterFactory
  11649. will need to modify their code by adding a line like the following
  11650. prior to using the factory object...
  11651. factory.inform(SolrCore.getSolrCore().getSolrConfig().getResourceLoader());
  11652. These lifecycle changes do not affect people who use Solr "out of the
  11653. box" or who have developed their own TokenFilterFactory plugins. More
  11654. info can be found in SOLR-594.
  11655. The python client that used to ship with Solr is no longer included in
  11656. the distribution (see client/python/README.txt).
  11657. Detailed Change List
  11658. --------------------
  11659. New Features
  11660. 1. SOLR-69: Adding MoreLikeThisHandler to search for similar documents using
  11661. lucene contrib/queries MoreLikeThis. MoreLikeThis is also available from
  11662. the StandardRequestHandler using ?mlt=true. (bdelacretaz, ryan)
  11663. 2. SOLR-253: Adding KeepWordFilter and KeepWordFilterFactory. A TokenFilter
  11664. that keeps tokens with text in the registered keeplist. This behaves like
  11665. the inverse of StopFilter. (ryan)
  11666. 3. SOLR-257: WordDelimiterFilter has a new parameter splitOnCaseChange,
  11667. which can be set to 0 to disable splitting "PowerShot" => "Power" "Shot".
  11668. (klaas)
  11669. 4. SOLR-193: Adding SolrDocument and SolrInputDocument to represent documents
  11670. outside of the lucene Document infrastructure. This class will be used
  11671. by clients and for processing documents. (ryan)
  11672. 5. SOLR-244: Added ModifiableSolrParams - a SolrParams implementation that
  11673. help you change values after initialization. (ryan)
  11674. 6. SOLR-20: Added a java client interface with two implementations. One
  11675. implementation uses commons httpclient to connect to solr via HTTP. The
  11676. other connects to solr directly. Check client/java/solrj. This addition
  11677. also includes tests that start jetty and test a connection using the full
  11678. HTTP request cycle. (Darren Erik Vengroff, Will Johnson, ryan)
  11679. 7. SOLR-133: Added StaxUpdateRequestHandler that uses StAX for XML parsing.
  11680. This implementation has much better error checking and lets you configure
  11681. a custom UpdateRequestProcessor that can selectively process update
  11682. requests depending on the request attributes. This class will likely
  11683. replace XmlUpdateRequestHandler. (Thorsten Scherler, ryan)
  11684. 8. SOLR-264: Added RandomSortField, a utility field with a random sort order.
  11685. The seed is based on a hash of the field name, so a dynamic field
  11686. of this type is useful for generating different random sequences.
  11687. This field type should only be used for sorting or as a value source
  11688. in a FunctionQuery (ryan, hossman, yonik)
  11689. 9. SOLR-266: Adding show=schema to LukeRequestHandler to show the parsed
  11690. schema fields and field types. (ryan)
  11691. 10. SOLR-133: The UpdateRequestHandler now accepts multiple delete options
  11692. within a single request. For example, sending:
  11693. <delete><id>1</id><id>2</id></delete> will delete both 1 and 2. (ryan)
  11694. 11. SOLR-269: Added UpdateRequestProcessor plugin framework. This provides
  11695. a reasonable place to process documents after they are parsed and
  11696. before they are committed to the index. This is a good place for custom
  11697. document manipulation or document based authorization. (yonik, ryan)
  11698. 12. SOLR-260: Converting to a standard PluginLoader framework. This reworks
  11699. RequestHandlers, FieldTypes, and QueryResponseWriters to share the same
  11700. base code for loading and initializing plugins. This adds a new
  11701. configuration option to define the default RequestHandler and
  11702. QueryResponseWriter in XML using default="true". (ryan)
  11703. 13. SOLR-225: Enable pluggable highlighting classes. Allow configurable
  11704. highlighting formatters and Fragmenters. (ryan)
  11705. 14. SOLR-273/376/452/516: Added hl.maxAnalyzedChars highlighting parameter, defaulting
  11706. to 50k, hl.alternateField, which allows the specification of a backup
  11707. field to use as summary if no keywords are matched, and hl.mergeContiguous,
  11708. which combines fragments if they are adjacent in the source document.
  11709. (klaas, Grant Ingersoll, Koji Sekiguchi via klaas)
  11710. 15. SOLR-291: Control maximum number of documents to cache for any entry
  11711. in the queryResultCache via queryResultMaxDocsCached solrconfig.xml
  11712. entry. (Koji Sekiguchi via yonik)
  11713. 16. SOLR-240: New <lockType> configuration setting in <mainIndex> and
  11714. <indexDefaults> blocks supports all Lucene builtin LockFactories.
  11715. 'single' is recommended setting, but 'simple' is default for total
  11716. backwards compatibility.
  11717. (Will Johnson via hossman)
  11718. 17. SOLR-248: Added CapitalizationFilterFactory that creates tokens with
  11719. normalized capitalization. This filter is useful for facet display,
  11720. but will not work with a prefix query. (ryan)
  11721. SOLR-468: Change to the semantics to keep the original token, not the
  11722. token in the Map. Also switched to use Lucene's new reusable token
  11723. capabilities. (gsingers)
  11724. 18. SOLR-307: Added NGramFilterFactory and EdgeNGramFilterFactory.
  11725. (Thomas Peuss via Otis Gospodnetic)
  11726. 19. SOLR-305: analysis.jsp can be given a fieldtype instead of a field
  11727. name. (hossman)
  11728. 20. SOLR-102: Added RegexFragmenter, which splits text for highlighting
  11729. based on a given pattern. (klaas)
  11730. 21. SOLR-258: Date Faceting added to SimpleFacets. Facet counts
  11731. computed for ranges of size facet.date.gap (a DateMath expression)
  11732. between facet.date.start and facet.date.end. (hossman)
  11733. 22. SOLR-196: A PHP serialized "phps" response writer that returns a
  11734. serialized array that can be used with the PHP function unserialize,
  11735. and a PHP response writer "php" that may be used by eval.
  11736. (Nick Jenkin, Paul Borgermans, Pieter Berkel via yonik)
  11737. 23. SOLR-308: A new UUIDField class which accepts UUID string values,
  11738. as well as the special value of "NEW" which triggers generation of
  11739. a new random UUID.
  11740. (Thomas Peuss via hossman)
  11741. 24. SOLR-349: New FunctionQuery functions: sum, product, div, pow, log,
  11742. sqrt, abs, scale, map. Constants may now be used as a value source.
  11743. (yonik)
  11744. 25. SOLR-359: Add field type className to Luke response, and enabled access
  11745. to the detailed field information from the solrj client API.
  11746. (Grant Ingersoll via ehatcher)
  11747. 26. SOLR-334: Pluggable query parsers. Allows specification of query
  11748. type and arguments as a prefix on a query string. (yonik)
  11749. 27. SOLR-351: External Value Source. An external file may be used
  11750. to specify the values of a field, currently usable as
  11751. a ValueSource in a FunctionQuery. (yonik)
  11752. 28. SOLR-395: Many new features for the spell checker implementation, including
  11753. an extended response mode with much richer output, multi-word spell checking,
  11754. and a bevy of new and renamed options (see the wiki).
  11755. (Mike Krimerman, Scott Taber via klaas).
  11756. 29. SOLR-408: Added PingRequestHandler and deprecated SolrCore.getPingQueryRequest().
  11757. Ping requests should be configured using standard RequestHandler syntax in
  11758. solrconfig.xml rather then using the <pingQuery></pingQuery> syntax.
  11759. (Karsten Sperling via ryan)
  11760. 30. SOLR-281: Added a 'Search Component' interface and converted StandardRequestHandler
  11761. and DisMaxRequestHandler to use this framework.
  11762. (Sharad Agarwal, Henri Biestro, yonik, ryan)
  11763. 31. SOLR-176: Add detailed timing data to query response output. The SearchHandler
  11764. interface now returns how long each section takes. (klaas)
  11765. 32. SOLR-414: Plugin initialization now supports SolrCore and ResourceLoader "Aware"
  11766. plugins. Plugins that implement SolrCoreAware or ResourceLoaderAware are
  11767. informed about the SolrCore/ResourceLoader. (Henri Biestro, ryan)
  11768. 33. SOLR-350: Support multiple SolrCores running in the same solr instance and allows
  11769. runtime runtime management for any running SolrCore. If a solr.xml file exists
  11770. in solr.home, this file is used to instanciate multiple cores and enables runtime
  11771. core manipulation. For more informaion see: http://wiki.apache.org/solr/CoreAdmin
  11772. (Henri Biestro, ryan)
  11773. 34. SOLR-447: Added an single request handler that will automatically register all
  11774. standard admin request handlers. This replaces the need to register (and maintain)
  11775. the set of admin request handlers. Assuming solrconfig.xml includes:
  11776. <requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
  11777. This will register: Luke/SystemInfo/PluginInfo/ThreadDump/PropertiesRequestHandler.
  11778. (ryan)
  11779. 35. SOLR-142: Added RawResponseWriter and ShowFileRequestHandler. This returns config
  11780. files directly. If AdminHandlers are configured, this will be added automatically.
  11781. The jsp files /admin/get-file.jsp and /admin/raw-schema.jsp have been deprecated.
  11782. The deprecated <admin><gettableFiles> will be automatically registered with
  11783. a ShowFileRequestHandler instance for backwards compatibility. (ryan)
  11784. 36. SOLR-446: TextResponseWriter can write SolrDocuments and SolrDocumentLists the
  11785. same way it writes Document and DocList. (yonik, ryan)
  11786. 37. SOLR-418: Adding a query elevation component. This is an optional component to
  11787. elevate some documents to the top positions (or exclude them) for a given query.
  11788. (ryan)
  11789. 38. SOLR-478: Added ability to get back unique key information from the LukeRequestHandler.
  11790. (gsingers)
  11791. 39. SOLR-127: HTTP Caching awareness. Solr now recognizes HTTP Request
  11792. headers related to HTTP Caching (see RFC 2616 sec13) and will respond
  11793. with "304 Not Modified" when appropriate. New options have been added
  11794. to solrconfig.xml to influence this behavior.
  11795. (Thomas Peuss via hossman)
  11796. 40. SOLR-303: Distributed Search over HTTP. Specification of shards
  11797. argument causes Solr to query those shards and merge the results
  11798. into a single response. Querying, field faceting (sorted only),
  11799. query faceting, highlighting, and debug information are supported
  11800. in distributed mode.
  11801. (Sharad Agarwal, Patrick O'Leary, Sabyasachi Dalal, Stu Hood,
  11802. Jayson Minard, Lars Kotthoff, ryan, yonik)
  11803. 41. SOLR-356: Pluggable functions (value sources) that allow
  11804. registration of new functions via solrconfig.xml
  11805. (Doug Daniels via yonik)
  11806. 42. SOLR-494: Added cool admin Ajaxed schema explorer.
  11807. (Greg Ludington via ehatcher)
  11808. 43. SOLR-497: Added date faceting to the QueryResponse in SolrJ
  11809. and QueryResponseTest (Shalin Shekhar Mangar via gsingers)
  11810. 44. SOLR-486: Binary response format, faster and smaller
  11811. than XML and JSON response formats (use wt=javabin).
  11812. BinaryResponseParser for utilizing the binary format via SolrJ
  11813. and is now the default.
  11814. (Noble Paul, yonik)
  11815. 45. SOLR-521: StopFilterFactory support for "enablePositionIncrements"
  11816. (Walter Ferrara via hossman)
  11817. 46. SOLR-557: Added SolrCore.getSearchComponents() to return an unmodifiable Map. (gsingers)
  11818. 47. SOLR-516: Added hl.maxAlternateFieldLength parameter, to set max length for hl.alternateField
  11819. (Koji Sekiguchi via klaas)
  11820. 48. SOLR-319: Changed SynonymFilterFactory to "tokenize" synonyms file.
  11821. To use a tokenizer, specify "tokenizerFactory" attribute in <filter>.
  11822. For example:
  11823. <tokenizer class="solr.CJKTokenizerFactory"/>
  11824. <filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" expand="true"
  11825. ignoreCase="true" tokenizerFactory="solr.CJKTokenizerFactory"/>
  11826. (koji)
  11827. 49. SOLR-515: Added SimilarityFactory capability to schema.xml,
  11828. making config file parameters usable in the construction of
  11829. the global Lucene Similarity implementation.
  11830. (ehatcher)
  11831. 50. SOLR-536: Add a DocumentObjectBinder to solrj that converts Objects to and
  11832. from SolrDocuments. (Noble Paul via ryan)
  11833. 51. SOLR-595: Add support for Field level boosting in the MoreLikeThis Handler.
  11834. (Tom Morton, gsingers)
  11835. 52. SOLR-572: Added SpellCheckComponent and org.apache.solr.spelling package to support more spell
  11836. checking functionality. Also includes ability to add your own SolrSpellChecker implementation that
  11837. plugs in. See http://wiki.apache.org/solr/SpellCheckComponent for more details
  11838. (Shalin Shekhar Mangar, Bojan Smid, gsingers)
  11839. 53. SOLR-679: Added accessor methods to Lucene based spell checkers (gsingers)
  11840. 54. SOLR-423: Added Request Handler close hook notification so that RequestHandlers can be notified
  11841. when a core is closing. (gsingers, ryan)
  11842. 55. SOLR-603: Added ability to partially optimize. (gsingers)
  11843. 56. SOLR-483: Add byte/short sorting support (gsingers)
  11844. 57. SOLR-14: Add preserveOriginal flag to WordDelimiterFilter
  11845. (Geoffrey Young, Trey Hyde, Ankur Madnani, yonik)
  11846. 58. SOLR-502: Add search timeout support. (Sean Timm via yonik)
  11847. 59. SOLR-605: Add the ability to register callbacks programatically (ryan, Noble Paul)
  11848. 60. SOLR-610: hl.maxAnalyzedChars can be -1 to highlight everything (Lars Kotthoff via klaas)
  11849. 61. SOLR-522: Make analysis.jsp show payloads. (Tricia Williams via yonik)
  11850. 62. SOLR-611: Expose sort_values returned by QueryComponent in SolrJ's QueryResponse
  11851. (Dan Rosher via shalin)
  11852. 63. SOLR-256: Support exposing Solr statistics through JMX (Sharad Agrawal, shalin)
  11853. 64. SOLR-666: Expose warmup time in statistics for SolrIndexSearcher and LRUCache (shalin)
  11854. 65. SOLR-663: Allow multiple files for stopwords, keepwords, protwords and synonyms
  11855. (Otis Gospodnetic, shalin)
  11856. 66. SOLR-469: Added DataImportHandler as a contrib project which makes indexing data from Databases,
  11857. XML files and HTTP data sources into Solr quick and easy. Includes API and implementations for
  11858. supporting multiple data sources, processors and transformers for importing data. Supports full
  11859. data imports as well as incremental (delta) indexing. See http://wiki.apache.org/solr/DataImportHandler
  11860. for more details. (Noble Paul, shalin)
  11861. 67. SOLR-622: SpellCheckComponent supports auto-loading indices on startup and optionally, (re)builds
  11862. indices on newSearcher event, if configured in solrconfig.xml (shalin)
  11863. 68. SOLR-554: Hierarchical JDK log level selector for SOLR Admin replaces logging.jsp
  11864. (Sean Timm via shalin)
  11865. 69. SOLR-506: Emitting HTTP Cache headers can be enabled or disabled through configuration on a
  11866. per-handler basis (shalin)
  11867. 70. SOLR-716: Added support for properties in configuration files. Properties can be specified in
  11868. solr.xml and can be used in solrconfig.xml and schema.xml (Henri Biestro, hossman, ryan, shalin)
  11869. 71. SOLR-1129 : Support binding dynamic fields to beans in SolrJ (Avlesh Singh , noble)
  11870. 72. SOLR-920 : Cache and reuse IndexSchema . A new attribute added in solr.xml called 'shareSchema' (noble)
  11871. 73. SOLR-700: DIH: Allow configurable locales through a locale attribute in
  11872. fields for NumberFormatTransformer. (Stefan Oestreicher, shalin)
  11873. Changes in runtime behavior
  11874. 1. SOLR-559: use Lucene updateDocument, deleteDocuments methods. This
  11875. removes the maxBufferedDeletes parameter added by SOLR-310 as Lucene
  11876. now manages the deletes. This provides slightly better indexing
  11877. performance and makes overwrites atomic, eliminating the possibility of
  11878. a crash causing duplicates. (yonik)
  11879. 2. SOLR-689 / SOLR-695: If you have used "MultiCore" functionality in an unreleased
  11880. version of 1.3-dev, many classes and configs have been renamed for the official
  11881. 1.3 release. Speciffically, solr.xml has replaced multicore.xml, and uses a slightly
  11882. different syntax. The solrj classes: MultiCore{Request/Response/Params} have been
  11883. renamed: CoreAdmin{Request/Response/Params} (hossman, ryan, Henri Biestro)
  11884. 3. SOLR-647: reference count the SolrCore uses to prevent a premature
  11885. close while a core is still in use. (Henri Biestro, Noble Paul, yonik)
  11886. 4. SOLR-737: SolrQueryParser now uses a ConstantScoreQuery for wildcard
  11887. queries that prevent an exception from being thrown when the number
  11888. of matching terms exceeds the BooleanQuery clause limit. (yonik)
  11889. Optimizations
  11890. 1. SOLR-276: improve JSON writer speed. (yonik)
  11891. 2. SOLR-310: bound and reduce memory usage by providing <maxBufferedDeletes> parameter,
  11892. which flushes deleted without forcing the user to use <commit/> for this purpose.
  11893. (klaas)
  11894. 3. SOLR-348: short-circuit faceting if less than mincount docs match. (yonik)
  11895. 4. SOLR-354: Optimize removing all documents. Now when a delete by query
  11896. of *:* is issued, the current index is removed. (yonik)
  11897. 5. SOLR-377: Speed up response writers. (yonik)
  11898. 6. SOLR-342: Added support into the SolrIndexWriter for using several new features of the new
  11899. LuceneIndexWriter, including: setRAMBufferSizeMB(), setMergePolicy(), setMergeScheduler.
  11900. Also, added support to specify Lucene's autoCommit functionality (not to be confused with Solr's
  11901. similarily named autoCommit functionality) via the <luceneAutoCommit> config. item. See the test
  11902. and example solrconfig.xml <indexDefaults> section for usage. Performance during indexing should
  11903. be significantly increased by moving up to 2.3 due to Lucene's new indexing capabilities.
  11904. Furthermore, the setRAMBufferSizeMB makes it more logical to decide on tuning factors related to
  11905. indexing. For best performance, leave the mergePolicy and mergeScheduler as the defaults and set
  11906. ramBufferSizeMB instead of maxBufferedDocs. The best value for this depends on the types of
  11907. documents in use. 32 should be a good starting point, but reports have shown up to 48 MB provides
  11908. good results. Note, it is acceptable to set both ramBufferSizeMB and maxBufferedDocs, and Lucene
  11909. will flush based on whichever limit is reached first. (gsingers)
  11910. 7. SOLR-330: Converted TokenStreams to use Lucene's new char array based
  11911. capabilities. (gsingers)
  11912. 8. SOLR-624: Only take snapshots if there are differences to the index (Richard Trey Hyde via gsingers)
  11913. 9. SOLR-587: Delete by Query performance greatly improved by using
  11914. new underlying Lucene IndexWriter implementation. (yonik)
  11915. 10. SOLR-730: Use read-only IndexReaders that don't synchronize
  11916. isDeleted(). This will speed up function queries and *:* queries
  11917. as well as improve their scalability on multi-CPU systems.
  11918. (Mark Miller via yonik)
  11919. Bug Fixes
  11920. 1. Make TextField respect sortMissingFirst and sortMissingLast fields.
  11921. (J.J. Larrea via yonik)
  11922. 2. autoCommit/maxDocs was not working properly when large autoCommit/maxTime
  11923. was specified (klaas)
  11924. 3. SOLR-283: autoCommit was not working after delete. (ryan)
  11925. 4. SOLR-286: ContentStreamBase was not using default encoding for getBytes()
  11926. (Toru Matsuzawa via ryan)
  11927. 5. SOLR-292: Fix MoreLikeThis facet counting. (Pieter Berkel via ryan)
  11928. 6. SOLR-297: Fix bug in RequiredSolrParams where requiring a field
  11929. specific param would fail if a general default value had been supplied.
  11930. (hossman)
  11931. 7. SOLR-331: Fix WordDelimiterFilter handling of offsets for synonyms or
  11932. other injected tokens that can break highlighting. (yonik)
  11933. 8. SOLR-282: Snapshooter does not work on Solaris and OS X since the cp command
  11934. there does not have the -l option. Also updated commit/optimize related
  11935. scripts to handle both old and new response format. (bill)
  11936. 9. SOLR-294: Logging of elapsed time broken on Solaris because the date command
  11937. there does not support the %s output format. (bill)
  11938. 10. SOLR-136: Snappuller - "date -d" and locales don't mix. (Jürgen Hermann via bill)
  11939. 11. SOLR-333: Changed distributiondump.jsp to use Solr HOME instead of CWD to set path.
  11940. 12. SOLR-393: Removed duplicate contentType from raw-schema.jsp. (bill)
  11941. 13. SOLR-413: Requesting a large numbers of documents to be returned (limit)
  11942. can result in an out-of-memory exception, even for a small index. (yonik)
  11943. 14. The CSV loader incorrectly threw an exception when given
  11944. header=true (the default). (ryan, yonik)
  11945. 15. SOLR-449: the python and ruby response writers are now able to correctly
  11946. output NaN and Infinity in their respective languages. (klaas)
  11947. 16. SOLR-42: HTMLStripReader tokenizers now preserve correct source
  11948. offsets for highlighting. (Grant Ingersoll via yonik)
  11949. 17. SOLR-481: Handle UnknownHostException in _info.jsp (gsingers)
  11950. 18. SOLR-324: Add proper support for Long and Doubles in sorting, etc. (gsingers)
  11951. 19. SOLR-496: Cache-Control max-age changed to Long so Expires
  11952. calculation won't cause overflow. (Thomas Peuss via hossman)
  11953. 20. SOLR-535: Fixed typo (Tokenzied -> Tokenized) in schema.jsp (Thomas Peuss via billa)
  11954. 21. SOLR-529: Better error messages from SolrQueryParser when field isn't
  11955. specified and there is no defaultSearchField in schema.xml
  11956. (Lars Kotthoff via hossman)
  11957. 22. SOLR-530: Better error messages/warnings when parsing schema.xml:
  11958. field using bogus fieldtype and multiple copyFields to a non-multiValue
  11959. field. (Shalin Shekhar Mangar via hossman)
  11960. 23. SOLR-528: Better error message when defaultSearchField is bogus or not
  11961. indexed. (Lars Kotthoff via hossman)
  11962. 24. SOLR-533: Fixed tests so they don't use hardcoded port numbers.
  11963. (hossman)
  11964. 25. SOLR-400: SolrExceptionTest should now handle using OpenDNS as a DNS provider (gsingers)
  11965. 26. SOLR-541: Legacy XML update support (provided by SolrUpdateServlet
  11966. when no RequestHandler is mapped to "/update") now logs error correctly.
  11967. (hossman)
  11968. 27. SOLR-267: Changed logging to report number of hits, and also provide a mechanism to add log
  11969. messages to be output by the SolrCore via a NamedList toLog member variable.
  11970. (Will Johnson, yseeley, gsingers)
  11971. - SOLR-267: Removed adding values to the HTTP headers in SolrDispatchFilter (gsingers)
  11972. 28. SOLR-509: Moved firstSearcher event notification to the end of the SolrCore constructor
  11973. (Koji Sekiguchi via gsingers)
  11974. 29. SOLR-470, SOLR-552, SOLR-544, SOLR-701: Multiple fixes to DateField
  11975. regarding lenient parsing of optional milliseconds, and correct
  11976. formating using the canonical representation. LegacyDateField has
  11977. been added for people who have come to depend on the existing
  11978. broken behavior. (hossman, Stefan Oestreicher)
  11979. 30. SOLR-539: Fix for non-atomic long counters and a cast fix to avoid divide
  11980. by zero. (Sean Timm via Otis Gospodnetic)
  11981. 31. SOLR-514: Added explicit media-type with UTF* charset to *.xsl files that
  11982. don't already have one. (hossman)
  11983. 32. SOLR-505: Give RequestHandlers the possiblity to suppress the generation
  11984. of HTTP caching headers. (Thomas Peuss via Otis Gospodnetic)
  11985. 33. SOLR-553: Handle highlighting of phrase terms better when
  11986. hl.usePhraseHighligher=true URL param is used.
  11987. (Bojan Smid via Otis Gospodnetic)
  11988. 34. SOLR-590: Limitation in pgrep on Linux platform breaks script-utils fixUser.
  11989. (Hannes Schmidt via billa)
  11990. 35. SOLR-597: SolrServlet no longer "caches" SolrCore. This was causing
  11991. problems in Resin, and could potentially cause problems for customized
  11992. usages of SolrServlet.
  11993. 36. SOLR-585: Now sets the QParser on the ResponseBuilder (gsingers)
  11994. 37. SOLR-604: If the spellchecking path is relative, make it relative to the Solr Data Directory.
  11995. (Shalin Shekhar Mangar via gsingers)
  11996. 38. SOLR-584: Make stats.jsp and stats.xsl more robust.
  11997. (Yousef Ourabi and hossman)
  11998. 39. SOLR-443: SolrJ: Declare UTF-8 charset on POSTed parameters
  11999. to avoid problems with servlet containers that default to latin-1
  12000. and allow switching of the exact POST mechanism for parameters
  12001. via useMultiPartPost in CommonsHttpSolrServer.
  12002. (Lars Kotthoff, Andrew Schurman, ryan, yonik)
  12003. 40. SOLR-556: multi-valued fields always highlighted in disparate snippets
  12004. (Lars Kotthoff via klaas)
  12005. 41. SOLR-501: Fix admin/analysis.jsp UTF-8 input for some other servlet
  12006. containers such as Tomcat. (Hiroaki Kawai, Lars Kotthoff via yonik)
  12007. 42. SOLR-616: SpellChecker accuracy configuration is not applied for FileBasedSpellChecker.
  12008. Apply it for FileBasedSpellChecker and IndexBasedSpellChecker both.
  12009. (shalin)
  12010. 43. SOLR-648: SpellCheckComponent throws NullPointerException on using spellcheck.q request
  12011. parameter after restarting Solr, if reload is called but build is not called.
  12012. (Jonathan Lee, shalin)
  12013. 44. SOLR-598: DebugComponent now always occurs last in the SearchHandler list unless the
  12014. components are explicitly declared. (gsingers)
  12015. 45. SOLR-676: DataImportHandler should use UpdateRequestProcessor API instead of directly
  12016. using UpdateHandler. (shalin)
  12017. 46. SOLR-696: Fixed bug in NamedListCodec in regards to serializing Iterable objects. (gsingers)
  12018. 47. SOLR-669: snappuler fix for FreeBSD/Darwin (Richard "Trey" Hyde via Otis Gospodnetic)
  12019. 48. SOLR-606: Fixed spell check collation offset issue. (Stefan Oestreicher , Geoffrey Young, gsingers)
  12020. 49. SOLR-589: Improved handling of badly formated query strings (Sean Timm via Otis Gospodnetic)
  12021. 50. SOLR-749: Allow QParser and ValueSourceParsers to be extended with same name (hossman, gsingers)
  12022. 51. SOLR-704: DIH NumberFormatTransformer can silently ignore part of the
  12023. string while parsing. Now it tries to use the complete string for parsing.
  12024. Failure to do so will result in an exception.
  12025. (Stefan Oestreicher via shalin)
  12026. 52. SOLR-729: DIH Context.getDataSource(String) gives current entity's
  12027. DataSource instance regardless of argument. (Noble Paul, shalin)
  12028. 53. SOLR-726: DIH: Jdbc Drivers and DataSources fail to load if placed in
  12029. multicore sharedLib or core's lib directory.
  12030. (Walter Ferrara, Noble Paul, shalin)
  12031. Other Changes
  12032. 1. SOLR-135: Moved common classes to org.apache.solr.common and altered the
  12033. build scripts to make two jars: apache-solr-1.3.jar and
  12034. apache-solr-1.3-common.jar. This common.jar can be used in client code;
  12035. It does not have lucene or junit dependencies. The original classes
  12036. have been replaced with a @Deprecated extended class and are scheduled
  12037. to be removed in a later release. While this change does not affect API
  12038. compatibility, it is recommended to update references to these
  12039. deprecated classes. (ryan)
  12040. 2. SOLR-268: Tweaks to post.jar so it prints the error message from Solr.
  12041. (Brian Whitman via hossman)
  12042. 3. Upgraded to Lucene 2.2.0; June 18, 2007.
  12043. 4. SOLR-215: Static access to SolrCore.getSolrCore() and SolrConfig.config
  12044. have been deprecated in order to support multiple loaded cores.
  12045. (Henri Biestro via ryan)
  12046. 5. SOLR-367: The create method in all TokenFilter and Tokenizer Factories
  12047. provided by Solr now declare their specific return types instead of just
  12048. using "TokenStream" (hossman)
  12049. 6. SOLR-396: Hooks add to build system for automatic generation of (stub)
  12050. Tokenizer and TokenFilter Factories.
  12051. Also: new Factories for all Tokenizers and TokenFilters provided by the
  12052. lucene-analyzers-2.2.0.jar -- includes support for German, Chinese,
  12053. Russan, Dutch, Greek, Brazilian, Thai, and French. (hossman)
  12054. 7. Upgraded to commons-CSV r609327, which fixes escaping bugs and
  12055. introduces new escaping and whitespace handling options to
  12056. increase compatibility with different formats. (yonik)
  12057. 8. Upgraded to Lucene 2.3.0; Jan 23, 2008.
  12058. 9. SOLR-451: Changed analysis.jsp to use POST instead of GET, also made the input area a
  12059. bit bigger (gsingers)
  12060. 10. Upgrade to Lucene 2.3.1
  12061. 11. SOLR-531: Different exit code for rsyncd-start and snappuller if disabled (Thomas Peuss via billa)
  12062. 12. SOLR-550: Clarified DocumentBuilder addField javadocs (gsingers)
  12063. 13. Upgrade to Lucene 2.3.2
  12064. 14. SOLR-518: Changed luke.xsl to use divs w/css for generating histograms
  12065. instead of SVG (Thomas Peuss via hossman)
  12066. 15. SOLR-592: Added ShardParams interface and changed several string literals
  12067. to references to constants in CommonParams.
  12068. (Lars Kotthoff via Otis Gospodnetic)
  12069. 16. SOLR-520: Deprecated unused LengthFilter since already core in
  12070. Lucene-Java (hossman)
  12071. 17. SOLR-645: Refactored SimpleFacetsTest (Lars Kotthoff via hossman)
  12072. 18. SOLR-591: Changed Solrj default value for facet.sort to true (Lars Kotthoff via Shalin)
  12073. 19. Upgraded to Lucene 2.4-dev (r669476) to support SOLR-572 (gsingers)
  12074. 20. SOLR-636: Improve/simplify example configs; and make index.jsp
  12075. links more resilient to configs loaded via an InputStream
  12076. (Lars Kotthoff, hossman)
  12077. 21. SOLR-682: Scripts now support FreeBSD (Richard Trey Hyde via gsingers)
  12078. 22. SOLR-489: Added in deprecation comments. (Sean Timm, Lars Kothoff via gsingers)
  12079. 23. SOLR-692: Migrated to stable released builds of StAX API 1.0.1 and StAX 1.2.0 (shalin)
  12080. 24. Upgraded to Lucene 2.4-dev (r686801) (yonik)
  12081. 25. Upgraded to Lucene 2.4-dev (r688745) 27-Aug-2008 (yonik)
  12082. 26. Upgraded to Lucene 2.4-dev (r691741) 03-Sep-2008 (yonik)
  12083. 27. Replaced the StAX reference implementation with the geronimo
  12084. StAX API jar, and the Woodstox StAX implementation. (yonik)
  12085. Build
  12086. 1. SOLR-411. Changed the names of the Solr JARs to use the defacto standard JAR names based on
  12087. project-name-version.jar. This yields, for example:
  12088. apache-solr-common-1.3-dev.jar
  12089. apache-solr-solrj-1.3-dev.jar
  12090. apache-solr-1.3-dev.jar
  12091. 2. SOLR-479: Added clover code coverage targets for committers and the nightly build. Requires
  12092. the Clover library, as licensed to Apache and only available privately. To run:
  12093. ant -Drun.clover=true clean clover test generate-clover-reports
  12094. 3. SOLR-510: Nightly release includes client sources. (koji)
  12095. 4. SOLR-563: Modified the build process to build contrib projects
  12096. (Shalin Shekhar Mangar via Otis Gospodnetic)
  12097. 5. SOLR-673: Modify build file to create javadocs for core, solrj, contrib and "all inclusive" (shalin)
  12098. 6. SOLR-672: Nightly release includes contrib sources. (Jeremy Hinegardner, shalin)
  12099. 7. SOLR-586: Added ant target and POM files for building maven artifacts of the Solr core, common,
  12100. client and contrib. The target can publish artifacts with source and javadocs.
  12101. (Spencer Crissman, Craig McClanahan, shalin)
  12102. ================== Release 1.2 ==================
  12103. Upgrading from Solr 1.1
  12104. -------------------------------------
  12105. IMPORTANT UPGRADE NOTE: In a master/slave configuration, all searchers/slaves
  12106. should be upgraded before the master! If the master were to be updated
  12107. first, the older searchers would not be able to read the new index format.
  12108. Older Apache Solr installations can be upgraded by replacing
  12109. the relevant war file with the new version. No changes to configuration
  12110. files should be needed.
  12111. This version of Solr contains a new version of Lucene implementing
  12112. an updated index format. This version of Solr/Lucene can still read
  12113. and update indexes in the older formats, and will convert them to the new
  12114. format on the first index change. One change in the new index format
  12115. is that all "norms" are kept in a single file, greatly reducing the number
  12116. of files per segment. Users of compound file indexes will want to consider
  12117. converting to the non-compound format for faster indexing and slightly better
  12118. search concurrency.
  12119. The JSON response format for facets has changed to make it easier for
  12120. clients to retain sorted order. Use json.nl=map explicitly in clients
  12121. to get the old behavior, or add it as a default to the request handler
  12122. in solrconfig.xml
  12123. The Lucene based Solr query syntax is slightly more strict.
  12124. A ':' in a field value must be escaped or the whole value must be quoted.
  12125. The Solr "Request Handler" framework has been updated in two key ways:
  12126. First, if a Request Handler is registered in solrconfig.xml with a name
  12127. starting with "/" then it can be accessed using path-based URL, instead of
  12128. using the legacy "/select?qt=name" URL structure. Second, the Request
  12129. Handler framework has been extended making it possible to write Request
  12130. Handlers that process streams of data for doing updates, and there is a
  12131. new-style Request Handler for XML updates given the name of "/update" in
  12132. the example solrconfig.xml. Existing installations without this "/update"
  12133. handler will continue to use the old update servlet and should see no
  12134. changes in behavior. For new-style update handlers, errors are now
  12135. reflected in the HTTP status code, Content-type checking is more strict,
  12136. and the response format has changed and is controllable via the wt
  12137. parameter.
  12138. Detailed Change List
  12139. --------------------
  12140. New Features
  12141. 1. SOLR-82: Default field values can be specified in the schema.xml.
  12142. (Ryan McKinley via hossman)
  12143. 2. SOLR-89: Two new TokenFilters with corresponding Factories...
  12144. * TrimFilter - Trims leading and trailing whitespace from Tokens
  12145. * PatternReplaceFilter - applies a Pattern to each token in the
  12146. stream, replacing match occurances with a specified replacement.
  12147. (hossman)
  12148. 3. SOLR-91: allow configuration of a limit of the number of searchers
  12149. that can be warming in the background. This can be used to avoid
  12150. out-of-memory errors, or contention caused by more and more searchers
  12151. warming in the background. An error is thrown if the limit specified
  12152. by maxWarmingSearchers in solrconfig.xml is exceeded. (yonik)
  12153. 4. SOLR-106: New faceting parameters that allow specification of a
  12154. minimum count for returned facets (facet.mincount), paging through facets
  12155. (facet.offset, facet.limit), and explicit sorting (facet.sort).
  12156. facet.zeros is now deprecated. (yonik)
  12157. 5. SOLR-80: Negative queries are now allowed everywhere. Negative queries
  12158. are generated and cached as their positive counterpart, speeding
  12159. generation and generally resulting in smaller sets to cache.
  12160. Set intersections in SolrIndexSearcher are more efficient,
  12161. starting with the smallest positive set, subtracting all negative
  12162. sets, then intersecting with all other positive sets. (yonik)
  12163. 6. SOLR-117: Limit a field faceting to constraints with a prefix specified
  12164. by facet.prefix or f.<field>.facet.prefix. (yonik)
  12165. 7. SOLR-107: JAVA API: Change NamedList to use Java5 generics
  12166. and implement Iterable<Map.Entry> (Ryan McKinley via yonik)
  12167. 8. SOLR-104: Support for "Update Plugins" -- RequestHandlers that want
  12168. access to streams of data for doing updates. ContentStreams can come
  12169. from the raw POST body, multi-part form data, or remote URLs.
  12170. Included in this change is a new SolrDispatchFilter that allows
  12171. RequestHandlers registered with names that begin with a "/" to be
  12172. accessed using a URL structure based on that name.
  12173. (Ryan McKinley via hossman)
  12174. 9. SOLR-126: DirectUpdateHandler2 supports autocommitting after a specified time
  12175. (in ms), using <autoCommit><maxTime>10000</maxTime></autoCommit>.
  12176. (Ryan McKinley via klaas).
  12177. 10. SOLR-116: IndexInfoRequestHandler added. (Erik Hatcher)
  12178. 11. SOLR-79: Add system property ${<sys.prop>[:<default>]} substitution for
  12179. configuration files loaded, including schema.xml and solrconfig.xml.
  12180. (Erik Hatcher with inspiration from Andrew Saar)
  12181. 12. SOLR-149: Changes to make Solr more easily embeddable, in addition
  12182. to logging which request handler handled each request.
  12183. (Ryan McKinley via yonik)
  12184. 13. SOLR-86: Added standalone Java-based command-line updater.
  12185. (Erik Hatcher via Bertrand Delecretaz)
  12186. 14. SOLR-152: DisMaxRequestHandler now supports configurable alternate
  12187. behavior when q is not specified. A "q.alt" param can be specified
  12188. using SolrQueryParser syntax as a mechanism for specifying what query
  12189. the dismax handler should execute if the main user query (q) is blank.
  12190. (Ryan McKinley via hossman)
  12191. 15. SOLR-158: new "qs" (Query Slop) param for DisMaxRequestHandler
  12192. allows for specifying the amount of default slop to use when parsing
  12193. explicit phrase queries from the user.
  12194. (Adam Hiatt via hossman)
  12195. 16. SOLR-81: SpellCheckerRequestHandler that uses the SpellChecker from
  12196. the Lucene contrib.
  12197. (Otis Gospodnetic and Adam Hiatt)
  12198. 17. SOLR-182: allow lazy loading of request handlers on first request.
  12199. (Ryan McKinley via yonik)
  12200. 18. SOLR-81: More SpellCheckerRequestHandler enhancements, inlcluding
  12201. support for relative or absolute directory path configurations, as
  12202. well as RAM based directory. (hossman)
  12203. 19. SOLR-197: New parameters for input: stream.contentType for specifying
  12204. or overriding the content type of input, and stream.file for reading
  12205. local files. (Ryan McKinley via yonik)
  12206. 20. SOLR-66: CSV data format for document additions and updates. (yonik)
  12207. 21. SOLR-184: add echoHandler=true to responseHeader, support echoParams=all
  12208. (Ryan McKinley via ehatcher)
  12209. 22. SOLR-211: Added a regex PatternTokenizerFactory. This extracts tokens
  12210. from the input string using a regex Pattern. (Ryan McKinley)
  12211. 23. SOLR-162: Added a "Luke" request handler and other admin helpers.
  12212. This exposes the system status through the standard requestHandler
  12213. framework. (ryan)
  12214. 24. SOLR-212: Added a DirectSolrConnection class. This lets you access
  12215. solr using the standard request/response formats, but does not require
  12216. an HTTP connection. It is designed for embedded applications. (ryan)
  12217. 25. SOLR-204: The request dispatcher (added in SOLR-104) can handle
  12218. calls to /select. This offers uniform error handling for /update and
  12219. /select. To enable this behavior, you must add:
  12220. <requestDispatcher handleSelect="true" > to your solrconfig.xml
  12221. See the example solrconfig.xml for details. (ryan)
  12222. 26. SOLR-170: StandardRequestHandler now supports a "sort" parameter.
  12223. Using the ';' syntax is still supported, but it is recommended to
  12224. transition to the new syntax. (ryan)
  12225. 27. SOLR-181: The index schema now supports "required" fields. Attempts
  12226. to add a document without a required field will fail, returning a
  12227. descriptive error message. By default, the uniqueKey field is
  12228. a required field. This can be disabled by setting required=false
  12229. in schema.xml. (Greg Ludington via ryan)
  12230. 28. SOLR-217: Fields configured in the schema to be neither indexed or
  12231. stored will now be quietly ignored by Solr when Documents are added.
  12232. The example schema has a comment explaining how this can be used to
  12233. ignore any "unknown" fields.
  12234. (Will Johnson via hossman)
  12235. 29. SOLR-227: If schema.xml defines multiple fieldTypes, fields, or
  12236. dynamicFields with the same name, a severe error will be logged rather
  12237. then quietly continuing. Depending on the <abortOnConfigurationError>
  12238. settings, this may halt the server. Likewise, if solrconfig.xml
  12239. defines multiple RequestHandlers with the same name it will also add
  12240. an error. (ryan)
  12241. 30. SOLR-226: Added support for dynamic field as the destination of a
  12242. copyField using glob (*) replacement. (ryan)
  12243. 31. SOLR-224: Adding a PhoneticFilterFactory that uses apache commons codec
  12244. language encoders to build phonetically similar tokens. This currently
  12245. supports: DoubleMetaphone, Metaphone, Soundex, and RefinedSoundex (ryan)
  12246. 32. SOLR-199: new n-gram tokenizers available via NGramTokenizerFactory
  12247. and EdgeNGramTokenizerFactory. (Adam Hiatt via yonik)
  12248. 33. SOLR-234: TrimFilter can update the Token's startOffset and endOffset
  12249. if updateOffsets="true". By default the Token offsets are unchanged.
  12250. (ryan)
  12251. 34. SOLR-208: new example_rss.xsl and example_atom.xsl to provide more
  12252. examples for people about the Solr XML response format and how they
  12253. can transform it to suit different needs.
  12254. (Brian Whitman via hossman)
  12255. 35. SOLR-249: Deprecated SolrException( int, ... ) constructors in favor
  12256. of constructors that takes an ErrorCode enum. This will ensure that
  12257. all SolrExceptions use a valid HTTP status code. (ryan)
  12258. 36. SOLR-386: Abstracted SolrHighlighter and moved existing implementation
  12259. to DefaultSolrHighlighter. Adjusted SolrCore and solrconfig.xml so
  12260. that highlighter is configurable via a class attribute. Allows users
  12261. to use their own highlighter implementation. (Tricia Williams via klaas)
  12262. Changes in runtime behavior
  12263. 1. Highlighting using DisMax will only pick up terms from the main
  12264. user query, not boost or filter queries (klaas).
  12265. 2. SOLR-125: Change default of json.nl to flat, change so that
  12266. json.nl only affects items where order matters (facet constraint
  12267. listings). Fix JSON output bug for null values. Internal JAVA API:
  12268. change most uses of NamedList to SimpleOrderedMap. (yonik)
  12269. 3. A new method "getSolrQueryParser" has been added to the IndexSchema
  12270. class for retrieving a new SolrQueryParser instance with all options
  12271. specified in the schema.xml's <solrQueryParser> block set. The
  12272. documentation for the SolrQueryParser constructor and its use of
  12273. IndexSchema have also been clarified.
  12274. (Erik Hatcher and hossman)
  12275. 4. DisMaxRequestHandler's bq, bf, qf, and pf parameters can now accept
  12276. multiple values (klaas).
  12277. 5. Query are re-written before highlighting is performed. This enables
  12278. proper highlighting of prefix and wildcard queries (klaas).
  12279. 6. A meaningful exception is raised when attempting to add a doc missing
  12280. a unique id if it is declared in the schema and allowDups=false.
  12281. (ryan via klaas)
  12282. 7. SOLR-183: Exceptions with error code 400 are raised when
  12283. numeric argument parsing fails. RequiredSolrParams class added
  12284. to facilitate checking for parameters that must be present.
  12285. (Ryan McKinley, J.J. Larrea via yonik)
  12286. 8. SOLR-179: By default, solr will abort after any severe initialization
  12287. errors. This behavior can be disabled by setting:
  12288. <abortOnConfigurationError>false</abortOnConfigurationError>
  12289. in solrconfig.xml (ryan)
  12290. 9. The example solrconfig.xml maps /update to XmlUpdateRequestHandler using
  12291. the new request dispatcher (SOLR-104). This requires posted content to
  12292. have a valid contentType: curl -H 'Content-type:text/xml; charset=utf-8'
  12293. The response format matches that of /select and returns standard error
  12294. codes. To enable solr1.1 style /update, do not map "/update" to any
  12295. handler in solrconfig.xml (ryan)
  12296. 10. SOLR-231: If a charset is not specified in the contentType,
  12297. ContentStream.getReader() will use UTF-8 encoding. (ryan)
  12298. 11. SOLR-230: More options for post.jar to support stdin, xml on the
  12299. commandline, and defering commits. Tutorial modified to take
  12300. advantage of these options so there is no need for curl.
  12301. (hossman)
  12302. 12. SOLR-128: Upgraded Jetty to the latest stable release 6.1.3 (ryan)
  12303. Optimizations
  12304. 1. SOLR-114: HashDocSet specific implementations of union() and andNot()
  12305. for a 20x performance improvement for those set operations, and a new
  12306. hash algorithm speeds up exists() by 10% and intersectionSize() by 8%.
  12307. (yonik)
  12308. 2. SOLR-115: Solr now uses BooleanQuery.clauses() instead of
  12309. BooleanQuery.getClauses() in any situation where there is no risk of
  12310. modifying the original query.
  12311. (hossman)
  12312. 3. SOLR-221: Speed up sorted faceting on multivalued fields by ~60%
  12313. when the base set consists of a relatively large portion of the
  12314. index. (yonik)
  12315. 4. SOLR-221: Added a facet.enum.cache.minDf parameter which avoids
  12316. using the filterCache for terms that match few documents, trading
  12317. decreased memory usage for increased query time. (yonik)
  12318. Bug Fixes
  12319. 1. SOLR-87: Parsing of synonym files did not correctly handle escaped
  12320. whitespace such as \r\n\t\b\f. (yonik)
  12321. 2. SOLR-92: DOMUtils.getText (used when parsing config files) did not
  12322. work properly with many DOM implementations when dealing with
  12323. "Attributes". (Ryan McKinley via hossman)
  12324. 3. SOLR-9,SOLR-99: Tighten up sort specification error checking, throw
  12325. exceptions for missing sort specifications or a sort on a non-indexed
  12326. field. (Ryan McKinley via yonik)
  12327. 4. SOLR-145: Fix for bug introduced in SOLR-104 where some Exceptions
  12328. were being ignored by all "out of the box" RequestHandlers. (hossman)
  12329. 5. SOLR-166: JNDI solr.home code refactoring. SOLR-104 moved
  12330. some JNDI related code to the init method of a Servlet Filter -
  12331. according to the Servlet Spec, all Filter's should be initialized
  12332. prior to initializing any Servlets, but this is not the case in at
  12333. least one Servlet Container (Resin). This "bug fix" refactors
  12334. this JNDI code so that it should be executed the first time any
  12335. attempt is made to use the solr.home dir.
  12336. (Ryan McKinley via hossman)
  12337. 6. SOLR-173: Bug fix to SolrDispatchFilter to reduce "too many open
  12338. files" problem was that SolrDispatchFilter was not closing requests
  12339. when finished. Also modified ResponseWriters to only fetch a Searcher
  12340. reference if necessary for writing out DocLists.
  12341. (Ryan McKinley via hossman)
  12342. 7. SOLR-168: Fix display positioning of multiple tokens at the same
  12343. position in analysis.jsp (yonik)
  12344. 8. SOLR-167: The SynonymFilter sometimes generated incorrect offsets when
  12345. multi token synonyms were mached in the source text. (yonik)
  12346. 9. SOLR-188: bin scripts do not support non-default webapp names. Added "-U"
  12347. option to specify a full path to the update url, overriding the
  12348. "-h" (hostname), "-p" (port) and "-w" (webapp name) parameters.
  12349. (Jeff Rodenburg via billa)
  12350. 10. SOLR-198: RunExecutableListener always waited for the process to
  12351. finish, even when wait="false" was set. (Koji Sekiguchi via yonik)
  12352. 11. SOLR-207: Changed distribution scripts to remove recursive find
  12353. and avoid use of "find -maxdepth" on platforms where it is not
  12354. supported. (yonik)
  12355. 12. SOLR-222: Changing writeLockTimeout in solrconfig.xml did not
  12356. change the effective timeout. (Koji Sekiguchi via yonik)
  12357. 13. Changed the SOLR-104 RequestDispatcher so that /select?qt=xxx can not
  12358. access handlers that start with "/". This makes path based authentication
  12359. possible for path based request handlers. (ryan)
  12360. 14. SOLR-214: Some servlet containers (including Tomcat and Resin) do not
  12361. obey the specified charset. Rather then letting the the container handle
  12362. it solr now uses the charset from the header contentType to decode posted
  12363. content. Using the contentType: "text/xml; charset=utf-8" will force
  12364. utf-8 encoding. If you do not specify a contentType, it will use the
  12365. platform default. (Koji Sekiguchi via ryan)
  12366. 15. SOLR-241: Undefined system properties used in configuration files now
  12367. cause a clear message to be logged rather than an obscure exception thrown.
  12368. (Koji Sekiguchi via ehatcher)
  12369. Other Changes
  12370. 1. Updated to Lucene 2.1
  12371. 2. Updated to Lucene 2007-05-20_00-04-53
  12372. ================== Release 1.1.0 ==================
  12373. Status
  12374. ------
  12375. This is the first release since Solr joined the Incubator, and brings many
  12376. new features and performance optimizations including highlighting,
  12377. faceted browsing, and JSON/Python/Ruby response formats.
  12378. Upgrading from previous Solr versions
  12379. -------------------------------------
  12380. Older Apache Solr installations can be upgraded by replacing
  12381. the relevant war file with the new version. No changes to configuration
  12382. files are needed and the index format has not changed.
  12383. The default version of the Solr XML response syntax has been changed to 2.2.
  12384. Behavior can be preserved for those clients not explicitly specifying a
  12385. version by adding a default to the request handler in solrconfig.xml
  12386. By default, Solr will no longer use a searcher that has not fully warmed,
  12387. and requests will block in the meantime. To change back to the previous
  12388. behavior of using a cold searcher in the event there is no other
  12389. warm searcher, see the useColdSearcher config item in solrconfig.xml
  12390. The XML response format when adding multiple documents to the collection
  12391. in a single <add> command has changed to return a single <result>.
  12392. Detailed Change List
  12393. --------------------
  12394. New Features
  12395. 1. added support for setting Lucene's positionIncrementGap
  12396. 2. Admin: new statistics for SolrIndexSearcher
  12397. 3. Admin: caches now show config params on stats page
  12398. 3. max() function added to FunctionQuery suite
  12399. 4. postOptimize hook, mirroring the functionallity of the postCommit hook,
  12400. but only called on an index optimize.
  12401. 5. Ability to HTTP POST query requests to /select in addition to HTTP-GET
  12402. 6. The default search field may now be overridden by requests to the
  12403. standard request handler using the df query parameter. (Erik Hatcher)
  12404. 7. Added DisMaxRequestHandler and SolrPluginUtils. (Chris Hostetter)
  12405. 8. Support for customizing the QueryResponseWriter per request
  12406. (Mike Baranczak / SOLR-16 / hossman)
  12407. 9. Added KeywordTokenizerFactory (hossman)
  12408. 10. copyField accepts dynamicfield-like names as the source.
  12409. (Darren Erik Vengroff via yonik, SOLR-21)
  12410. 11. new DocSet.andNot(), DocSet.andNotSize() (yonik)
  12411. 12. Ability to store term vectors for fields. (Mike Klaas via yonik, SOLR-23)
  12412. 13. New abstract BufferedTokenStream for people who want to write
  12413. Tokenizers or TokenFilters that require arbitrary buffering of the
  12414. stream. (SOLR-11 / yonik, hossman)
  12415. 14. New RemoveDuplicatesToken - useful in situations where
  12416. synonyms, stemming, or word-deliminater-ing produce identical tokens at
  12417. the same position. (SOLR-11 / yonik, hossman)
  12418. 15. Added highlighting to SolrPluginUtils and implemented in StandardRequestHandler
  12419. and DisMaxRequestHandler (SOLR-24 / Mike Klaas via hossman,yonik)
  12420. 16. SnowballPorterFilterFactory language is configurable via the "language"
  12421. attribute, with the default being "English". (Bertrand Delacretaz via yonik, SOLR-27)
  12422. 17. ISOLatin1AccentFilterFactory, instantiates ISOLatin1AccentFilter to remove accents.
  12423. (Bertrand Delacretaz via yonik, SOLR-28)
  12424. 18. JSON, Python, Ruby QueryResponseWriters: use wt="json", "python" or "ruby"
  12425. (yonik, SOLR-31)
  12426. 19. Make web admin pages return UTF-8, change Content-type declaration to include a
  12427. space between the mime-type and charset (Philip Jacob, SOLR-35)
  12428. 20. Made query parser default operator configurable via schema.xml:
  12429. <solrQueryParser defaultOperator="AND|OR"/>
  12430. The default operator remains "OR".
  12431. 21. JAVA API: new version of SolrIndexSearcher.getDocListAndSet() which takes
  12432. flags (Greg Ludington via yonik, SOLR-39)
  12433. 22. A HyphenatedWordsFilter, a text analysis filter used during indexing to rejoin
  12434. words that were hyphenated and split by a newline. (Boris Vitez via yonik, SOLR-41)
  12435. 23. Added a CompressableField base class which allows fields of derived types to
  12436. be compressed using the compress=true setting. The field type also gains the
  12437. ability to specify a size threshold at which field data is compressed.
  12438. (klaas, SOLR-45)
  12439. 24. Simple faceted search support for fields (enumerating terms)
  12440. and arbitrary queries added to both StandardRequestHandler and
  12441. DisMaxRequestHandler. (hossman, SOLR-44)
  12442. 25. In addition to specifying default RequestHandler params in the
  12443. solrconfig.xml, support has been added for configuring values to be
  12444. appended to the multi-val request params, as well as for configuring
  12445. invariant params that can not overridden in the query. (hossman, SOLR-46)
  12446. 26. Default operator for query parsing can now be specified with q.op=AND|OR
  12447. from the client request, overriding the schema value. (ehatcher)
  12448. 27. New XSLTResponseWriter does server side XSLT processing of XML Response.
  12449. In the process, an init(NamedList) method was added to QueryResponseWriter
  12450. which works the same way as SolrRequestHandler.
  12451. (Bertrand Delacretaz / SOLR-49 / hossman)
  12452. 28. json.wrf parameter adds a wrapper-function around the JSON response,
  12453. useful in AJAX with dynamic script tags for specifying a JavaScript
  12454. callback function. (Bertrand Delacretaz via yonik, SOLR-56)
  12455. 29. autoCommit can be specified every so many documents added (klaas, SOLR-65)
  12456. 30. ${solr.home}/lib directory can now be used for specifying "plugin" jars
  12457. (hossman, SOLR-68)
  12458. 31. Support for "Date Math" relative "NOW" when specifying values of a
  12459. DateField in a query -- or when adding a document.
  12460. (hossman, SOLR-71)
  12461. 32. useColdSearcher control in solrconfig.xml prevents the first searcher
  12462. from being used before it's done warming. This can help prevent
  12463. thrashing on startup when multiple requests hit a cold searcher.
  12464. The default is "false", preventing use before warm. (yonik, SOLR-77)
  12465. Changes in runtime behavior
  12466. 1. classes reorganized into different packages, package names changed to Apache
  12467. 2. force read of document stored fields in QuerySenderListener
  12468. 3. Solr now looks in ./solr/conf for config, ./solr/data for data
  12469. configurable via solr.solr.home system property
  12470. 4. Highlighter params changed to be prefixed with "hl."; allow fragmentsize
  12471. customization and per-field overrides on many options
  12472. (Andrew May via klaas, SOLR-37)
  12473. 5. Default param values for DisMaxRequestHandler should now be specified
  12474. using a '<lst name="defaults">...</lst>' init param, for backwards
  12475. compatability all init prams will be used as defaults if an init param
  12476. with that name does not exist. (hossman, SOLR-43)
  12477. 6. The DisMaxRequestHandler now supports multiple occurances of the "fq"
  12478. param. (hossman, SOLR-44)
  12479. 7. FunctionQuery.explain now uses ComplexExplanation to provide more
  12480. accurate score explanations when composed in a BooleanQuery.
  12481. (hossman, SOLR-25)
  12482. 8. Document update handling locking is much sparser, allowing performance gains
  12483. through multiple threads. Large commits also might be faster (klaas, SOLR-65)
  12484. 9. Lazy field loading can be enabled via a solrconfig directive. This will be faster when
  12485. not all stored fields are needed from a document (klaas, SOLR-52)
  12486. 10. Made admin JSPs return XML and transform them with new XSL stylesheets
  12487. (Otis Gospodnetic, SOLR-58)
  12488. 11. If the "echoParams=explicit" request parameter is set, request parameters are copied
  12489. to the output. In an XML output, they appear in new <lst name="params"> list inside
  12490. the new <lst name="responseHeader"> element, which replaces the old <responseHeader>.
  12491. Adding a version=2.1 parameter to the request produces the old format, for backwards
  12492. compatibility (bdelacretaz and yonik, SOLR-59).
  12493. Optimizations
  12494. 1. getDocListAndSet can now generate both a DocList and a DocSet from a
  12495. single lucene query.
  12496. 2. BitDocSet.intersectionSize(HashDocSet) no longer generates an intermediate
  12497. set
  12498. 3. OpenBitSet completed, replaces BitSet as the implementation for BitDocSet.
  12499. Iteration is faster, and BitDocSet.intersectionSize(BitDocSet) and unionSize
  12500. is between 3 and 4 times faster. (yonik, SOLR-15)
  12501. 4. much faster unionSize when one of the sets is a HashDocSet: O(smaller_set_size)
  12502. 5. Optimized getDocSet() for term queries resulting in a 36% speedup of facet.field
  12503. queries where DocSets aren't cached (for example, if the number of terms in the field
  12504. is larger than the filter cache.) (yonik)
  12505. 6. Optimized facet.field faceting by as much as 500 times when the field has
  12506. a single token per document (not multiValued & not tokenized) by using the
  12507. Lucene FieldCache entry for that field to tally term counts. The first request
  12508. utilizing the FieldCache will take longer than subsequent ones.
  12509. Bug Fixes
  12510. 1. Fixed delete-by-id for field types who's indexed form is different
  12511. from the printable form (mainly sortable numeric types).
  12512. 2. Added escaping of attribute values in the XML response (Erik Hatcher)
  12513. 3. Added empty extractTerms() to FunctionQuery to enable use in
  12514. a MultiSearcher (Yonik)
  12515. 4. WordDelimiterFilter sometimes lost token positionIncrement information
  12516. 5. Fix reverse sorting for fields were sortMissingFirst=true
  12517. (Rob Staveley, yonik)
  12518. 6. Worked around a Jetty bug that caused invalid XML responses for fields
  12519. containing non ASCII chars. (Bertrand Delacretaz via yonik, SOLR-32)
  12520. 7. WordDelimiterFilter can throw exceptions if configured with both
  12521. generate and catenate off. (Mike Klaas via yonik, SOLR-34)
  12522. 8. Escape '>' in XML output (because ]]> is illegal in CharData)
  12523. 9. field boosts weren't being applied and doc boosts were being applied to fields (klaas)
  12524. 10. Multiple-doc update generates well-formed xml (klaas, SOLR-65)
  12525. 11. Better parsing of pingQuery from solrconfig.xml (hossman, SOLR-70)
  12526. 12. Fixed bug with "Distribution" page introduced when Versions were
  12527. added to "Info" page (hossman)
  12528. 13. Fixed HTML escaping issues with user input to analysis.jsp and action.jsp
  12529. (hossman, SOLR-74)
  12530. Other Changes
  12531. 1. Upgrade to Lucene 2.0 nightly build 2006-06-22, lucene SVN revision 416224,
  12532. http://svn.apache.org/viewvc/lucene/java/trunk/CHANGES.txt?view=markup&pathrev=416224
  12533. 2. Modified admin styles to improve display in Internet Explorer (Greg Ludington via billa, SOLR-6)
  12534. 3. Upgrade to Lucene 2.0 nightly build 2006-07-15, lucene SVN revision 422302,
  12535. 4. Included unique key field name/value (if available) in log message of add (billa, SOLR-18)
  12536. 5. Updated to Lucene 2.0 nightly build 2006-09-07, SVN revision 462111
  12537. 6. Added javascript to catch empty query in admin query forms (Tomislav Nakic-Alfirevic via billa, SOLR-48
  12538. 7. blackslash escape * in ssh command used in snappuller for zsh compatibility, SOLR-63
  12539. 8. check solr return code in admin scripts, SOLR-62
  12540. 9. Updated to Lucene 2.0 nightly build 2006-11-15, SVN revision 475069
  12541. 10. Removed src/apps containing the legacy "SolrTest" app (hossman, SOLR-3)
  12542. 11. Simplified index.jsp and form.jsp, primarily by removing/hiding XML
  12543. specific params, and adding an option to pick the output type. (hossman)
  12544. 12. Added new numeric build property "specversion" to allow clean
  12545. MANIFEST.MF files (hossman)
  12546. 13. Added Solr/Lucene versions to "Info" page (hossman)
  12547. 14. Explicitly set mime-type of .xsl files in web.xml to
  12548. application/xslt+xml (hossman)
  12549. 15. Config parsing should now work useing DOM Level 2 parsers -- Solr
  12550. previously relied on getTextContent which is a DOM Level 3 addition
  12551. (Alexander Saar via hossman, SOLR-78)
  12552. 2006/01/17 Solr open sourced, moves to Apache Incubator