Tomcat has a HTTP Post bug?

2007-12-17 Thread Jörg Kiegeland
As I read, that Tomcat would need to be configured to support international characters in a HTTP Get, I determined to use a HTTP Post instead. Testing our Solr integration worked with testcases using Jetty perfectly, however it turned out that HTTP Post in combination with a query containing

Re: Solr Tutorial Issue

2007-12-17 Thread Kirk Beers
Yousef Ourabi wrote: Use any text editor to open /etc/hosts. You'll probably have to either log in as root or use sudo since you probably won't have permissions. This is quickly drifting out of solr-land, so you might want to engage a more general linux community such as linuxquestions.org.

Re: retrieve lucene doc id

2007-12-17 Thread Yonik Seeley
On Dec 17, 2007 1:40 AM, Ben Incani [EMAIL PROTECTED] wrote: I have converted to using the Solr search interface and I am trying to retrieve documents from a list of search results (where previously I had used the doc id directly from the lucene query results) and the solr id I have got

RE: MultiCore problem

2007-12-17 Thread Owens, Martin
If you started with the example confit, make small changed till it stops working as expected. The problem was using consistency assumptions instead of looking at what the real url was. so I was using solr/select?core=core1 instead of solr/@core1/select simply because the multicore admin

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Yonik Seeley
On Dec 17, 2007 4:22 AM, Jörg Kiegeland [EMAIL PROTECTED] wrote: As I read, that Tomcat would need to be configured to support international characters in a HTTP Get, I determined to use a HTTP Post instead. Testing our Solr integration worked with testcases using Jetty perfectly, however it

Multiple Solr Webapps

2007-12-17 Thread Pierre-Yves LANDRON
Hello, I've got this dumb problem. I've tried to browse the mailing list archive, but there are way too much messages (btw, is there a way to fullsearch the archives ?)... I'm trying to deploy several solr instance on my linux server, following the solr wiki instruction : I've created TWO

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Jörg Kiegeland
When you use POST, you can and should specify the charset. If you are doing this, it should work. Where can I do this? Have you any example? I have a QueryRequest instance, a SolrQuery and a SolrServer instance and set the query by solrQuery.setQuery(query) where query is a String

Re: retrieve lucene doc id

2007-12-17 Thread Ryan McKinley
Yonik Seeley wrote: On Dec 17, 2007 1:40 AM, Ben Incani [EMAIL PROTECTED] wrote: I have converted to using the Solr search interface and I am trying to retrieve documents from a list of search results (where previously I had used the doc id directly from the lucene query results) and the solr

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Yonik Seeley
On Dec 17, 2007 11:04 AM, Jörg Kiegeland [EMAIL PROTECTED] wrote: When you use POST, you can and should specify the charset. If you are doing this, it should work. Where can I do this? Have you any example? I have a QueryRequest instance, a SolrQuery and a SolrServer instance and set

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Ken Krugler
On Dec 17, 2007 11:04 AM, Jörg Kiegeland [EMAIL PROTECTED] wrote: When you use POST, you can and should specify the charset. If you are doing this, it should work. Where can I do this? Have you any example? I have a QueryRequest instance, a SolrQuery and a SolrServer instance and set

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Ryan McKinley
It looks like SolrJ uses percent encoded UTF8 in the POST body for parameters, just as it does in the URL. Does anyone know if this double-encoding (percent encoding of UTF-8 bytes) is a standard for application/x-www-form-urlencoded? I don't believe it is. It is the way it is because it

Re: Recompiled Solr1.3~2007-12-13 Dies

2007-12-17 Thread Mike Klaas
Try 'ant clean' first. On 17-Dec-07, at 10:34 AM, Owens, Martin wrote: Hello, I've just been rolling in my highlighter changes to the 2007-12-13 build of Solr, but even though the whole thing compiles I'm getting the following odd error when I run a search: SEVERE:

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Yonik Seeley
On Dec 17, 2007 1:33 PM, Ryan McKinley [EMAIL PROTECTED] wrote: It looks like SolrJ uses percent encoded UTF8 in the POST body for parameters, just as it does in the URL. Does anyone know if this double-encoding (percent encoding of UTF-8 bytes) is a standard for

Multi-index searches

2007-12-17 Thread Kirk Beers
Hi, I am interested in using solr and I ran the tutorial but I was wondering if it supports multi-index searching ? Kirk

Re: Multi-index searches

2007-12-17 Thread Kirk Beers
Kirk Beers wrote: Hi, I am interested in using solr and I ran the tutorial but I was wondering if it supports multi-index searching ? Kirk Allow me to clear that up! I would like to have the documents of 2 indices returned at once. Does solr support that ? Or am will it only return the

Re: Multi-index searches

2007-12-17 Thread Ryan McKinley
Kirk Beers wrote: Kirk Beers wrote: Hi, I am interested in using solr and I ran the tutorial but I was wondering if it supports multi-index searching ? Kirk Allow me to clear that up! I would like to have the documents of 2 indices returned at once. Does solr support that ? Or am will it

Re: Issues with postOptimize

2007-12-17 Thread climbingrose
Make sure that the user running Solr has permission to execute snapshooter. Also, try ./snapshooter instead of snapshooter. Good luck. On Dec 18, 2007 10:57 AM, Sunny Bassan [EMAIL PROTECTED] wrote: I've set up solrconfig.xml to create a snap shot of an index after doing a optimize, but the

RE: Issues with postOptimize

2007-12-17 Thread Norskog, Lance
Also, the script itself has to be execute mode. Lance -Original Message- From: climbingrose [mailto:[EMAIL PROTECTED] Sent: Monday, December 17, 2007 4:38 PM To: solr-user@lucene.apache.org Subject: Re: Issues with postOptimize Make sure that the user running Solr has permission to

Re: does solr handle hierarchical facets?

2007-12-17 Thread George Everitt
On Dec 13, 2007, at 1:56 AM, Chris Hostetter wrote: ie, if this is your hierarchy... Products/ Products/Computers/ Products/Computers/Laptops Products/Computers/Desktops Products/Cases Products/Cases/Laptops Products/Cases/CellPhones Then this trick won't work (because

Re: does solr handle hierarchical facets?

2007-12-17 Thread Brendan Grainger
This approach works (I do a similar thing using solr), but you have to be careful as BooleanQuery.TooManyClauses exception can be thrown depending where you use the wild card. It should be fine in the case you described however. Anyway, there is a pretty interesting discussion about this