Queries with conditional field inclusions?

2013-10-25 Thread Richard Frovarp
I'm trying to put together a query in Solr that is becoming rather complicated, and I'm not quite sure where to even start. I'm building a directory, which for simplicity sake contains: First Name Last Name Department Name (if faculty / staff) User Types - faculty, staff, student - multivalued.

Re: edismax not working in a core

2012-07-18 Thread Richard Frovarp
On 07/18/2012 11:20 AM, Erick Erickson wrote: the ~2 is the mm parameter I'm pretty sure. So I'd guess your configuration has a mm parameter set on the core that isn't doing what you want.. I'm not setting the mm parameter or the q.op parameter. All three cores have a defaultOperator of

Re: edismax not working in a core

2012-07-18 Thread Richard Frovarp
On 07/18/2012 02:39 PM, Richard Frovarp wrote: On 07/18/2012 11:20 AM, Erick Erickson wrote: the ~2 is the mm parameter I'm pretty sure. So I'd guess your configuration has a mm parameter set on the core that isn't doing what you want.. I'm not setting the mm parameter or the q.op

Re: edismax not working in a core

2012-07-17 Thread Richard Frovarp
On 07/14/2012 05:32 PM, Erick Erickson wrote: Really hard to say. Try executing your query on the cores with debugQuery=on and compare the parsed results (for this you can probably just ignore the explain bits of the output, concentrate on the parsed query). Okay, for the example core from

edismax not working in a core

2012-07-13 Thread Richard Frovarp
I'm having trouble with edismax not working in one of my cores. I have three cores up and running, including the demo in Solr 3.6 on Tomcat 7.0.27 on Java 1.6. I can't get edismax to work on one of those cores, and it's configured very similar to the demo, which does work. I have different

Re: Run Solr within my war

2010-02-19 Thread Richard Frovarp
Pulkit Singhal wrote: Using EmbeddedSolrServer is a client side way of communicating with Solr via the file system. Solr has to still be up and running before that. My question is more along the lines of how to put the server jars that perform the core functionality and bundle them to start up

Re: Run Solr within my war

2010-02-18 Thread Richard Frovarp
On 2/18/2010 4:22 PM, Pulkit Singhal wrote: Hello Everyone, I do NOT want to host Solr separately. I want to run it within my war with the Java Application which is using it. How easy/difficult is that to setup? Can anyone with past experience on this topic, please comment. thanks, - Pulkit

Re: Updating a single field in a Solr document

2010-01-19 Thread Richard Frovarp
Shalin Shekhar Mangar wrote: On Mon, Jan 18, 2010 at 5:11 PM, Raghuveer Kancherla raghuveer.kanche...@aplopio.com wrote: Hi, I have 2 fields one with captures the category of the documents and an other which is a pre processed text of the document. Text of the document is fairly large. The