[ 
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-04-aa-removeIDFromListIndexes.diff

Attaching derby-590-04-aa-removeIDFromListIndexes.diff. This patch removes the 
ID column from the Lucene plugin's listIndexes() table function. Hopefully, 
this will fix the non-deterministic results we're seeing in the platform tests.

The listIndexes() table function makes up an index id for each Lucene index. 
However, the id assigned to a particular index really has no durable meaning 
and is completely arbitrary. I have removed this column from the table 
function. I will give some thought to how or whether we should assign ids to 
the indexes.


Touches the following files:

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

M       java/engine/org/apache/derby/impl/optional/lucene/LuceneSupport.java
M       
java/engine/org/apache/derby/impl/optional/lucene/LuceneListIndexesVTI.java

Remove the ID column.

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

M       
java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportPermsTest.java
M       
java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneSupportTest.java
M       
java/testing/org/apache/derbyTesting/functionTests/tests/lang/LuceneCollationTest.java

Adjust the tests.


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

Reply via email to