Re: index problem with write lock

2007-05-24 Thread James liu
i find it always happen when index have been doing for a while. for example, it will happen after starting index 1 hour - 2hours. 2007/5/24, James liu [EMAIL PROTECTED]: i find one interesting thing. when i index data with 45 solr boxs.(data have 1700w, freebsd6, java:

Doubt in using synonyms.txt

2007-05-24 Thread Doss
Dear all, Is it advisable to maintain a large amount of data in synonyms.txt file? Thanks, Doss.

Difficulty posting unicode to solr index

2007-05-24 Thread Ethan Gruber
Hi, I am attempting to post some unicode XML documents to my solr index. They are encoded in UTF-8. When I attempt to query from the solr admin page, I'm basically getting gibberish garbage text in return. I decided to try a file that I know is supposed to work, which is the utf8-example.xml

RE: compile error with SOLR 69 MoreLikeThis patch

2007-05-24 Thread Andrew Nagy
That did the trick. However, now I am trying to apply the patch to a fresh copy of solr on another server. Whenever I do so, I get the following error from the patch command: patching file src/java/org/apache/solr/request/StandardRequestHandler.java Hunk #1 succeeded at 23 with fuzz 2 (offset

RE: compile error with SOLR 69 MoreLikeThis patch

2007-05-24 Thread Andrew Nagy
That's the problem, as I suspected. I was using a fresh copy of the 1.1.0. I want to use the MLT feature in my production environment, but I guess I will have to roll out the trunk version to my production server. Thanks! From: Brian Whitman [EMAIL

RE: compile error with SOLR 69 MoreLikeThis patch

2007-05-24 Thread Chris Hostetter
: That's the problem, as I suspected. I was using a fresh copy of the : 1.1.0. I want to use the MLT feature in my production environment, but : I guess I will have to roll out the trunk version to my production : server. if your goal is to use the MoreLikeThisHanler then you don't need the

RE: compile error with SOLR 69 MoreLikeThis patch

2007-05-24 Thread Andrew Nagy
Chris, thanks for the tip. I think I am okay with pushing the trunk to my production server. As we say around here, if you want to be on the bleeding edge, you have to be okay with bleeding every once in a while :) Thanks again Andrew From: Chris

Re: Doubt in using synonyms.txt

2007-05-24 Thread Yonik Seeley
On 5/24/07, Doss [EMAIL PROTECTED] wrote: Is it advisable to maintain a large amount of data in synonyms.txt file? It's read into an in-memory map, so the only real impact is increased RAM usage. There really shouldn't be a performance impact. -Yonik

Re: compile error with SOLR 69 MoreLikeThis patch

2007-05-24 Thread Erik Hatcher
Andrew, Nightlies are available here: http://people.apache.org/builds/lucene/ solr/nightly/ (a link exists on the wiki main page, for future reference). Erik On May 24, 2007, at 2:28 PM, Andrew Nagy wrote: While I am on this topic, I think it might be nice to have a nightly

Re: read only indexes?

2007-05-24 Thread Chris Hostetter
: Is there a good way to force an index to be read-only? : : I could configure a dummy handler to sit on top of /update and throw an : error, but i'd like a stronger assurance that nothing can call : UpdateHandler.addDoc() you mean you want a garuntee that no custom request handler (or Analyzer,

Re: read only indexes?

2007-05-24 Thread Ryan McKinley
Chris Hostetter wrote: or set the JVM's security manager to one that does not allow file writes to that directory (if you need other apps to be able to udpate the index) I'll look into that... thanks

RE: compile error with SOLR 69 MoreLikeThis patch

2007-05-24 Thread Andrew Nagy
duh++ Also, Where should I put the jar file for the patch? From: Erik Hatcher [EMAIL PROTECTED] Sent: Thursday, May 24, 2007 2:37 PM To: solr-user@lucene.apache.org Subject: Re: compile error with SOLR 69 MoreLikeThis patch Andrew, Nightlies are

Re: Difficulty posting unicode to solr index

2007-05-24 Thread Chris Hostetter
: error. They're using Macs and thus posting with post.sh, and I am running : Windows and posting with a post.jar file. Could post.jar not support : unicode? Has anyone run into this problem before? Which post.jar? (i recently committed a new version) post.jar does all of the things it

add and delete docs at same time

2007-05-24 Thread Patrick Givisiez
can I add and delete docs at same post? Some thing like this: myDocs.xml = add docfield name=mainId4/field/doc docfield name=mainId5/field/doc docfield name=mainId6/field/doc /add deleteid1/id/delete deleteid2/id/delete deleteid3/id/delete

Re: add and delete docs at same time

2007-05-24 Thread Ryan McKinley
currently no. Right now you even need a new request for each delete... Patrick Givisiez wrote: can I add and delete docs at same post? Some thing like this: myDocs.xml = add docfield name=mainId4/field/doc docfield name=mainId5/field/doc docfield

Re: add and delete docs at same time

2007-05-24 Thread Erik Hatcher
On May 24, 2007, at 3:47 PM, Ryan McKinley wrote: currently no. Right now you even need a new request for each delete... Unless you used delete-by-query with the id's OR'd deletequeryid:1 OR id:2 OR id:3/query/delete Patrick Givisiez wrote: can I add and delete docs at same

Re: index problem with write lock

2007-05-24 Thread James liu
2007/5/25, Chris Hostetter [EMAIL PROTECTED]: : when i index data with 45 solr boxs.(data have 1700w, freebsd6, java: : diablo-1.5.0_07-b01, tomcat6), write lock will happen in the procedure. 1) bug reports about errors are nearly useless without a real error message including a stack trace.

something i think important and should be added

2007-05-24 Thread James liu
multi layer: now solr's procedure: user query - solr instance - show results i think it maybe simple to some application maybe this procedure fit for: user query - Master solr query instance - single solr query instance - show results master solr query instance: it can define some global

Re: Difficulty posting unicode to solr index

2007-05-24 Thread James liu
how do u sure ur file is encoded by utf-8? 2007/5/24, Ethan Gruber [EMAIL PROTECTED]: Hi, I am attempting to post some unicode XML documents to my solr index. They are encoded in UTF-8. When I attempt to query from the solr admin page, I'm basically getting gibberish garbage text in return.

Re: index problem with write lock

2007-05-24 Thread Chris Hostetter
: i know how to fix it. : : but i just don't know why it happen. : : this solr error information: : : Exception during commit/optimize:java.io.IOException: Lock obtain timed : out: SimpleFSLock@/usr/solrapp/solr21/data/index/write.lock that's the problem you see ... but in normal SOlr