Re: Filter query with special character using SolrJ client

2010-03-28 Thread Indika Tantrigoda
Thanks for the info. I'll have a try and see how the results are. Since the names of the string fields are not predefined I might have to find a method to do this automatically. I'll try a few more workarounds and see what the results turn out to be. Regards, Indika On 29 March 2010 06:57, Ahmet

Re: How to compose a query from multiple HTTP URL parameters?

2010-03-28 Thread Conal Tuohy
Chris Hostetter wrote: : select?Species=Pseudonaja+textilis&Hospital=Griffith+Base+Hospital : : ... instead of: : : q=Species:'Pseudonaja+textilis'+Hospital:'Griffith+Base+Hospital' Try this, i *think* it will work for you... q=%2B_query_:"{!field+f=Species+v=$Species}"+%2B_query_="{!field+f

RE: One item, multiple fields, and range queries

2010-03-28 Thread Steven A Rowe
Hi David, I confess that even after looking at earlier posts in the thread your subject refers to, I'm not entirely sure exactly what problem you're trying to solve. However, aspects of your desired solution seem quite similar to what the OP on this thread over on java-user was trying to do: h

Re: Filter query with special character using SolrJ client

2010-03-28 Thread Ahmet Arslan
> I am trying to get filter querying to work on search. > When the filter query contains no special character or is a > single word the > filter query parameter returns the result as expected. > However when I run filter query where special characters > are present no > results are results. > > e

Re: Solr 1.4 bug? search fails but analyzer indicates a match

2010-03-28 Thread Peter Wolanin
I think it is clearly a bug - see comments on the issue by Robert Muir. https://issues.apache.org/jira/browse/SOLR-1852 The patch is a backport by Mark Miller of Robert's fixes for other problems for the WordDelimiterFilter in Solr trunk. Those fixes also fix this bug as a side effect. -Peter

Re: One item, multiple fields, and range queries

2010-03-28 Thread David Smiley (@MITRE.org)
It's been three years since this discussion and I'm unaware of any work that has plugged this capability gap in Lucene/Solr. In summary, it would be very, *very*, useful to be able to query multiple multi-valued fields and require that such matches occur at the same index offset. I'm working on

Re: Multicore process

2010-03-28 Thread Blargy
Mark Miller-3 wrote: > > Hmmm...but isn't your slave on a different machine? Every install is > going to need a solr.xml, no way around that.. > Of course its on another machine. I was just hoping to only have 1 version of solr.xml checked into our source control and that I can change which co

Re: Multicore process

2010-03-28 Thread Mark Miller
On 03/28/2010 05:43 PM, Blargy wrote: Thanks that makes perfect sense for solrconfig.xml however I dont see that sort of functionality for solr.xml. Im guessing Ill need to manage 2 different versions of solr.xml Version 1 master Version 2 slave And my ap

Re: Multicore process

2010-03-28 Thread Blargy
Thanks that makes perfect sense for solrconfig.xml however I dont see that sort of functionality for solr.xml. Im guessing Ill need to manage 2 different versions of solr.xml Version 1 master Version 2 slave And my app will always be pointing to http://slave-host

Re: Multicore process

2010-03-28 Thread Mark Miller
On 03/28/2010 05:14 PM, Blargy wrote: Nice. Almost there... So it appears then that I will need two different solr.xml configurations. One for the master defining core0 and core1 and one for the slave with the default configuration. Is there anyway to specify master/slave specific settings in so

Re: Multicore process

2010-03-28 Thread Blargy
Nice. Almost there... So it appears then that I will need two different solr.xml configurations. One for the master defining core0 and core1 and one for the slave with the default configuration. Is there anyway to specify master/slave specific settings in solr.xml or will I have to have 2 differe

Re: Multicore process

2010-03-28 Thread Mark Miller
On 03/28/2010 04:49 PM, Blargy wrote: I just thought about this... Im guessing my slaves should always be replicating from the "live" master core: (http://localhost:8983/solr/items-live/replication). So my master solr will have a directory structure like this: home/items/data/core0/index home/

Re: Multicore process

2010-03-28 Thread Blargy
I just thought about this... Im guessing my slaves should always be replicating from the "live" master core: (http://localhost:8983/solr/items-live/replication). So my master solr will have a directory structure like this: home/items/data/core0/index home/items/data/core1/index and at any poi

Re: Multicore process

2010-03-28 Thread Blargy
Ok great... its starting to make sense. Now Im just a little confused on replication. So I had previously had my slave configuration as follows commit startup schema.xml,stopwords.txt http://${replication.host}:8983/solr/${solr.core.instanceDir}r

Re: Multicore process

2010-03-28 Thread Mark Miller
Right - I'd just have the data dir be generic (like core0, core1 as you have i example 2) and then the names will be live and offline and flip back and forth between the core0, core1 dirs. On 03/28/2010 04:06 PM, Blargy wrote: Mark, first off thanks for the response. Im glad someone is around

Re: Multicore process

2010-03-28 Thread Blargy
Mark, first off thanks for the response. Im glad someone is around today ;) So this is what I have so far: So my directory structure is: home/items/data/live/index home/items/data/offline/index So after playing around I see that swap literally just swaps the dataDir in solr.

Re: Multicore process

2010-03-28 Thread Mark Miller
On 03/28/2010 02:58 PM, Blargy wrote: Also, how do I share the same schema and config files? In solr.xml you can specify schema.xml and config.xml - just specify the same one for each core. If you are creating cores dynamically, you can still do this. You prob want to use the shareSchema op

Re: Multicore process

2010-03-28 Thread Mark Miller
On 03/28/2010 02:54 PM, Blargy wrote: I was hoping someone could explain to me how your Solr multicore process currently operates. This is what I am thinking about and I was hoping I could get some ideas/suggestions. I have a master/slave setup where the master will be doing all the inde

Re: Multicore process

2010-03-28 Thread Blargy
Also, how do I share the same schema and config files? -- View this message in context: http://n3.nabble.com/Multicore-process-tp681929p681936.html Sent from the Solr - User mailing list archive at Nabble.com.

Multicore process

2010-03-28 Thread Blargy
I was hoping someone could explain to me how your Solr multicore process currently operates. This is what I am thinking about and I was hoping I could get some ideas/suggestions. I have a master/slave setup where the master will be doing all the indexing via DIH. Ill be doing a full-import ever

Filter query with special character using SolrJ client

2010-03-28 Thread Indika Tantrigoda
Hello, I am trying to get filter querying to work on search. When the filter query contains no special character or is a single word the filter query parameter returns the result as expected. However when I run filter query where special characters are present no results are results. e.g Cameras

Re: Solr 1.4 bug? search fails but analyzer indicates a match

2010-03-28 Thread MitchK
Peter, following your discussion, I was a bit confused: Is this still a bug or is the behaviour correct (since the positionIncrement is set to be true) and what changes did you do in the patch? Does the patch fits all your needs (Matches at "identi ca", "identica", "identi-ca", "identi.ca")? -