Re: Updates from Multiple JVM

2007-08-06 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: Heap size vs memory allocation

2007-08-06 Thread Chris Hostetter
: I'm searching through the mail archives and a few old letters make it : sound as if "heap size" is a different setting completely than memory : allocation on execute. The box has 4gb RAM, and I'm executing solr with : 2500 max / 1000 min like this: : java -Xmx2500M -Xms1000M -jar start.jar :

Re: embedded solr: write lock issue

2007-08-06 Thread Erik Hatcher
Thanks Mike and Yonik! I've upgraded the project to trunk Solr, added in the SingleInstanceLockFactory setting and bumped the write lock timeout. I personally haven't duplicated the issue (all works fine on my development box) but the client will give it a try in their test environment s

Re: facet error - example

2007-08-06 Thread Yonik Seeley
On 8/6/07, Jae Joo <[EMAIL PROTECTED]> wrote: > Hi, > > I have updated the example and have an error if I empty one of the facet > field. What do you mean by "empty" one of the facet fields? What is the whole query URL you are using? It looks like you are perhaps you are setting a facet.field par

Solr Sort

2007-08-06 Thread Jae Joo
Will anyone helps me how to sort the "text string" which length is less than 50. Thanks, Jae Joo

facet error - example

2007-08-06 Thread Jae Joo
Hi, I have updated the example and have an error if I empty one of the facet field. Any know what I missed and/or wrong, Here is exception list org.apache.solr.core.SolrException: undefined field at org.apache.solr.schema.IndexSchema.getField(IndexSchema.java:829) at org.apache.solr.re

Re: embedded solr: write lock issue

2007-08-06 Thread Yonik Seeley
On 8/6/07, Mike Klaas <[EMAIL PROTECTED]> wrote: > > 1000 > > Have you tried upping this? The problem might be that you are > commiting every 1.0s, and a single commit eventually might take > longer than this (and you're only waiting 1.0s to acquire the write > lock). With all the locking don

Re: embedded solr: write lock issue

2007-08-06 Thread Mike Klaas
On 6-Aug-07, at 5:38 AM, Erik Hatcher wrote: I'm working on a project that embeds Solr, much like the EmbeddedSolr example posted here . The application generally runs fine, with very rapid handling of indexing and search requests, however at heav

Heap size vs memory allocation

2007-08-06 Thread Kevin Holmes
I'm searching through the mail archives and a few old letters make it sound as if "heap size" is a different setting completely than memory allocation on execute. The box has 4gb RAM, and I'm executing solr with 2500 max / 1000 min like this: java -Xmx2500M -Xms1000M -jar start.jar Is this

Re: Help with query syntax

2007-08-06 Thread matt davies
I've worked it out. colons, not = signs :-) if request.has_key('q'): z = request['q'] the_url = request.META['PATH_INFO'].split('/') cat_type = the_url[3] print cat_type gog = 'id: ' + cat_type + '* AND (title_t:"' + z + '"' + ' OR

embedded solr: write lock issue

2007-08-06 Thread Erik Hatcher
I'm working on a project that embeds Solr, much like the EmbeddedSolr example posted here . The application generally runs fine, with very rapid handling of indexing and search requests, however at heavy load we're experiencing "Lock obtain timed ou

Re: FunctionQuery and boosting documents using date arithmetic

2007-08-06 Thread Pieter Berkel
Actually, just thinking about this a bit more, perhaps adding a function call such as parseDate() might add too much overhead to the actual query, perhaps it would be better to first convert the date to a timestamp at index time and store it in a field type slong? This might be more efficient but

Help with query syntax

2007-08-06 Thread matt davies
Hello everyone I'm using solr1.1 and more or less the example app that comes with the nightly build. I'm trying to do a search that says give me all the results where id=news* and any of the other fields in the index that contain the search term form the form. I've created ID's that cont

FunctionQuery and boosting documents using date arithmetic

2007-08-06 Thread Pieter Berkel
I've been using a simple variation of the boost function given in the examples used to boost more recent documents: recip(rord(creationDate),1,1000,1000)^1.3 While it seems to work pretty well, I've realised that this may not be quite as effective as i had hoped given that the calculation is base

Updates from Multiple JVM

2007-08-06 Thread LP
Hi, Does Solr support updates to the same index from multiple JVM ? Thanks, Priya -- View this message in context: http://www.nabble.com/Updates-from-Multiple-JVM-tf4222574.html#a12011916 Sent from the Solr - User mailing list archive at Nabble.com.