Re: Updates from Multiple JVM

2007-08-07 Thread Chris Hostetter
: Does Solr support updates to the same index from multiple JVM ? Solr recieves update commands via HTTP requests, so yes it can process updates from multiple JVMs, it can even process updates that come from applications written in languages other then java. -Hoss

Re: Updates from Multiple JVM

2007-08-07 Thread LP
Thanks for the reply Hoss. I am using Solr Embedded and trying to update the same index through multiple JVM. I am using Solr 1.2. Initially I got the LockObtainFailedException which was solved after I appiled the Solr-240 patch. Now I am getting the following exception while trying to access

retrieving range of fields for the results

2007-08-07 Thread Yu-Hui Jin
Hi, there, We used Solr to index a set of documents and provide free-text search functionality with sorting options on a number of fields. We have a requirement that along with each search result we want to obtain the ranges of a few fields for the resulting documents. Here's an example: Let's

Configuring Synonyms

2007-08-07 Thread beejenny
Hello, I am trying to configure some synonyms against an index of catalog products and I can't seem to get it right. We are indexing a field called Colour which contains the colour of a product. Some of the values for colour are a little obscure and we'd like to map them to more common

Re: retrieving range of fields for the results

2007-08-07 Thread Pieter Berkel
The functionality you are describing is called Faceting in Solr and can be achieved with a single query, take a look at the following wiki pages for more info: http://wiki.apache.org/solr/SolrFacetingOverview http://wiki.apache.org/solr/SimpleFacetParameters In regards to faceting date fields

Re: Configuring Synonyms

2007-08-07 Thread Pieter Berkel
What is the fieldType of your Colour field? You must ensure that the particular field that you are using to store Colour information is configured to use solr.SynonymFilterFactory in your schema.xml configuration file. cheers, Piete On 07/08/07, beejenny [EMAIL PROTECTED] wrote: Hello, I

Re: Configuring Synonyms

2007-08-07 Thread beejenny
I created a JustSynonyms field type that is configured to use the WhiteSpaceTokenizer and the SynonymFilterFactory. I think I might have cracked it: In my synonyms.txt I now have: Yellow, Buttermilk, Mustard, Pineapple, Straw, Sunshine Red, Cranberry, Crimson, Dark Red, Strawberry, Scarlet

Re: Configuring Synonyms

2007-08-07 Thread bvandenbos
I am running into a somewhat similar issue with Synonyms. I'm trying to create a synonym filter for common first names (ie: chuck,charles,charlie). Here is a snippet from my schema.xml: fieldtype name=firstname class=solr.StrField analyzer type=query tokenizer

Re: Configuring Synonyms

2007-08-07 Thread Yonik Seeley
On 8/7/07, bvandenbos [EMAIL PROTECTED] wrote: I am running into a somewhat similar issue with Synonyms. I'm trying to create a synonym filter for common first names (ie: chuck,charles,charlie). Here is a snippet from my schema.xml: fieldtype name=firstname class=solr.StrField analyzer

Re: Configuring Synonyms

2007-08-07 Thread bvandenbos
There isn't one. I more or less copied it from http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#head-2c461ac74b4ddd82e453dc68fcfc92da77358d46 here Yonik Seeley wrote: On 8/7/07, bvandenbos [EMAIL PROTECTED] wrote: I am running into a somewhat similar issue with Synonyms. I'm

RE: Updates from Multiple JVM

2007-08-07 Thread Lance Norskog
Is the question whether or not you can run solr in two different servlet containers and index into the same data set? While we're on the topic, can you search with one and index with the other? Or do snapshots have to be in the middle? Lance -Original Message- From: LP [mailto:[EMAIL

Re: Configuring Synonyms

2007-08-07 Thread bvandenbos
Ah. It seems that the Caps in my synonyms file are throughing off the matches, as I convert everything to lowercase BEFORE handing it off to solr. Ha... as I said, something obvious. :) Thanks! ben bvandenbos wrote: There isn't one. I more or less copied it from

Re: retrieving range of fields for the results

2007-08-07 Thread Yu-Hui Jin
Piete, Thanks for the pointers and detailed info. Actually I'm aware of the faceting feature. Faceting provides the ability to categorize the results with the count for each category. However,I don't think that solves my problem. Let me give a more detailed example for my requirement: Let's say