Re: Find docs close to a date

2007-04-05 Thread Chris Hostetter
: My docs have a date field and I need to find the two docs with : a date which is closest to 2007-03-25T17:22:00Z. : : I use the following two queries to accomplish the task. : : date:{* TO 2007-03-25T17:22:00Z};date desc&start=0&rows=1 : date:{2007-03-25T17:22:00Z TO *};date asc&start=0&rows=1 :

Re: Does solr support Multi index and return by score and datetime

2007-04-05 Thread Otis Gospodnetic
How to cache results? Put them in a cache like memcached, for example, keyed off of query (can't exceed 250 bytes in the case of memcached, so you'll want to pack that query, perhaps use its MD5 as the cache key) Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://w

Re: problems finding negative values

2007-04-05 Thread galo
Ah! thanks. Wrapping the term in quotes solves the issue, but i've tried escaping with \- as Yonik suggested and it doesn't. I guess there's no performance difference between both so I can live with quotes but anyway, for curiosity sake, should \ work? thanks, galo Jeff Rodenburg wrote: Th

Re: Does solr support Multi index and return by score and datetime

2007-04-05 Thread James liu
2007/4/5, Otis Gospodnetic <[EMAIL PROTECTED]>: How to cache results? Put them in a cache like memcached, for example, keyed off of query (can't exceed 250 bytes in the case of memcached, so you'll want to pack that query, perhaps use its MD5 as the cache key) Yes,i use memcached and key is m

SEVERE: Error filterStart

2007-04-05 Thread Andrew Nagy
Hello, I downloaded the latest nightly snapshot of Solr and replaced my existing war with the new one. Once I restarted tomcat, I get this error: SEVERE: Error filterStart Apr 5, 2007 10:11:28 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/solr] startup failed due to previo

Re: Find docs close to a date

2007-04-05 Thread nick19701
Chris Hostetter wrote: > > off the top of my head, i can't think of any better way to do what you are > doing "out of hte box" with Solr ... if you wanted to write a bit of > custom java code, a FunctionQuery ValueSource that made a "bell curve" > arround a particular value would be a very cool/

Re: SEVERE: Error filterStart

2007-04-05 Thread Chris Hostetter
: SEVERE: Error filterStart : Apr 5, 2007 10:11:28 AM org.apache.catalina.core.StandardContext start : SEVERE: Context [/solr] startup failed due to previous errors no clue at all ... the string "filterStart" doesn't appear anywhere in teh solr code base at all as far as i can see. is it possibl

Re: SEVERE: Error filterStart

2007-04-05 Thread Walter Underwood
This does seem to be a Tomcat config problem. Start with this search to find other e-mail strings on this: http://www.google.com/search?q=SEVERE%3A+Error+filterStart wunder On 4/5/07 11:43 AM, "Chris Hostetter" <[EMAIL PROTECTED]> wrote: > > : SEVERE: Error filterStart > : Apr 5, 2007 10:11:

Post in JSON format?

2007-04-05 Thread Jack L
Hello solr-user, Query result in JSON format is really convenient, especially for Python clients. Is there any plan to allow posting in JSON format? -- Best regards, Jack

Re: Post in JSON format?

2007-04-05 Thread Ryan McKinley
Everything is in place to make it an easy task. A CSV update handler was recently committed, a JSON loader should be a relatively straightforward task. But, I don't think anyone is working on it yet... On 4/5/07, Jack L <[EMAIL PROTECTED]> wrote: Hello solr-user, Query result in JSON format

RE: C# API for Solr

2007-04-05 Thread Mike Austin
I would be very interested in this. Any idea on when this will be available? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, April 02, 2007 1:44 AM To: solr-user@lucene.apache.org Subject: Re: C# API for Solr Well, i think there will be a lot of

Re: C# API for Solr

2007-04-05 Thread Jeff Rodenburg
I'm working on it right now. The library is largely done, but I need to add some documentation and a few examples for usage. No promises, but I hope to have something available in the next few days. -- j On 4/5/07, Mike Austin <[EMAIL PROTECTED]> wrote: I would be very interested in this. An

Re: Post in JSON format?

2007-04-05 Thread James liu
aha, today i write handleJsonResponse,,,i think the same question, why not post json data. 2007/4/6, Ryan McKinley <[EMAIL PROTECTED]>: Everything is in place to make it an easy task. A CSV update handler was recently committed, a JSON loader should be a relatively straightforward task. But,