Re: Java client library (SOLR-20 / SOLR-30)

2007-01-11 Thread Thorsten Scherler
On Sat, 2007-01-06 at 23:56 -0800, Ryan McKinley wrote: I just posted a solr client that does search and update to SOLR-20. With the addition of: \solr\client\ruby\solrb it seems appropriate to put this (or equivalent) in: \solr\client\java\solrj This version only depends on

Re: SQL UpdatePlugin?

2007-01-11 Thread Thorsten Scherler
On Wed, 2007-01-10 at 22:32 -0800, Ryan McKinley wrote: I'd like to be able to add/update documents from an SQL query. Perhaps: addFromSQL mode=add or replace fields connection=jdbc:mysql://localhost/nblmc?username=xxxpassword=xxx driver=com.mysql.jdbc.Driver

Re: SQL UpdatePlugin?

2007-01-11 Thread Yonik Seeley
On 1/11/07, Ryan McKinley [EMAIL PROTECTED] wrote: I'd like to be able to add/update documents from an SQL query. Me too... it's been on the todo list a long time. A lot of people have data in databases, and it's a shame to require code to index their data if it can be expressed in SQL. If it

Re: adding modes to the add command

2007-01-11 Thread Ryan McKinley
On 1/11/07, Erik Hatcher [EMAIL PROTECTED] wrote: On Jan 11, 2007, at 1:29 AM, Ryan McKinley wrote: mode=add or replace fields mode=add fields mode=add distinct fields The reason i ask is that i would like to frequently update a few fields without having to know anything about the other

Re: adding modes to the add command

2007-01-11 Thread J.J. Larrea
At 6:43 AM -0500 1/11/07, Erik Hatcher wrote: If all fields are stored, the implementation could simply pull them all into memory on the Solr side and add the document as if it had been sent entirely by the client. But, what happens when for un-stored fields? I'll observe that Luke has a

Re: adding modes to the add command

2007-01-11 Thread Yonik Seeley
On 1/11/07, J.J. Larrea [EMAIL PROTECTED] wrote: I'll observe that Luke has a Reconstruct and Edit function which displays the indexed values for each field for the selected Document when stored values aren't available... it iterates the entire inverted index and intersects each term position

Re: SQL UpdatePlugin?

2007-01-11 Thread Ryan McKinley
On 1/11/07, Yonik Seeley [EMAIL PROTECTED] wrote: On 1/11/07, Ryan McKinley [EMAIL PROTECTED] wrote: I'd like to be able to add/update documents from an SQL query. Me too... it's been on the todo list a long time. A lot of people have data in databases, and it's a shame to require code to

Re: SQL UpdatePlugin?

2007-01-11 Thread Yonik Seeley
On 1/11/07, Ryan McKinley [EMAIL PROTECTED] wrote: On 1/11/07, Yonik Seeley [EMAIL PROTECTED] wrote: On 1/11/07, Ryan McKinley [EMAIL PROTECTED] wrote: I'd like to be able to add/update documents from an SQL query. Me too... it's been on the todo list a long time. A lot of people have data

Re: SQL UpdatePlugin?

2007-01-11 Thread Chris Hostetter
this relates pretty much directly to a seperate ongoing thread about making the update mechanism more general to support differnet types of input streams then just XML... http://www.nabble.com/Re%3A-Handling-disparate-data-sources-in-Solr-tf2918621.html ...tackling an approach like that, with

[jira] Commented: (SOLR-99) Allow default sort order

2007-01-11 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-99?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464013 ] Hoss Man commented on SOLR-99: -- the problem with a default sort order (which ANSI SQL does wrong in my opinion) is that

Re: SQL UpdatePlugin?

2007-01-11 Thread Ryan McKinley
I have written a first pass of an SQLUpdateHandler based on this discussion. It is working well for simple cases and has not tried anything complex yet. For now, it extends SolrRequestHandler (not UpdateHandler) because the request plugin framework seems more stable. What is the best way to