[
https://issues.apache.org/jira/browse/DERBY-590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13801296#comment-13801296
]
Andrew McIntyre commented on DERBY-590:
---------------------------------------
Looks like I grabbed some extra text when copying things over to my Apache
account. indexDatabase() was from an earlier experiment and can be ignored.
I've removed it from lucene_titles.sql.
for iii - I think SQL exceptions in case of missing / corrupted indexes will do
for now, as if another index were missing or corrupted. My original idea for
organizing the indexes was to keep the indexes in a per-db 'lucene' directory
at the same level as 'log' and 'seg0', then in subdirectories named
'schema_table_column,' so it would be obvious looking in the db's lucene
directory which columns were indexed. That's not what we have here, which is a
system-wide lucene directory instead of a per-db directory. I'll try to get a
per-db dir for the next patch, if I can pry the db directory out of the
monitor/store. With a per-db lucene dir, if the database directory is backed
up, the lucene indexes would be be backed up along with also. I also thought
about having a drop lucene index procedure, but figured for the moment leaving
that to the user/developer, since it involves deleting directories in the
filesystem
ii/iv - comments/javadoc/tests to come in the next patch. Main problem right
now is finding time, and scraping/generating a decently large set of test data
that is ok to reuse. The lucene project probably has some, though.
as for i - feel free to let me know any particulars, or you can wait for the
next patch. it will probably be a few days.
> How to integrate Derby with Lucene API?
> ---------------------------------------
>
> Key: DERBY-590
> URL: https://issues.apache.org/jira/browse/DERBY-590
> Project: Derby
> Issue Type: Improvement
> Components: Documentation, SQL
> Reporter: Abhijeet Mahesh
> Labels: derby_triage10_11
> Attachments: lucene_demo.diff
>
>
> In order to use derby with lucene API what should be the steps to be taken?
--
This message was sent by Atlassian JIRA
(v6.1#6144)