Re: How to run solr on command line ?

2007-05-18 Thread Chris Hostetter
: Ok..thanks, I have tried and It was working fine, but now I want to find out : how solr code working. how search works? how facets works ? Uh, well ... that's kind of a broad question. the most detailed answer i can give is "read the code" (that's the bueaty of open source). If you check out

Re: Notice: if u use php and get json style result from solr

2007-05-18 Thread Chris Hostetter
: > I don't see anything about it in RFC 4627 (which seems to be the most : > current JSON spec) so perhaps this is just a bug in the PHP json parser? : : : i try php with encode and decode. It works well although it has "@" : : so i don't think it is php's bug I odn't know jack about PHP, when y

Re: takes an hour

2007-05-18 Thread Yonik Seeley
On 5/18/07, Tom Hill <[EMAIL PROTECTED]> wrote: Hi - What happens if updates occur during the optimize? It blocks. There's been some work on the Lucene side to buffer up to maxBufferedDocs while merges are going on in the background. If optimization takes an hour on a really large index, how

Re: takes an hour

2007-05-18 Thread Yonik Seeley
On 5/18/07, Yonik Seeley <[EMAIL PROTECTED]> wrote: Once in a blue moon, the addition of a single document could possibly cause cascading merges, essentially the same as an optimize. One way to avoid this is to set a large mergeFactor... the downside being that you get more segments and have to

Re: takes an hour

2007-05-18 Thread Brian Whitman
On May 18, 2007, at 2:10 PM, Yonik Seeley wrote: What's your max heap set to? Might just want to verify that not too much time is spent in GC, which can happen when you are right at the brink. Ah.. I thought it was set to 1GB but in my upgrade to java 1.6 I guess I'm now just giving it the

Re: takes an hour

2007-05-18 Thread Tom Hill
Hi - What happens if updates occur during the optimize? Thanks, Tom

Re: takes an hour

2007-05-18 Thread Yonik Seeley
On 5/18/07, Brian Whitman <[EMAIL PROTECTED]> wrote: I have a largish solr store (2.4m documents with lots of stored text, 27GB data dir) and I ran optimize on it last night. The QTime was 3605096 ! (The commit took about a minute.) During the optimize the solr java process had 50% CPU and was u

takes an hour

2007-05-18 Thread Brian Whitman
I have a largish solr store (2.4m documents with lots of stored text, 27GB data dir) and I ran optimize on it last night. The QTime was 3605096 ! (The commit took about a minute.) During the optimize the solr java process had 50% CPU and was using all of its max heap size. (1GB) On a serve

Re: solr plugins

2007-05-18 Thread Yonik Seeley
On 5/17/07, John Wang <[EMAIL PROTECTED]> wrote: Is there a way to hook in loading and initialization of the index while writing a solr plugin? Do you mean a hook to do something when an IndexReader/Searcher is first opened on an index? If so, see newSearcher/firstSearcher hooks in solrconf

Re: How to run solr on command line ?

2007-05-18 Thread Laxmilal Menaria
Ok..thanks, I have tried and It was working fine, but now I want to find out how solr code working. how search works? how facets works ? --Laxmilal Menaria On 5/18/07, Nick Jenkin <[EMAIL PROTECTED]> wrote: Hi Laxmilal If you are running solr for the first time, I would suggest taking a look

Re: How to run solr on command line ?

2007-05-18 Thread Nick Jenkin
Hi Laxmilal If you are running solr for the first time, I would suggest taking a look at the example. The example is located in the "example" directory, this is a stand alone fully working version. so cd into the example directory, and type: java -jar start.jar You will need the java 1.5 runtim

How to run solr on command line ?

2007-05-18 Thread Laxmilal Menaria
Hello everyone, Have anyone knows how to run solr on command line ? -- Thanks in advance, Laxmilal menaria http://www.minalyzer.com/ http://www.chambal.com/