Re: Editing solr update handler sub class
Thanks. I built a plugin to resolve the overwrite dupes issue. On Thu, Jun 21, 2012 at 5:58 PM, Erick Erickson wrote: > H. I think you would have a _far_ easier time of this just getting > all the source code, modifying the relevant source, and then just > issuing an "ant dist" (or "ant example" if you wanted to try it). There are > other targets that will package up the whole thing just like you would get > it from the website. > > And consider making a plugin rather than modifying DirectUpdateHandler2. > Your custom update handler can _inherit_ from that class and do your special > stuff. It's still easier, IMO, if you get the complete source. Executing > "ant dist" will put all the files in the dist folder as Irshad says. > > You need an svn client (although I think there are Git repos out there too), > ant > and Ivy (although if you don't have the Ivy stuff, you will be guided through > it's installation when you try the ant command). > > See: http://wiki.apache.org/solr/HowToContribute for how to get the source > and make a build. > > Best > Erick > > On Thu, Jun 21, 2012 at 1:36 AM, irshad siddiqui > wrote: >> Hi, >> >> Jar file are located in dist folder . check ur dist folder or you can >> check your solrconfig.xml file where you will get jar location path. >> >> >> On Thu, Jun 21, 2012 at 9:47 AM, Shameema Umer wrote: >> >>> Can anybody tell me where are the lucene jar files >>> org.apache.lucene.index and org.apache.lucene.search located? >>> >>> Thanks >>> Shameema >>> >>> On Wed, Jun 20, 2012 at 4:44 PM, Shameema Umer wrote: >>> > Hi, >>> > >>> > I decompiled DirectUpdateHandler2.class to .java file and edited it to >>> > suit my requirement to stop overwriting duplicates(I needed the first >>> > fetched tstamp). >>> > But when I tried to compile it to .class file, it shows 91 errors. Am >>> > I wrong anywhere? >>> > >>> > I am new to java application but fluent in web languages. >>> > >>> > Please help. >>> > >>> > Thanks >>> > Shameema >>>
Re: Editing solr update handler sub class
H. I think you would have a _far_ easier time of this just getting all the source code, modifying the relevant source, and then just issuing an "ant dist" (or "ant example" if you wanted to try it). There are other targets that will package up the whole thing just like you would get it from the website. And consider making a plugin rather than modifying DirectUpdateHandler2. Your custom update handler can _inherit_ from that class and do your special stuff. It's still easier, IMO, if you get the complete source. Executing "ant dist" will put all the files in the dist folder as Irshad says. You need an svn client (although I think there are Git repos out there too), ant and Ivy (although if you don't have the Ivy stuff, you will be guided through it's installation when you try the ant command). See: http://wiki.apache.org/solr/HowToContribute for how to get the source and make a build. Best Erick On Thu, Jun 21, 2012 at 1:36 AM, irshad siddiqui wrote: > Hi, > > Jar file are located in dist folder . check ur dist folder or you can > check your solrconfig.xml file where you will get jar location path. > > > On Thu, Jun 21, 2012 at 9:47 AM, Shameema Umer wrote: > >> Can anybody tell me where are the lucene jar files >> org.apache.lucene.index and org.apache.lucene.search located? >> >> Thanks >> Shameema >> >> On Wed, Jun 20, 2012 at 4:44 PM, Shameema Umer wrote: >> > Hi, >> > >> > I decompiled DirectUpdateHandler2.class to .java file and edited it to >> > suit my requirement to stop overwriting duplicates(I needed the first >> > fetched tstamp). >> > But when I tried to compile it to .class file, it shows 91 errors. Am >> > I wrong anywhere? >> > >> > I am new to java application but fluent in web languages. >> > >> > Please help. >> > >> > Thanks >> > Shameema >>
Re: Editing solr update handler sub class
Hi, Jar file are located in dist folder . check ur dist folder or you can check your solrconfig.xml file where you will get jar location path. On Thu, Jun 21, 2012 at 9:47 AM, Shameema Umer wrote: > Can anybody tell me where are the lucene jar files > org.apache.lucene.index and org.apache.lucene.search located? > > Thanks > Shameema > > On Wed, Jun 20, 2012 at 4:44 PM, Shameema Umer wrote: > > Hi, > > > > I decompiled DirectUpdateHandler2.class to .java file and edited it to > > suit my requirement to stop overwriting duplicates(I needed the first > > fetched tstamp). > > But when I tried to compile it to .class file, it shows 91 errors. Am > > I wrong anywhere? > > > > I am new to java application but fluent in web languages. > > > > Please help. > > > > Thanks > > Shameema >
Re: Editing solr update handler sub class
Can anybody tell me where are the lucene jar files org.apache.lucene.index and org.apache.lucene.search located? Thanks Shameema On Wed, Jun 20, 2012 at 4:44 PM, Shameema Umer wrote: > Hi, > > I decompiled DirectUpdateHandler2.class to .java file and edited it to > suit my requirement to stop overwriting duplicates(I needed the first > fetched tstamp). > But when I tried to compile it to .class file, it shows 91 errors. Am > I wrong anywhere? > > I am new to java application but fluent in web languages. > > Please help. > > Thanks > Shameema