Ruby writer - arrays for facet data?

2007-05-15 Thread Nigel McNie
Hi, I'm using solr to implement a faceted search interface. I found that I needed the ability to search for *:* so I could get the entire facet counts, so I upgraded solr from the latest stable to the latest nightly release. However, it seems that the ruby writer has changed, or something else in

Re: delete for multiple documents at once

2007-05-15 Thread Maximilian Hütter
Yonik Seeley schrieb: > On 5/11/07, Mike Klaas <[EMAIL PROTECTED]> wrote: >> On 11-May-07, at 9:43 AM, Maximilian Hütter wrote: >> > I'm trying to delete multiple documents at once, but it doesn't work. >> > >> > I am sending this: >> > >> > >> > >> > 1_3223_po_opc_2 >> > 1_2454_po_opc_4 >> > >>

Re: Documenting function queries [was Re: NumberFormat exception when trying to use recip function query]

2007-05-15 Thread Yonik Seeley
On 5/14/07, Mekin Maheshwari <[EMAIL PROTECTED]> wrote: > 2) eliminate the space inside the recip functions This solved it :) I think that issue is probably due to the dismax handler splitting up function queries on whitespace, and not the parsing of the individual function queries. We coul

Re: Ruby writer - arrays for facet data?

2007-05-15 Thread Yonik Seeley
On 5/15/07, Nigel McNie <[EMAIL PROTECTED]> wrote: I'm using solr to implement a faceted search interface. I found that I needed the ability to search for *:* so I could get the entire facet counts, so I upgraded solr from the latest stable to the latest nightly release. However, it seems that t

system architecture question when using solr/lucene

2007-05-15 Thread Ajanta
We are currently looking at large numbers of queries/sec and would like to optimize that as much as possible. The special need is that we would like to show specific results based on a specific field - territory field and depending on where in the world you're coming from we'd like to show you sp

update no work

2007-05-15 Thread Alessandro Ferrucci
I installed solr solr-2007-05-10.zip I ran example indexing and it indexes it fine. Search also works fine. Now when I go to delete the docs I do: curl http://localhost:8983/solr/update --data-binary 'SOLR1000' I get

Re: Question: Pagination with multi index box

2007-05-15 Thread Mike Klaas
On 14-May-07, at 10:05 PM, James liu wrote: 2007/5/15, Mike Klaas <[EMAIL PROTECTED]>: I'm not ignoring it: I'm implying that the above is the correct descending score-sorted order. You have to perform that sort manually. i mean merged results(from 60 p) and sort it, not solr's sort. ev

problem installing solr

2007-05-15 Thread Yosvanys Aponte Báez
This is the error: type Informe de Excepción mensaje descripción El servidor encontró un error interno () que hizo que no pudiera rellenar este requerimiento. excepción org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWra pper.ja

What does the name attribute of lst element in highlighting result mean?

2007-05-15 Thread Teruhiko Kurosaka
I am trying to understand the highlighting output example, the last one in this page: http://wiki.apache.org/solr/StandardRequestHandler It the example is showing the top level element of a set of higlighted results for a document is . What does this, SOLR1000, mean? Or rather, how does Solr c

RE: problem installing solr

2007-05-15 Thread Teruhiko Kurosaka
I've had this a few weeks ago. You are probably starting Tomcat from somewhere other than the Solr home. See "Simple Example Install" section of http://wiki.apache.org/solr/SolrTomcat There, tomcat is started from the Solr home by: ./apache-tomcat-5.5.20/bin/startup.sh If you do cd apache-tomca

Re: update no work

2007-05-15 Thread Brian Whitman
Add -H 'Content-type:text/xml; charset=utf-8' after the '' bit. On May 15, 2007, at 12:55 PM, Alessandro Ferrucci wrote: I installed solr solr-2007-05-10.zip I ran example indexing and it indexes it fine. Search a

Using Solr without using a web-app

2007-05-15 Thread bhecht
Hello all, I am using Lucene and hibernate search. I downloaded the Solr sources and found there some classes I want to use: 1) SynonymFilter 2) WordDelimiterFilter I have no use in Solr except for this at the moment. How can I use these classes without the need of using the configuration files

Re: Using Solr without using a web-app

2007-05-15 Thread Yonik Seeley
On 5/15/07, bhecht <[EMAIL PROTECTED]> wrote: I am using Lucene and hibernate search. I downloaded the Solr sources and found there some classes I want to use: 1) SynonymFilter 2) WordDelimiterFilter I have no use in Solr except for this at the moment. How can I use these classes without the ne

