You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2014/04/01 03:27:16 UTC

[jira] [Updated] (DERBY-590) How to integrate Derby with Lucene API?

     [ https://issues.apache.org/jira/browse/DERBY-590?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rick Hillegas updated DERBY-590:
--------------------------------

    Attachment: derby-590-12-aa-newJar.diff

Attaching derby-590-12-aa-newJar.diff. This patch moves the Lucene plugin into a new jar file for optional tools.

This patch introduces a new jar file: derbyoptionaltools.jar. Right now, this just holds the Lucene plugin, but we may be able to move other optional tools into this jar file too.

I have not tested the release machinery, but a cursory glance at the release targets suggests that the new jar file will be automatically bundled into the derby distributions.

After applying this patch, you will want to make sure that your testing classpath includes the new jar file.


Touches the following files:

----------------

M       build.xml
M       tools/jar/extraDBMSclasses.properties

Move the Lucene plugin classes from derby.jar into derbyoptionaltools.jar.

----------------

M       java/tools/org/apache/derby/tools/sysinfo.java
M       java/tools/org/apache/derby/impl/tools/sysinfo/Main.java
M       java/engine/org/apache/derby/iapi/services/info/ProductGenusNames.java

Make sysinfo print out version information for derbyoptionaltools.jar.

----------------

M       java/testing/org/apache/derbyTesting/functionTests/tests/lang/luceneSupport.policy

Add a new grant block for derbyoptionaltools.jar to the policy file for LuceneSupportPermsTest. Move the lucene privileges from derby.jar to derbyoptionaltools.jar.


> 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: derby-590-01-ag-publicAccessToLuceneRoutines.diff, derby-590-01-ah-publicAccessToLuceneRoutines.diff, derby-590-01-am-publicAccessToLuceneRoutines.diff, derby-590-02-aa-cleanupFindbugsErrors.diff, derby-590-03-aa-removeTestingDiagnostic.diff, derby-590-04-aa-removeIDFromListIndexes.diff, derby-590-05-aa-accessDeclaredMembers.diff, derby-590-06-aa-suppressAccessChecks.diff, derby-590-07-aa-accessClassInPackage.sun.misc.diff, derby-590-08-aa-omitLuceneFlag.diff, derby-590-09-aa-localeSensitiveAnalysis.diff, derby-590-10-aa-fixLocaleTest.diff, derby-590-11-aa-moveCode.diff, derby-590-12-aa-newJar.diff, lucene_demo.diff, lucene_demo_2.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.2#6252)