Re: update index for user defined types

2013-01-29 Thread Ian Lea
Well, lucene is a java API so if you can make java calls from an Oracle stored procedure, maybe you can make it work. Sounds a terrible idea to me, but then using Oracle is, in my opinion, a terrible idea, as are stored procedures. How about using the stored procedure to set some "reindexthisreco

Re: update index for user defined types

2013-01-29 Thread solruser13
Hi we are using oracle stored procedure which accepts UDT ( java object ) and returns the results as UDT ( java object ). we want to use this SP to update the index. Does lucene allows updating index in such a scenario. we plan to use solr ( solr uses lucene library ) for building index and searc

Re: update index for user defined types

2013-01-29 Thread Ian Lea
Please try and phrase your question in terms of lucene. Oracle? What's that? User defined type? What's that? IndexWriter has various updateDocuments() methods. I usually give all docs in my indexes a unique id, supplied by me (primary key in database terminology) and use the method that "Update