Re: Field collapsing classloading issues

2011-05-15 Thread karanveer singh
I finally got it to work. The problem was that I wasn't building example, and was using a copied version of the webapp. This earlier webapp did not have the classpaths set for fieldcollapse. I built example and its working now. Thanks to everyone who helped! On Sun, May 15, 2011 at 9:26 PM, Erick

Re: Field collapsing classloading issues

2011-05-15 Thread Erick Erickson
You can just configure another directive in solrconfig.xml if you want. Or, copy the relevant jars to one of the directories already specified by a directive in the config... Best Erick On Sun, May 15, 2011 at 10:18 AM, karanveer singh wrote: > Since I'm using solr 3.1.0, I'm guessing that t

Re: Field collapsing classloading issues

2011-05-15 Thread karanveer singh
Since I'm using solr 3.1.0, I'm guessing that the solr.fieldCollapse classpath hasn't been set. How exactly should I be setting this? On Sun, May 15, 2011 at 7:08 PM, karanveer singh wrote: > Can you tell me how the packet paths are set? So that I can modify > them and let it know where to find f

Re: Field collapsing classloading issues

2011-05-15 Thread karanveer singh
Can you tell me how the packet paths are set? So that I can modify them and let it know where to find fieldCollapse.class? My fieldCollapse.class is in build/solr/org/apache/solr/handler/component My /lib folder contains some .jar files and some other files, I guess these were created at the time

Re: Field collapsing classloading issues

2011-05-15 Thread Luis Cappa Banda
Hello. Where did you put the .class files associated to FieldCollapsing? It´s usual to include them into a .jar contained in /lib server folder, for example. Another option is that the packet path "solr.CollapseComponent" it´s not the same as the applied in your patch, if it was modified.

Field collapsing classloading issues

2011-05-13 Thread karan singh
I applied the SOLR field collapsing patch to solr 3.1.0. I'm not really sure about what to add in solrconfig.xml. Right now I've added the following :