Re: Using Solr without using a web-app

2007-05-15 Thread bhecht
Thanks yonik. For some reason I thought it was much more complicated, but looking at the sources again I see its going to be an easy task. Thanks for the help. -- View this message in context: http://www.nabble.com/Using-Solr-without-using-a-web-app-tf3760714.html#a10630065 Sent from the Solr

Re: Using Solr without using a web-app

2007-05-15 Thread bhecht
Hi yonik again, When trying to do so, i discover that the function parseRules in SynonymFilterFactory is private, and I need to call this function when I want to populate the SynonymMap like here: parseRules(wlist, synMap, "=>", ",", ignoreCase,expand); any suggestions? bhecht wrote: > > Tha

Re: Using Solr without using a web-app

2007-05-15 Thread Yonik Seeley
On 5/15/07, bhecht <[EMAIL PROTECTED]> wrote: When trying to do so, i discover that the function parseRules in SynonymFilterFactory is private, and I need to call this function when I want to populate the SynonymMap like here: parseRules(wlist, synMap, "=>", ",", ignoreCase,expand); any suggest

Re: Using Solr without using a web-app

2007-05-15 Thread bhecht
OK, that was what I was trying to avoid, but for this cool functionality I will do so. Just cut and paste the factory classes and change the init functions, not to use the args[] parameter. What kind of copyright (if any) do I need to include in these 2 classes which I will cut and paste ? I just

RE: Requests per second/minute monitor?

2007-05-15 Thread Chris Hostetter
: Why does SolrCore.setResponseHeaderValues(...) set the QTime (and other : response header options) instead of having it as a function of the main reason was to ensure that that data would *always* be there no matter who wrote a request handler (or wether or not they subclassed the RequestHandle

RE: Null pointer exception

2007-05-15 Thread Chris Hostetter
: I decided to trash the whole installation and start again. I downloaded : last nights build and untarred it. Put the .war into : $TOMCAT_HOME/webapps. Copied the example/solr directory as : /var/www/html/solr. No JNDI file this time, just updated solrconfig to : read /var/www/html/solr as my dat

Re: What does the name attribute of lst element in highlighting result mean?

2007-05-15 Thread Chris Hostetter
: element? I see this is a value of either the id field or the sku field, : but neither field looks any special among other fields in : schema.xml. Neither field looks like a unique field. it is the "id" field, which is declared to be the uniqueKey field in the declaration... [EMAIL PRO

Re: Using Solr without using a web-app

2007-05-15 Thread Yonik Seeley
On 5/15/07, bhecht <[EMAIL PROTECTED]> wrote: OK, that was what I was trying to avoid, but for this cool functionality I will do so. Just cut and paste the factory classes and change the init functions, not to use the args[] parameter. What kind of copyright (if any) do I need to include in thes

Re: Using Solr without using a web-app

2007-05-15 Thread bhecht
Great, thanks for the patience and help. Good day. Yonik Seeley wrote: > > On 5/15/07, bhecht <[EMAIL PROTECTED]> wrote: >> OK, that was what I was trying to avoid, but for this cool functionality >> I >> will do so. >> Just cut and paste the factory classes and change the init functions, not

Re: Requests per second/minute monitor?

2007-05-15 Thread Mike Klaas
On 15-May-07, at 1:41 PM, Chris Hostetter wrote: : I'm happy to make the changes and supply a patch to move the logic as : well as adding a few simple metrics unless enough people on this thread : really feel that it's always better to do it with log files and : postmortem math. moving the

Re: Ruby writer - arrays for facet data?

2007-05-15 Thread Nigel McNie
Yonik Seeley wrote: > > ''' > The JSON response format for facets has changed to make it easier for > clients to retain sorted order. Use json.nl=map explicitly in clients > to get the old behavior, or add it as a default to the request handler > in solrconfig.xml > ''' Thanks for pointing that

Re: Ruby writer - arrays for facet data?

2007-05-15 Thread Yonik Seeley
On 5/15/07, Nigel McNie <[EMAIL PROTECTED]> wrote: Yonik Seeley wrote: > > ''' > The JSON response format for facets has changed to make it easier for > clients to retain sorted order. Use json.nl=map explicitly in clients > to get the old behavior, or add it as a default to the request handler