waitFlush and waitSearcher

2007-04-21 Thread Koji Sekiguchi
Hello, I'm investigating procedures in Solr when Solr gets commit/optimize command for my customer. I think I can understand the role of waitSearcher flag, but I cannot understand waitFlush flag. Solr wiki says: waitFlush = "true" | "false" ― default is true ― block until index changes are flush

Re: Snapshooting or replicating recently indexed data

2007-04-21 Thread Kevin Lewandowski
snapshooter does create incremental builds of the index. It doesn't appear so if you look at the contents because the existing files are hard links. But it is incremental. On 4/20/07, Doss <[EMAIL PROTECTED]> wrote: Hi Yonik, Thanks for your quick response, my question is this, can we take incr

Re: Multiple Solr Cores

2007-04-21 Thread Jeff Kavanagh
You might want to have a look at this patch in case it breaks stuff for us On 4/20/07, Henrib <[EMAIL PROTECTED]> wrote: Updated (forgot the patch for Servlet). http://www.nabble.com/file/7996/solr-trunk-src.patch solr-trunk-src.patch The change should still be compatible with the trunk it is

Re: Multiple Solr Cores

2007-04-21 Thread Jeff Kavanagh
Sorry everybody, please ignore my last message. Gmail protects from accidental reply-alls, but not replies to mailing lists :). (Thanks to the developers for all the fantastic work on Solr, btw. Saving us a tonne of work.) -Jeff On 4/21/07, Jeff Kavanagh <[EMAIL PROTECTED]> wrote: You might w

Re: waitFlush and waitSearcher

2007-04-21 Thread Yonik Seeley
On 4/21/07, Koji Sekiguchi <[EMAIL PROTECTED]> wrote: In other words, I cannot see any difference between: and Yes, it looks like there is no difference... the code to make commit totally asynchronous was never put in (so you can't really get commit to return instantly, it will always wait un

snapshooter on OS X

2007-04-21 Thread Grant Ingersoll
Has anyone run the distribution scripts successfully on OS X? If so, what did you have to change, if anything, to get them to work? I'm getting a couple of issues in snapshooter: 1. The line . ${solr_root}/bin/scripts-util fails saying command not found. This is presumably because solr_roo

solr java client code and XML schema

2007-04-21 Thread Ge, Yao \(Y.\)
Looks like there is no publish java client for solr - what a surprise. I would assume it would be very useful for integrating solr into existing apps. Anyone has done parsing standard XML response to Java Objects? I would like to create some strong typed object hierarchy instead bunch of Collectio

Re: solr java client code and XML schema

2007-04-21 Thread Yonik Seeley
On 4/21/07, Ge, Yao (Y.) <[EMAIL PROTECTED]> wrote: Looks like there is no publish java client for solr - what a surprise. I would assume it would be very useful for integrating solr into existing apps. The leading candidate is https://issues.apache.org/jira/browse/SOLR-20 Feedback is welcome..

Re: [acts_as_solr] Few question on usage

2007-04-21 Thread Erik Hatcher
On Apr 20, 2007, at 2:30 PM, solruser wrote: For pure Ruby access to Solr without a database, use solr-ruby. The 0.01 gem is available as "gem install solr-ruby", but if you can I'd recommend you tinker with the trunk codebase too. Well I say, considering use of solr with rails application.

Re: [acts_as_solr] Few question on usage

2007-04-21 Thread Erik Hatcher
On Apr 21, 2007, at 9:42 PM, Erik Hatcher wrote: source = DataSource.new mapping = { :id => :isbn, :name => :author, :source => "BOOKS", :year => Proc.new {|record| record.date[0,4] }, } Solr::Indexer.index(source, mapper) do |orig_data, solr_document| solr_document[:timestamp] = Tim

Re: mainIndex and indexDefaults

2007-04-21 Thread Chris Hostetter
: Does this mean one of them is going to be deprecated or does it also : allow for the future case of Solr supporting named indexes per : application? i'm guessing work to support multiple indexes will probably move in the direction of each index having it's own solrconfig (i believe the current