Re: Some problem with ShowFileRequestHandler

2008-03-06 Thread Edward Zhang
Oh,I am sorry, Ryan, I am afriad I made a mistake. It doesn't work yet.When I deploy the new war, it looks like before. I rewrite to "IOUtils.copy( content.getStream(), writer, "utf-8" )" and it works fine again!

ranking on Multivalued fields

2008-03-06 Thread Umar Shah
Hi, I have a problem where i want to rank multivalued fields suppose a multivalued field "category" having associated subfield "score". First Is it possible to have a subfield in the mutlivalued field? Second I want to get the documents ranked with the highest score say for the category:X thanks

Re: Some problem with ShowFileRequestHandler

2008-03-06 Thread Edward Zhang
It wroks, and a request with argument "&contentType=text/xml;charset=utf-8" required to show my CJK characters in my config file. Thanks, Ryan On 3/7/08, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > Thanks for pointing this out. > > In trunk, I changed the RawResponseWriter to use the Reader rat

What is default Date time format in Solr

2008-03-06 Thread Mahesh Udupa
Hi all, I heard Solr Date time format is 24 hours. But I have following query regarding Search time. In database I have a content with time as :- 2007-12-31 22:29:59 In oder to get this content I tried with following Range query:- emf.artist:[2007-12-31T22:20:00Z TO 2007-12-31T22:39:00Z] I a

Re: Question about facet.prefix usage

2008-03-06 Thread Ryan McKinley
steve berry wrote: Question: Is it possible to pass complex queries to facet.prefix? Example instead of facet.prefix:foo I want facet.prefix:foo OR facet.prefix:bar No (unless you want to write your own SimpleFacets subclass) The multivalued market_category fields are flattened relatio

Re: passing query string into SOLR

2008-03-06 Thread Ryan McKinley
Paul Treszczotko wrote: What I'm trying to do is to pass a query string as such: ?q=searchTerm&facet.field=navigator&facet=true&fq=navigator:"some text" right into SOLR without splitting each parameter from the query string and setting it with setParam() or setQuery(). And the questions I have:

Re: Some problem with ShowFileRequestHandler

2008-03-06 Thread Ryan McKinley
Thanks for pointing this out. In trunk, I changed the RawResponseWriter to use the Reader rather then the Stream -- this way, you should not have to specify the contentType to make it match the FileReader. Does this fix your issues? thanks ryan Edward Zhang wrote: > My workmate and me found a

Re: Composite key for uniqueKeyId

2008-03-06 Thread Norberto Meijome
On Thu, 6 Mar 2008 11:33:38 -0500 Jon Baer <[EMAIL PROTECTED]> wrote: > Im interested to know if composite keys are now possible or if there > is anything to copyField I can use to get composite keys working for > my doc ids? FWIW, we just do this @ doc generation time - grab several fields,

Re: Some problem with ShowFileRequestHandler

2008-03-06 Thread Edward Zhang
My workmate and me found a solution to this problem: it caused by org.apache.solr.request.RawResponseWriter. Solr required the config file encoded in UTF-8 by far. But when RawResponseWriter put the byte stream to writer, it doesn't notice the characters encoding.There may be some trouble when the

RE: Use of get instead of post may be causing some problems

2008-03-06 Thread Lance Norskog
I just switched to doing posts for queries. We have a bunch of filters etc. and Solr stopped working on tomcat. -Original Message- From: Benson Margulies [mailto:[EMAIL PROTECTED] Sent: Thursday, March 06, 2008 12:43 PM To: solr-user Subject: Use of get instead of post may be causing som

Re: Delete document

2008-03-06 Thread Otis Gospodnetic
Hi, Combine those id:XXX id:YYY's with an OR: id:XXX OR id:YYY . and post that for deletion. That should do it. Otis -- Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch - Original Message From: Feng Gao <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Tuesday, Ma

Re: run-ketty-run

2008-03-06 Thread Benson Margulies
Got it, thanks. On Thu, Mar 6, 2008 at 3:45 PM, Ryan McKinley <[EMAIL PROTECTED]> wrote: > Benson Margulies wrote: > > A helpful correspondent responded to a JIRA of mine suggesting > run-jetty-run > > to debug solr plugins from eclipse. > > > > Can someone provide a bit more detail? Do you link

Re: run-ketty-run

2008-03-06 Thread Ryan McKinley
Benson Margulies wrote: A helpful correspondent responded to a JIRA of mine suggesting run-jetty-run to debug solr plugins from eclipse. Can someone provide a bit more detail? Do you link your examples dir into your Eclipse project? Make a separate Eclipse project that points to the examples dir

run-ketty-run

2008-03-06 Thread Benson Margulies
A helpful correspondent responded to a JIRA of mine suggesting run-jetty-run to debug solr plugins from eclipse. Can someone provide a bit more detail? Do you link your examples dir into your Eclipse project? Make a separate Eclipse project that points to the examples dir?

Out of memory in analysis

2008-03-06 Thread Benson Margulies
I pasted a modest blob of text into the analysis debug slot on the admin app, and am rewarded with this, even with -Xmx1g. java.lang.OutOfMemoryError: Java heap space at java.util.ArrayList.ensureCapacity(ArrayList.java:169) at java.util.ArrayList.add(ArrayList.java:351) at

mixing solr date and magic date words

2008-03-06 Thread pakore
I would like to send this query to Solr: date:[2008-02-02T16:45:58Z-90DAY TO 2008-02-02T16:45:58Z-3DAY] the date is obtained from a document and i want to obtain the documents withing the range 3-90 days old from the given document. So what i do is obtain the document date and then try to execut

passing query string into SOLR

2008-03-06 Thread Paul Treszczotko
What I'm trying to do is to pass a query string as such: ?q=searchTerm&facet.field=navigator&facet=true&fq=navigator:"some text" right into SOLR without splitting each parameter from the query string and setting it with setParam() or setQuery(). And the questions I have: - is there a method to pa

Classpath management in the example

2008-03-06 Thread Benson Margulies
I am trying to add a directory and some jars to the classpath in the example, so I can test out some code while being able to modify it in eclipse. My results have me puzzled. I see that the example uses the jetty start.jar. I see only one start.config file in sight, the one inside start.jar. S

Composite key for uniqueKeyId

2008-03-06 Thread Jon Baer
Hi, Im interested to know if composite keys are now possible or if there is anything to copyField I can use to get composite keys working for my doc ids? Thanks. -snip- support for composite keys ... either with some explicit change to the `` declaration or perhaps just copyField with so

Highlighting Default Fields

2008-03-06 Thread Grant Ingersoll
Hi, The Solr Highlighting docs says the following when it comes to picking the default fields: A comma- or space- delimited list of fields to generate highlighted snippets for. If left blank, the fields highlighted for the StandardRequestHandler are the defaultSearchField (or the df param i

RE: passing params into SOLR

2008-03-06 Thread Paul Treszczotko
What I'm trying to do is to pass a query string as such: ?q=searchTerm&facet.field=navigator&facet=true&fq=navigator:"some text" right into SOLR without splitting each parameter from the query string and setting it with setParam() or setQuery(). And the questions I have: - is there a method to pa

Installing Solr into Apache Geronimo

2008-03-06 Thread Thomas G Lawless
I'm new to both Solr and Geronimo. When I attempt to install the Solr war into Geronimo, I get the following exception. Has anyone else seen this problem and overcome it? Deployment failed: Error parsing web.xml for . Show full details Error parsing web.xml for . org.apache.geronimo.common.Depl