Re: selective field updating

2006-04-10 Thread jason rutherglen
I think this could be done, and then an SQL styled update command could also be enabled. - Original Message From: Erik Hatcher <[EMAIL PROTECTED]> To: solr-user@lucene.apache.org Sent: Monday, April 10, 2006 1:52:04 PM Subject: selective field updating While I know the answer to this

Re: selective field updating

2006-04-10 Thread Chris Hostetter
: : While I know the answer to this when it comes to direct Lucene usage, : I'm curious if Solr could eventually get to the point of allowing : clever updating of a document such that the client could only pass a : specific field to add or update in an existing document and Solr : could do what it

selective field updating

2006-04-10 Thread Erik Hatcher
While I know the answer to this when it comes to direct Lucene usage, I'm curious if Solr could eventually get to the point of allowing clever updating of a document such that the client could only pass a specific field to add or update in an existing document and Solr could do what it take

Re: indexing from Java

2006-04-10 Thread Erik Hatcher
Now *that* is an interesting idea! It is similar to the approach I want to go with a Solr Ruby library, such that all the HTTP stuff is hidden behind a clean domain-specific language of sorts. Erik On Apr 10, 2006, at 4:10 PM, Chris Hostetter wrote: : Sure, I realize I could cr

Re: indexing from Java

2006-04-10 Thread Chris Hostetter
: Sure, I realize I could create the Lucene index myself, but like the : higher level abstraction that Solr is providing. Sorry, i guess i didn't explain myself very well. My point was that it should be possible to write a Java API which updated a Solr index (using SolrCore and all of the built

Re: indexing from Java

2006-04-10 Thread Erik Hatcher
Sure, I realize I could create the Lucene index myself, but like the higher level abstraction that Solr is providing. The disadvantage to creating the Lucene index myself or even with a Solr capability to take a Lucene Document is I'd lose the schema.xml goodness of things like and would h

Re: indexing from Java

2006-04-10 Thread Yonik Seeley
On 4/10/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: > : In looking at the code, it looks like it'd be difficult to do this > : without actually doing an HTTP POST. Or is there a clean way to > : leverage Solr's infrastructure without POSTing into it? I don't even > : need Solr running while in

Re: indexing from Java

2006-04-10 Thread Chris Hostetter
: In looking at the code, it looks like it'd be difficult to do this : without actually doing an HTTP POST. Or is there a clean way to : leverage Solr's infrastructure without POSTing into it? I don't even : need Solr running while indexing. Is this possible easily? If so : what API should I b

Re: indexing from Java

2006-04-10 Thread Yonik Seeley
On 4/10/06, Erik Hatcher <[EMAIL PROTECTED]> wrote: > I'm refactoring a command-line application that indexes RDF data to > index into Solr rather than directly into a Lucene index. > > In looking at the code, it looks like it'd be difficult to do this > without actually doing an HTTP POST. Or is

Re: Unique id field support in Solr

2006-04-10 Thread Yonik Seeley
On 4/10/06, Chris Hostetter <[EMAIL PROTECTED]> wrote: > > : Is there any way to explicitly add a record using Solr, such that the > : add will fail if a record already exists with the same value in the > : unique ID field (as specified by the schema's uniqueKey field)? > > I was going to say over

indexing from Java

2006-04-10 Thread Erik Hatcher
I'm refactoring a command-line application that indexes RDF data to index into Solr rather than directly into a Lucene index. In looking at the code, it looks like it'd be difficult to do this without actually doing an HTTP POST. Or is there a clean way to leverage Solr's infrastructure wi