Re: replication test problems

2006-10-31 Thread Bill Au
It looks like find running under zsh is the problem. In this case it does like the wildcard (*). I don't really know zsh so I will have to spend some time to investigate. Bill On 10/30/06, Yu-Hui Jin <[EMAIL PROTECTED]> wrote: Hi, Hoss, Thanks for the reply! For #2, I think I just need to s

Re: replication test problems

2006-10-31 Thread Chris Hostetter
: For #2, I think I just need to setup the passwordless SSH with empty : passphase. right? correct. : I tried to run the find command : find /home/yjin/apps/solr-nightly/example/solr/data/ -name snapshot.* -print : : directly on my box and it gave the same result: : zsh: no matches found: snapsho

Re: Spellchecker in Solr?

2006-10-31 Thread Chris Hostetter
: Has anybody successfully implemented a Lucene spellchecker within Solr? : If so, could you give details on how one would achieve this? There's really two ways to interpret that question ... 1) built a spell correction suggestion application powered by Solr, where you manually feed it the

Recommended Update Batch Size?

2006-10-31 Thread Walter Underwood
What is a good size for batching updates? My xml update docs are around 600-700 bytes each right now. wunder -- Walter Underwood Search Guru, Netflix

Re: Spellchecker in Solr?

2006-10-31 Thread Chris Hostetter
: I meant it would be a simpler implementation in Solr because you don't : have to deal with java or any Lucene API's. You just create a document : for each "correct" word. For example the word "lettuce" would have a : document: : : : lettuce : let : let ett ttu tuc uce : uce with copyField, good

Re: Recommended Update Batch Size?

2006-10-31 Thread Mike Klaas
On 10/31/06, Walter Underwood <[EMAIL PROTECTED]> wrote: What is a good size for batching updates? My xml update docs are around 600-700 bytes each right now. When I think of "batches" I think of documents sent before a , but it seems like you are talking about the number of documents sent in a

Re: Recommended Update Batch Size?

2006-10-31 Thread Yonik Seeley
On 10/31/06, Walter Underwood <[EMAIL PROTECTED]> wrote: What is a good size for batching updates? My xml update docs are around 600-700 bytes each right now. There are two types of batches... documents per request (I wouldn't go too big here) and documents added before a commit. Bigger batche

Re: Recommended Update Batch Size?

2006-10-31 Thread Walter Underwood
On 10/31/06 12:54 PM, "Mike Klaas" <[EMAIL PROTECTED]> wrote: > On 10/31/06, Walter Underwood <[EMAIL PROTECTED]> wrote: >> What is a good size for batching updates? My xml update docs are >> around 600-700 bytes each right now. > > When I think of "batches" I think of documents sent before a > ,

Re: downloaded wars can't deploy

2006-10-31 Thread netsql
My solution to get it to work, was this in Resin: solr/home java.lang.String /solr1 so it can find the config. thx, .V ps: (one day I might venture to replace the solr.client xml centric protocol w/ hessian)

Re: Recommended Update Batch Size?

2006-10-31 Thread Chris Hostetter
: Right, I meant per HTTP POST. I was wondering about parallel : update requests, so thanks for that info. --wunder FYI: the last time i looked into it, there really wasn't any benefit in sending multiple docs in a single /update POST request compared to using Keep-Alive. -Hoss

Admin page went down

2006-10-31 Thread Yu-Hui Jin
Hi, Solr folks, I kept the solr jetty server running on my box for a couple of days. Today I found I can no longer access the admin page. It gives the following error page: HTTP ERROR: 404 Not Found RequestURI=/solr/admin *Powered by Jetty:// * ---

Re: Admin page went down

2006-10-31 Thread Chris Hostetter
: However, I can still search and update indexes against the server without : any problem. Any idea what would go wrong with admin page? do any more details show up in your Jetty log files? -Hoss

Re: Admin page went down

2006-10-31 Thread Yu-Hui Jin
Hi Hoss, Here's all the logs printed on the screen after I started jetty solr server. I don't see anything suspicious. Is there any other logs that I should check? Thanks! integ-node-03456.sea3% java -jar start.jar java.net.BindException: Address already in use WARN: Not listening on monitor po

Re: Admin page went down

2006-10-31 Thread Chris Hostetter
: Here's all the logs printed on the screen after I started jetty solr server. : I don't see anything suspicious. Is there any other logs that I should : check? Thanks! you mentioned that you can still send updates and queries to Solr and those work ... but i don't see any mention of those in the

Re: Admin page went down

2006-10-31 Thread Yu-Hui Jin
Hi, Hoss, Sorry my bad, I have two boxes, one working as master the other slave. Both have this admin down problems. I tried to send a couple queries just now to the master box and they worked. But the logs I sent you is from the slave box's screen. (I have restarted the master after I found i

Re: Spellchecker in Solr?

2006-10-31 Thread Michael Imbeault
I had #1 in mind. Everything in my mainIndex is supposed to be correctly spelled, so I just want to use that as a source for spelling suggestions. I'd check for suggestions on low numbers of results (no results, or very few for a one word query). #2 would be even better but as you said, its a

Re: replication test problems

2006-10-31 Thread Yu-Hui Jin
I found that if I add single quotes to the pattern as below, it worked on the command line of my zsh env, so I'll try add the quotes in the snappuller script and test it again. find /home/yjin/apps/solr-nightly/example/solr/data/ -name 'snapshot.*' -print /home/yjin/apps/solr-nightly/example/solr

Re: replication test problems

2006-10-31 Thread Bill Au
It is definitely zsh related. I got the same error when I run the find command under zsh, but not with bash or ksh. I also found this: http://www.zsh.org/mla/users/2005/msg00295.html Obviously that won't work for bash or ksh. Bill On 10/31/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: : F

Re: replication test problems

2006-10-31 Thread Chris Hostetter
: I also found this: : http://www.zsh.org/mla/users/2005/msg00295.html : : Obviously that won't work for bash or ksh. interesting ... i allways assumed it worked because the shell wasn't evaluating the * when executed by ssh, i had no idea the the shell tries to expand it and leaves it alone if t

Re: replication test problems

2006-10-31 Thread Mike Klaas
On 10/31/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: Bill: what do you think about explicitly putting in the single quotes as Hui suggested? that should still work under bash and sh right? That should work in bash, at least. Backslash-escaping is also an option. The semantics of file glo