Meaning of "max clauses 1024" error

2007-12-17 Thread Dave C .
Hello, I'm curious as to the meaning of a certain exception I am receiving. If i try a query such as "*", I get an exception which basically says there is a maximum of 1024 clauses for a BooleanQuery. However, if I enter "*:*" it matches all documents and returns them. Can someone explain to me

Re: retrieve lucene "doc id"

2007-12-17 Thread Norberto Meijome
On Mon, 17 Dec 2007 14:43:55 -0500 "Norskog, Lance" <[EMAIL PROTECTED]> wrote: > We are using MD5 to generate our IDs. MD5s are 128 bits creating a very > unique and very randomized number for the content. Nobody has ever > reported two different data sets that create the same MD5. yup, we use 2

RE: Solr replication

2007-12-17 Thread Dilip.TS
Hi, I understand that the Rsync is a Unix/Linux daemon thread which needs to be enable/run to achieve Solr Collection Distribution. Do we have any similar support for the Solr Collection Distribution in the Windows environment or Do we need to write equivalent commands (in the form of batch files)

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 he

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 L

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 e

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 th

Issues with postOptimize

2007-12-17 Thread Sunny Bassan
I've set up solrconfig.xml to create a snap shot of an index after doing a optimize, but the snap shot cannot be created because of permission issues. I've set permissions to the bin, data and log directories to read/write/execute for all users. Even with these settings I cannot seem to be able to

RE: Replication hooks - changing the index while the slave is running ...

2007-12-17 Thread Norskog, Lance
It works via two Unix file system tricks. 1) Files are not directly bound with with filenames, instead there is a layer of indirection called an 'inode'. So, multiple file and directory names point to the same physical file. The "." and ".." directory entries are implemented this way. 2) Physic

Re: Facets - What's a better term for non technical people?

2007-12-17 Thread George Everitt
I don't think you have to give the user a label other than the name of the facet field. The beauty of facets is that they are pretty intuitive. Manufacturer Microsoft (140) Logitech Inc. (128) Belkin (127) Rosewill (124) APEVIA (Aspire) (119) STARTECH (97) That said

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 TW

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Ken Krugler
It was perhaps not clear in my first mail, but in Jetty, HTTP-Post perfectly works, it does not work with Tomcat however. So the question is: Has Jetty a bug (that it works but it shouldn't) or has Tomcat a bug (that it conforms to some standard so that it is not allowed to work)? And has anyon

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 o

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 doc

RE: retrieve lucene "doc id"

2007-12-17 Thread Norskog, Lance
We are using MD5 to generate our IDs. MD5s are 128 bits creating a very unique and very randomized number for the content. Nobody has ever reported two different data sets that create the same MD5. We use the standard (some RFC) text representation of 32 hex characters. This has the advantage that

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: 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 application/x

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: java.lang.NoClassDefFo

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 w

Recompiled Solr1.3~2007-12-13 Dies

2007-12-17 Thread Owens, Martin
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: java.lang.NoClassDefFoundError: org/apache/solr/search/ScorePriorityQueue at org.apache.so

Need help setting up with Eclipse and Tomcat - looking for $consultant

2007-12-17 Thread Robert Douglass
Hi list, I was once a Java developer but have spent the past years working on the Drupal project (PHP). This means my Java skills have weakened a bit. In particular, I'm not sure how to go about getting the source code for solr into Eclipse and running it in a way that I can use the step thro

Re: Tomcat has a HTTP Post bug?

2007-12-17 Thread Jörg Kiegeland
It was perhaps not clear in my first mail, but in Jetty, HTTP-Post perfectly works, it does not work with Tomcat however. So the question is: Has Jetty a bug (that it works but it shouldn't) or has Tomcat a bug (that it conforms to some standard so that it is not allowed to work)? And has anyon

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

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 >

Re: Multiple Solr Webapps

2007-12-17 Thread Ryan McKinley
Pierre-Yves LANDRON wrote: 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 ?)... try: http://www.nabble.com/Solr-f14479.html I'm trying to deploy several solr instance on

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 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 cont

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 Koji Sekiguchi
Did you set Content-Type HTTP request header to application/x-www-form-urlencoded? Koji Jörg Kiegeland 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

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, howev

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: 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 c

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. -

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 in