Re: Trouble Setting Up Development Environment

2012-03-24 Thread Li Li
I forgot to write that I am running it in tomcat 6, not jetty. you can right click the project -> Debug As -> Debug on Server -> Manually define a new Server -> Apache -> Tomcat 6 if you should have configured a tomcat. On Sun, Mar 25, 2012 at 4:17 AM, Karthick Duraisamy Soundararaj < karthick.sou

web gui specify shard and collection when adding a new core

2012-03-24 Thread Jamie Johnson
Is there a plan to add the ability to specify the shard and collection when adding a core through the enhanced web gui, is there a JIRA for this?  If not I'd be more than happy to add the request if someone can point me to the active JIRA (both 3162 and 2667 are marked Resolved).

Re: Microshardding question

2012-03-24 Thread Jamie Johnson
Seems like I should have just tried it. Unloading did indeed remove the core from the clusterstate, so that answers that. On Sat, Mar 24, 2012 at 10:02 PM, Jamie Johnson wrote: > I have recently been considering using microsharding in our > distribution and wanted to make sure I understand the p

Microshardding question

2012-03-24 Thread Jamie Johnson
I have recently been considering using microsharding in our distribution and wanted to make sure I understand the premise correctly. The idea would be to fire up a set of solr instances, each with a number of cores. Should those cores become over burdened we'd fire up another solr instance on ano

RE: "ant test" and contribs

2012-03-24 Thread Steven A Rowe
Hi Lance, Are you adding a new solr/contrib/project/? If so, why not use the build.xml file from a sibling project? E.g. try starting from solr/contrib/velocity/build.xml - it is very simple and enables all build steps by importing solr/contrib/contrib-build.xml. solr/contrib/contrib-build.x

"ant test" and contribs

2012-03-24 Thread Lance Norskog
What do I need to add so that a contrib/project/src/test/ directory can find the classes in contrib/project/src/java? I've gotten the ant files to where 'ant test-contrib' works. But 'ant test' fails: it cannot compile the test classes after building the jars for contrib/project. Any hints? -- La

Re: Trouble Setting Up Development Environment

2012-03-24 Thread Karthick Duraisamy Soundararaj
One minor change is that I used solr 3.5 source code and not the one from the trunk. On Sat, Mar 24, 2012 at 4:17 PM, Karthick Duraisamy Soundararaj < karthick.soundara...@gmail.com> wrote: > I followed your instructions. I got 8 Errors and a bunch of warnings few > of them related to classpath.

Re: Trouble Setting Up Development Environment

2012-03-24 Thread Karthick Duraisamy Soundararaj
I followed your instructions. I got 8 Errors and a bunch of warnings few of them related to classpath. I also got the following exception when I tried to run with the jetty ( i have attached the full console output with this email. I figured solr directory with config files might be missing and add

Old Google Guava library needs updating (r05)

2012-03-24 Thread Nicholas Ball
Hey all, Working on a plugin, which uses the Curator library (ZooKeeper client). Curator depends on the very latest Google Guava library which unfortunately clashes with Solr's outdated r05 of Guava. Think it's safe to say that Solr should be using the very latest Guava library (11.0.1) too right

Re: Solr Cloud multiple shards and replicas in one instance freezes

2012-03-24 Thread Jamie Johnson
There is no stack trace, I can fire things back up and try to get a thread dump if that's useful. On Sat, Mar 24, 2012 at 4:07 AM, Mark Miller wrote: > Can you get a stack trace dump? > > Sent from my iPhone > > On Mar 23, 2012, at 10:38 PM, Jamie Johnson wrote: > >> I run a test setup on my mac

Re: Faceted range based on float within velocity not working properly

2012-03-24 Thread Marcelo Carvalho Fernandes
Just to let you know that there can't have any spaces in the begining of a line code. That leads us to... #macro(range_get_to_value $inval, $gapval) #if(${gapval.class.name} == "java.lang.String") $inval$gapval## #elseif(${gapval.class.name} == "java.lang.Float" || ${inval.class.name} == "java.la

Re: Faceted range based on float within velocity not working properly

2012-03-24 Thread Marcelo Carvalho Fernandes
Hi all! I have just solved the problem but I'm not sure if that would be nice to commit to Solr repository. How do I go about having this patch approved? The changed file is VM_global_library.vm and the changed code is highlighted as yellow in the following.. #macro(range_get_to_value $inval, $g

Re: Tags and Folksonomies

2012-03-24 Thread Richard Noble
Hi I have not actually done this yet, but will need to do something similar. We will also be using user tagging, and ratings to influence relevancy for the searches. I take it that you want something like if a document has been tagged 8 times with the tag "tagvalue" but only 4 times with the tag

Re: Field length and scoring

2012-03-24 Thread Erik Fäßler
Ahh, that's it - I thought of such a thing but couldn't find a proper affirmation with Google. Thank you both for your answers. I guess I will just sort by value length myself. Only one thing: Erick said my examples would both be one token long. But I rather think, there are both one "value" l

Re: Practical Optimization

2012-03-24 Thread Martin Koch
Thanks for writing this up. These are good tips. /Martin On Fri, Mar 23, 2012 at 9:57 PM, dw5ight wrote: > Hey All- > > we run a http://carsabi.com car search engine with Solr and did some > benchmarking recently after we switched from a hosted service to > self-hosting. In brief, we went fro

Re: Solr Cloud multiple shards and replicas in one instance freezes

2012-03-24 Thread Mark Miller
Can you get a stack trace dump? Sent from my iPhone On Mar 23, 2012, at 10:38 PM, Jamie Johnson wrote: > I run a test setup on my mac where I setup 4 cores 2 of which are > replicas in a single solr JVM instance. I recently attempted to move > this same setup to Ubuntu 10.04.4 LTS but the syst