Return-Path: X-Original-To: apmail-lucene-java-user-archive@www.apache.org Delivered-To: apmail-lucene-java-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 43243EE20 for ; Tue, 5 Mar 2013 15:14:07 +0000 (UTC) Received: (qmail 90274 invoked by uid 500); 5 Mar 2013 15:14:05 -0000 Delivered-To: apmail-lucene-java-user-archive@lucene.apache.org Received: (qmail 89737 invoked by uid 500); 5 Mar 2013 15:14:01 -0000 Mailing-List: contact java-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: java-user@lucene.apache.org Delivered-To: mailing list java-user@lucene.apache.org Received: (qmail 89711 invoked by uid 99); 5 Mar 2013 15:14:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 15:14:00 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of chris.bamford@talktalk.net designates 62.24.128.242 as permitted sender) Received: from [62.24.128.242] (HELO out1.ip06ir2.opaltelecom.net) (62.24.128.242) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Mar 2013 15:13:53 +0000 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuUEAOnsNVHDXSRb/2dsb2JhbABEgkO3ZwGIKBaBAHOCHwEBBAEtISAEDAcMFAQBAQFPEBUJCA4HBAEcBIdgAwkGBAidFpEVhksNiVqMRIEXgSYHCwaCWWEDiGyLfoJ+hFWDcYFyg0yBTIMmT4EF X-IronPort-AV: E=Sophos;i="4.84,787,1355097600"; d="scan'208";a="567807596" Received: from webmail-vfrr06.sis.aol.com (HELO webmail-vfrr06) ([195.93.36.91]) by out1.ip06ir2.opaltelecom.net with ESMTP; 05 Mar 2013 14:58:24 +0000 To: java-user@lucene.apache.org Subject: Loading lucene_solr_4_1_0 into IntelliJ Date: Tue, 05 Mar 2013 09:58:24 -0500 In-Reply-To: <12F5453E-02D4-484E-A1EA-4041C5F98980@gmail.com> X-MB-Message-Source: WebUI MIME-Version: 1.0 From: Chris Bamford X-MB-Message-Type: User Content-Type: multipart/alternative; boundary="--------MB_8CFE7C9055CC027_B88_31FB8_webmail-vfrr06.sis.aol.com" X-Mailer: Webmail 36992-STANDARD Received: from 146.101.57.209 by webmail-vfrr06.sis.aol.com (195.93.36.91) with HTTP (WebMailUI); Tue, 05 Mar 2013 09:58:23 -0500 Message-Id: <8CFE7C904CB8C0A-B88-D9D3@webmail-vfrr06.sis.aol.com> X-Virus-Checked: Checked by ClamAV on apache.org ----------MB_8CFE7C9055CC027_B88_31FB8_webmail-vfrr06.sis.aol.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" =0A=20Hi=20Steve,=0A=0AThanks=20for=20all=20your=20help=20here.=20=20I=20just=20= tried=20it=20all=20again=20and=20this=20time=20I=20get=20"Cannot=20Open=20Projec= t=20=20/Users/cbamford/projects/lucene_solr_4_1_0=20contains=20no=20IntelliJ=20I= DEA=20project"=20when=20I=20do=20File=20>=20Open=20>=20directory.=0A=0AThese=20a= re=20my=20exact=20steps:=0A=0Acd=20projects=0Amkdir=20lucene_solr_4_1_0=0Asvn=20= co=20http://svn.apache.org/repos/asf/lucene/dev/tags/lucene_solr_4_1_0=20lucene_= solr_4_1_0=0Acd=20lucene_solr_4_1_0=0Aant=20idea=0A=0ANone=20of=20the=20above=20= commands=20generate=20any=20kind=20of=20errors=20that=20I=20can=20see.=0AThen=20= I=20try=20to=20Open=20this=20directory=20in=20IntelliJ,=20which=20gives=20the=20= error=20above.=20=20=20If=20I=20'ls'=20the=20.idea=20directory=20I=20see:=0A=0A%= =20ls=20-la=20.idea/=0Atotal=2088=0Adrwxr-xr-x=20=2011=20cbamford=20=20staff=20=20= =20=20374=20=205=20Mar=2014:45=20.=0Adrwxr-xr-x=20=2015=20cbamford=20=20staff=20= =20=20=20510=20=205=20Mar=2014:47=20..=0A-rw-r--r--=20=20=201=20cbamford=20=20st= aff=20=20=203046=20=205=20Mar=2014:45=20ant.xml=0A-rw-r--r--=20=20=201=20cbamfor= d=20=20staff=20=20=20=20382=20=205=20Mar=2014:45=20compiler.xml=0Adrwxr-xr-x=20=20= =204=20cbamford=20=20staff=20=20=20=20136=20=205=20Mar=2014:45=20copyright=0Adrw= xr-xr-x=20=2014=20cbamford=20=20staff=20=20=20=20476=20=205=20Mar=2014:45=20libr= aries=0A-rw-r--r--=20=20=201=20cbamford=20=20staff=20=20=20=20150=20=205=20Mar=20= 14:45=20misc.xml=0A-rw-r--r--=20=20=201=20cbamford=20=20staff=20=20=203745=20=20= 5=20Mar=2014:45=20modules.xml=0A-rw-r--r--=20=20=201=20cbamford=20=20staff=20=20= =202783=20=205=20Mar=2014:45=20projectCodeStyle.xml=0A-rw-r--r--=20=20=201=20cba= mford=20=20staff=20=20=20=20510=20=205=20Mar=2014:45=20vcs.xml=0A-rw-r--r--=20=20= =201=20cbamford=20=20staff=20=2018895=20=205=20Mar=2014:45=20workspace.xml=0A=0A= which=20seems=20fine=20??=0A=0AI=20have=20also=20tried=20running=20other=20ant=20= targets=20(test=20and=20generate-maven-artifacts),=20but=20to=20no=20avail.=0A=0A= Is=20there=20a=20step=20or=20two=20I=20am=20missing?=0A=0AThanks!=0A=0A-=20Chris= =0A=0A=20=0A=0A=0A=20=0A=0A=20=0A=0A-----Original=20Message-----=0AFrom:=20Steve= =20Rowe=20=0ATo:=20java-user@lucene.apache.org=0ASent:=20Thu,=20= 28=20Feb=202013=2014:25=0ASubject:=20Re:=20More=20questions=20on=20BlockJoinQuer= y=0A=0A=0ASorry,=20I=20meant=20to=20say=20"in=20the=20directory=20navigation=20d= ialog=20that=20comes=20up,=20choose=20=0Athe=20*directory*=20containing=20Lucene= =20and=20Solr=20(*not*=20a=20proejct=20file)".=20-=20Steve=0A=0AOn=20Feb=2028,=20= 2013,=20at=209:22=20AM,=20Steve=20Rowe=20=20wrote:=0A=0A>=20Ch= ris,=0A>=20=0A>=20You=20shouldn't=20use=20File=20>=20New=20Project,=20which=20wi= ll=20run=20you=20through=20creating=20=0Amodules,=20etc.=0A>=20=0A>=20Rather,=20= you=20should=20use=20File=20>=20Open=20(in=20versions=20of=20IntelliJ=20prior=20= to=20v12=20this=20=0Awas=20File=20>=20Open=20Project),=20navigate=20in=20the=20d= irectory=20navigation=20dialog=20that=20comes=20=0Aup=20to=20the=20*directory*=20= containing=20Lucene=20and=20Solr=20(*not*=20a=20project=20file).=0A>=20=0A>=20I=20= see=20on=20the=20wiki=20page=20this=20could=20be=20clearer=20-=20I'll=20try=20a=20= reword=20there.=20=20=0A>=20=0A>=20Steve=0A>=20=0A>=20On=20Feb=2028,=202013,=20a= t=205:53=20AM,=20Chris=20Bamford=20=20wrote:=0A>=20=0A= >>=20Hi=20guys,=0A>>=20=0A>>=20Still=20struggling=20with=20this=20I'm=20afraid=20= :-(=0A>>=20I=20have=20now=20downloaded=20lucene_solr_4_1_0=20and=20have=20run=20= 'ant=20idea'=20and=20'ant=20=0Agenerate-maven-artifacts'.=0A>>=20However,=20when= =20I=20load=20the=20codebase=20into=20IntelliJ=20with=20File=20>=20New=20Project= =20...=20I=20=0Acan=20see=20the=20code=20but=20am=20unable=20to=20right-click=20= /=20Run=20any=20of=20the=20unit=20tests.=20=20I=20am=20=0Aclearly=20missing=20a=20= step=20or=20two,=20just=20not=20sure=20what!=20(My=20Project=20SDK=20is=20correc= tly=20=0Aset=20to=20java=201.6.)=0A>>=20=0A>>=20Please=20can=20someone=20tell=20= me=20what=20I=20need=20to=20do...=0A>>=20=0A>>=20Thanks=0A>>=20=0A>>=20-=20Chris= =20=0A>>=20=0A>>=20=0A>>=20=0A>>=20=0A>>=20=0A>>=20=0A>>=20=0A>>=20=0A>>=20-----= Original=20Message-----=0A>>=20From:=20Steve=20Rowe=20=0A>>=20= To:=20java-user@lucene.apache.org=0A>>=20Sent:=20Wed,=2020=20Feb=202013=2016:57=0A= >>=20Subject:=20Re:=20More=20questions=20on=20BlockJoinQuery=0A>>=20=0A>>=20=0A>= >=20Hi=20Chris,=0A>>=20=0A>>=20Sorry,=20the=20problem=20is=20that=20the=20Intell= iJ=20and=20Maven=20support=20files=20are=20not=20=0Aincluded=20=0A>>=20in=20Luce= ne=20source=20distributions.=20=20Also,=20both=20the=20IntelliJ=20and=20Maven=20= =0A>>=20configurations=20assume=20you=20have=20Solr=20sources=20in=20addition=20= to=20Lucene=20sources.=0A>>=20=0A>>=20The=20Solr=204.1=20source=20distribution=20= *does*=20contain=20these=20files,=20in=20addition=20to=20=0Athe=20=0A>>=20Lucene= =20and=20Solr=20sources=20-=20see=20.=20=20=20=0A=0A>>=20=0A>>=20Alternatively,=20you=20can=20check=20out=20the=20= 4.1=20release=20tag=20from=20Subversion=20-=20this=20=0Aalso=20=0A>>=20has=20eve= rything=20you'll=20need:=0A>>=20=0A>>=20=20=20svn=20checkout=20http://svn.apache= .org/repos/asf/lucene/dev/tags/lucene_solr_4_1_0=0A>>=20=0A>>=20Steve=0A>>=20=0A= >>=20You=20can=20get=20the=20required=20files=20by=20downloading=0A>>=20On=20Feb= =2020,=202013,=20at=2011:45=20AM,=20Chris=20Bamford=20=20=0Awrote:=0A>>=20=0A>>>=20=0A>>>=20Thanks=20Steve,=20sounds=20very=20useful= .=20=20These=20are=20my=20steps:=0A>>>=20=0A>>>=20tar=20xzvf=20~/Downloads/lucen= e-4.1.0-src.tgz=20=0A>>>=20cd=20lucene-4.1.0=0A>>>=20ant=0A>>>=20ant=20idea=0A>>= >=20=0A>>>=20This=20last=20step=20fails=20with:=0A>>>=20=0A>>>=20Buildfile:=20/U= sers/cbamford/projects/lucene-4.1.0/build.xml=0A>>>=20=0A>>>=20BUILD=20FAILED=0A= >>>=20Target=20"idea"=20does=20not=20exist=20in=20the=20project=20"lucene".=20=0A= >>>=20=0A>>>=20Total=20time:=200=20seconds=0A>>>=20=0A>>>=20=0A>>>=20What=20have= =20I=20done=20wrong?=0A>>>=20=0A>>>=20Thanks!=0A>>>=20=0A>>>=20-=20Chris=0A>>>=20= =0A>>>=20=0A>>>=20=0A>>>=20-----Original=20Message-----=0A>>>=20From:=20Steve=20= Rowe=20=0A>>>=20To:=20java-user@lucene.apache.org=0A>>>=20Sent= :=20Wed,=2020=20Feb=202013=2016:29=0A>>>=20Subject:=20Re:=20More=20questions=20o= n=20BlockJoinQuery=0A>>>=20=0A>>>=20=0A>>>=20Hi=20Chris,=0A>>>=20=0A>>>=20This=20= mailing=20list=20is=20fine=20for=20discussing=20IntelliJ=20and=20Maven=20issues=20= as=20they=20=0A>>>=20relate=20to=20Lucene.=0A>>>=20=0A>>>=20You'll=20need=20Ant=20= v1.8.2+=20to=20bootstrap=20things.=0A>>>=20=0A>>>=20'ant=20idea'=20at=20the=20to= p=20level=20will=20produce=20an=20IntelliJ=20project=20you=20can=20open=20-=20=0A= >>=20see=20=0A>>>=20=20= for=20more=20info.=0A>>>=20=0A>>>=20For=20some=20treatment=20of=20Maven=20issues= ,=20see=20dev-tools/maven/README.maven.=0A>>>=20=0A>>>=20Steve=0A>>>=20=0A>>>=20= On=20Feb=2020,=202013,=20at=2010:48=20AM,=20Chris=20Bamford=20=20=0A>>=20wrote:=0A>>>=20=0A>>>>=20=0A>>>>=20Thanks=20Mike.=0A>>>>=20= I=20have=20downloaded=20the=20source=20tarball=20for=204.1.0=20and=20have=20trie= d=20to=20get=20it=20=0A>>>=20working,=20but=20am=20having=20a=20few=20problems=20= getting=20it=20to=20fit=20with=20my=20environment=20=0A>>>=20(intelliJ=20/=20Mav= en).=0A>>>>=20Where=20is=20the=20best=20forum=20to=20discuss=20such=20issues?=0A= >>>>=20=0A>>>>=20Chris=0A>>>>=20=0A>>>>=20=0A>>>>=20=0A>>>>=20=0A>>>>=20=0A>>>>=20= -----Original=20Message-----=0A>>>>=20From:=20Michael=20McCandless=20=0A>>>>=20To:=20java-user@lucene.apache.org=0A>>>>=20Sent:=20Tue= ,=2012=20Feb=202013=2015:17=0A>>>>=20Subject:=20Re:=20More=20questions=20on=20Bl= ockJoinQuery=0A>>>>=20=0A>>>>=20=0A>>>>=20On=20Tue,=20Feb=2012,=202013=20at=207:= 43=20AM,=20Chris=20Bamford=0A>>>>=20=20wrote:=0A>>>>= =20=0A>>>>>>=20Could=20you=20please=20send=20this=20to=20the=20java-user@lucene.= apache.org=20list?=0A>>>>>=20=0A>>>>>=20I=20thought=20I=20did!=20=20:-)=20=20Her= e=20it=20is=20again:=0A>>>>=20=0A>>>>=20Duh,=20my=20bad=20:)=20=20You=20are=20ri= ght!=0A>>>>=20=0A>>>>=20I=20saw=20the=20"Hi=20Mike"=20and=20stopped=20there!=0A>= >>>=20=0A>>>>=20Responses=20below:=0A>>>>=20=0A>>>>>=20I=20have=20a=20question=20= about=20your=20post=20"Searching=20relational=20content=20with=20=0A>>=20Lucene'= s=0A>>>>>=20BlockJoinQuery"=0A>>>>>=20(http://blog.mikemccandless.com/2012/01/se= arching-relational-content-with.html).=0A>>>>>=20I=20am=20actually=20trying=20to= =20use=20Lucene=204.0.0,=20so=20am=20having=20to=20translate=20your=20=0A>>>>=20= example=20to=0A>>>>>=20the=20newer=20ToParentBlockJoinQuery=20/=20ToChildBlockJo= inQuery=20APIs.=20=20I=20have=20had=20=0A=0A>>>>=20some=20success,=0A>>>>>=20but= =20my=20ultimate=20goal=20of=20combining=20the=20info=20from=20both=20child=20an= d=20parent=20hits=20=0A=0A>>=20is=20=0A>>>=20=0A>>>>=20eluding=0A>>>>>=20me.=20=20= I=20=20suspect=20I=20am=20missing=20something,=20but=20as=20yet=20haven't=20figu= red=20out=20=0Awhat!=0A>>>>>=20=0A>>>>>=20In=20this=20scenario,=20let's=20say=20= I=20have=20the=20following=20relationship:=0A>>>>>=20=0A>>>>>=20child=201=20:=20= =20=20ref:"100",=20content:"child=201",=20type:"C"=0A>>>>>=20child=202=20:=20=20= =20ref:"200",=20content:"child=202",=20type:"C"=0A>>>>>=20child=203=20:=20=20=20= ref:"300",=20content:"child=203",=20type:"C"=0A>>>>>=20parent=20=20:=20=20=20ref= :"400",=20content:"parent",=20type:"P"=0A>>>>>=20=0A>>>>>=20When=20one=20or=20mo= re=20children=20are=20hit,=20I=20want=20that=20to=20be=20noted=20against=20the=20= =0A>>>=20parent,=0A>>>>>=20so=20ultimately=20I=20can=20create=20a=20result=20obj= ect=20like:=0A>>>>>=20=0A>>>>>=20Result{=20ref:400,=20content:"parent",=20matche= s:=20[100,=20300]=20}=20=20//=20children=201=20&=20=0A3=0A>>>>>=20were=20hit=0A>= >>>>=20=0A>>>>>=20I=20have=20followed=20your=20example=20closely=20just=20replac= ing=20BlockJoinQuery=20with=0A>>>>>=20ToParentBlockJoinQuery=20and=20BlockJoinCo= llector=20with=20ToParentBlockJoinCollector.=0A>>>>>=20Unfortunately=20I=20seem=20= to=20be=20able=20to=20get=20either:=0A>>>>>=20=0A>>>>>=20Just=20the=20parent=20o= bjects=20(with=20td=3Ds.search(q,=2010))=20or=20just=20the=20children=20=0A(with= =20=0A>>=20=0A>>>>=20the=0A>>>>>=20Collector),=20=20but=20not=20both!=0A>>>>>=20= =0A>>>>>=20Am=20I=20to=20call=20search()=20twice=20(one=20returning=20TopDocs=20= and=20the=20other=20GroupDocs=20=0A=0A>>>=20via=0A>>>>>=20the=20Collector)=20and= =20join=20them=20myself?=20=20Or=20does=20one=20of=20these=20calls=20return=20me= =20=0A=0A>>>>=20both=0A>>>>>=20types=20of=20documents,=20grouped=20and=20sorted?= =0A>>>>=20=0A>>>>=20You=20should=20only=20call=20IndexSearcher.search=20once,=20= but=20you=20should=20pass=0A>>>>=20your=20ToParentBlockJoinCollector=20instance=20= IS.search(query,=20collector),=0A>>>>=20and=20then=20you=20call=20collector.getT= opGroups=20to=20get=20the=20parent=20&=20children.=0A>>>>=20=0A>>>>=20Maybe=20ha= ve=20a=20look=20@=20the=20unit=20test=20to=20get=20ideas?=0A>>>>=20=0A>>>>=20htt= ps://svn.apache.org/repos/asf/lucene/dev/branches/lucene_solr_4_1/lucene/join/sr= c/test/org/apache/lucene/search/join/TestBlockJoin.java=0A>>>>=20=0A>>>>=20BTW=20= you=20should=20upgrade=20to=204.1.0!=0A>>>>=20=0A>>>>=20Mike=20McCandless=0A>>>>= =20=0A>>>>=20http://blog.mikemccandless.com=0A>>>>=20=0A>>>>=20-----------------= ----------------------------------------------------=0A>>>>=20To=20unsubscribe,=20= e-mail:=20java-user-unsubscribe@lucene.apache.org=0A>>>>=20For=20additional=20co= mmands,=20e-mail:=20java-user-help@lucene.apache.org=0A>>>>=20=0A>>>>=20=0A>>>>=20= =0A>>>=20=0A>>>=20=0A>>>=20-----------------------------------------------------= ----------------=0A>>>=20To=20unsubscribe,=20e-mail:=20java-user-unsubscribe@luc= ene.apache.org=0A>>>=20For=20additional=20commands,=20e-mail:=20java-user-help@l= ucene.apache.org=0A>>>=20=0A>>>=20=0A>>>=20=0A>>=20=0A>>=20=0A>>=20-------------= --------------------------------------------------------=0A>>=20To=20unsubscribe= ,=20e-mail:=20java-user-unsubscribe@lucene.apache.org=0A>>=20For=20additional=20= commands,=20e-mail:=20java-user-help@lucene.apache.org=0A>>=20=0A>>=20=0A>>=20=0A= >=20=0A=0A=0A-------------------------------------------------------------------= --=0ATo=20unsubscribe,=20e-mail:=20java-user-unsubscribe@lucene.apache.org=0AFor= =20additional=20commands,=20e-mail:=20java-user-help@lucene.apache.org=0A=0A=0A=20= =0A ----------MB_8CFE7C9055CC027_B88_31FB8_webmail-vfrr06.sis.aol.com--