db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-590) How to integrate Derby with Lucene API?
Date Wed, 26 Mar 2014 17:00:19 GMT

     [ 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-05-aa-accessDeclaredMembers.diff

Attaching derby-590-05-aa-accessDeclaredMembers.diff. This patch attempts to fix two problems
observed in the platform tests:

1) On certain operating systems (including Linux variants), the following permission must
be granted both to the application (the test) and to the Lucene core jar in order to get LuceneSupportPermsTest
to run cleanly:

  permission java.lang.RuntimePermission "accessDeclaredMembers";

2) On Java 7 we are seeing errors when the test cases in LuceneSupportPermsTest run in an
unexpected order. The errors arise because a user schema does not exist yet. The fix is to
create a table in that schema in order to force schema creation. A longer-term fix will be
to figure out why Derby is demanding that a user schema exist. But this should fix the test
for the moment.

Touches the following files:

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


> 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, 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)

Mime
View raw message