camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (CAMEL-8605) Update Apache Lucene version to 5.0.0
Date Thu, 09 Apr 2015 19:17:12 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-8605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14488019#comment-14488019
] 

Andrea Cosentino edited comment on CAMEL-8605 at 4/9/15 7:16 PM:
-----------------------------------------------------------------

The components using Apache Lucene are 3:

- camel-lucene
- camel-solr (only test)
- camel-jcr

{code}
parent/pom.xml:      org.apache.lucene.*;version="${lucene-version-range}",
parent/pom.xml:        <groupId>org.apache.lucene</groupId>
parent/pom.xml:        <groupId>org.apache.lucene</groupId>
parent/pom.xml:        <groupId>org.apache.lucene</groupId>
components/camel-jcr/pom.xml:      <groupId>org.apache.lucene</groupId>
components/camel-solr/src/test/resources/solr/collection1/conf/schema.xml:      <analyzer
class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
components/camel-solr/src/test/resources/solr/collection1/conf/schema.xml:	    float ->
org.apache.lucene.analysis.payloads.FloatEncoder,
components/camel-solr/src/test/resources/solr/collection1/conf/schema.xml: <!-- <similarity
class="org.apache.lucene.search.DefaultSimilarity"/> -->
components/camel-solr/src/test/resources/solr/collection1/conf/solrconfig.xml:        <mergePolicy
class="org.apache.lucene.index.TieredMergePolicy">
components/camel-solr/src/test/resources/solr/collection1/conf/solrconfig.xml:       <mergeScheduler
class="org.apache.lucene.index.ConcurrentMergeScheduler"/>
components/camel-solr/src/test/resources/solr/collection1/conf/solrconfig.xml:         implement
org.apache.lucene.index.IndexDeletionPolicy.
components/camel-solr/src/test/resources/solr/collection1/conf/solrconfig.xml:           org.apache.lucene.search.spell.JaroWinklerDistance
components/camel-solr/src/test/resources/solr/conf/collection1/schema.xml:      <analyzer
class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
components/camel-solr/src/test/resources/solr/conf/collection1/schema.xml:	    float ->
org.apache.lucene.analysis.payloads.FloatEncoder,
components/camel-solr/src/test/resources/solr/conf/collection1/schema.xml: <!-- <similarity
class="org.apache.lucene.search.DefaultSimilarity"/> -->
components/camel-solr/src/test/resources/solr/conf/collection1/solrconfig.xml:        <mergePolicy
class="org.apache.lucene.index.TieredMergePolicy">
components/camel-solr/src/test/resources/solr/conf/collection1/solrconfig.xml:       <mergeScheduler
class="org.apache.lucene.index.ConcurrentMergeScheduler"/>
components/camel-solr/src/test/resources/solr/conf/collection1/solrconfig.xml:         implement
org.apache.lucene.index.IndexDeletionPolicy.
components/camel-solr/src/test/resources/solr/conf/collection1/solrconfig.xml:           org.apache.lucene.search.spell.JaroWinklerDistance
components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorTest.java:import
org.apache.lucene.analysis.core.WhitespaceAnalyzer;
components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorTest.java:import
org.apache.lucene.analysis.standard.StandardAnalyzer;
components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java:import
org.apache.lucene.analysis.core.SimpleAnalyzer;
components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java:import
org.apache.lucene.analysis.core.WhitespaceAnalyzer;
components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java:import
org.apache.lucene.analysis.standard.StandardAnalyzer;
components/camel-lucene/src/main/java/org/apache/camel/processor/lucene/LuceneQueryProcessor.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/processor/lucene/LuceneQueryProcessor.java:import
org.apache.lucene.search.IndexSearcher;
components/camel-lucene/src/main/java/org/apache/camel/processor/lucene/LuceneQueryProcessor.java:import
org.apache.lucene.util.Version;
components/camel-lucene/src/main/java/org/apache/camel/processor/lucene/support/Hit.java:import
org.apache.lucene.document.Document;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.document.Document;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.index.DirectoryReader;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.index.IndexReader;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.queryparser.classic.ParseException;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.queryparser.classic.QueryParser;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.search.IndexSearcher;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.search.Query;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.search.ScoreDoc;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.search.TopScoreDocCollector;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.store.NIOFSDirectory;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.util.Version;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.document.Document;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.document.Field;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.document.FieldType;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.index.IndexWriter;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.index.IndexWriterConfig;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.index.IndexWriterConfig.OpenMode;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.store.NIOFSDirectory;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.util.Version;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneQueryProducer.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneConfiguration.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneConfiguration.java:import
org.apache.lucene.analysis.standard.StandardAnalyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneConfiguration.java:import
org.apache.lucene.util.Version;
components/camel-lucene/pom.xml:			<groupId>org.apache.lucene</groupId>
components/camel-lucene/pom.xml:			<groupId>org.apache.lucene</groupId>
components/camel-lucene/pom.xml:			<groupId>org.apache.lucene</groupId>
{code}

So I was thinking to submit the PR with Lucene and Solr updated at the same time.

What do you think?


was (Author: ancosen):
The components using Apache Lucene are 3:

- camel-lucene
- camel-solr (only test)
- camel-jcr

{code}
parent/pom.xml:      org.apache.lucene.*;version="${lucene-version-range}",
parent/pom.xml:        <groupId>org.apache.lucene</groupId>
parent/pom.xml:        <groupId>org.apache.lucene</groupId>
parent/pom.xml:        <groupId>org.apache.lucene</groupId>
components/camel-jcr/pom.xml:      <groupId>org.apache.lucene</groupId>
components/camel-solr/src/test/resources/solr/collection1/conf/schema.xml:      <analyzer
class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
components/camel-solr/src/test/resources/solr/collection1/conf/schema.xml:	    float ->
org.apache.lucene.analysis.payloads.FloatEncoder,
components/camel-solr/src/test/resources/solr/collection1/conf/schema.xml: <!-- <similarity
class="org.apache.lucene.search.DefaultSimilarity"/> -->
components/camel-solr/src/test/resources/solr/collection1/conf/solrconfig.xml:        <mergePolicy
class="org.apache.lucene.index.TieredMergePolicy">
components/camel-solr/src/test/resources/solr/collection1/conf/solrconfig.xml:       <mergeScheduler
class="org.apache.lucene.index.ConcurrentMergeScheduler"/>
components/camel-solr/src/test/resources/solr/collection1/conf/solrconfig.xml:         implement
org.apache.lucene.index.IndexDeletionPolicy.
components/camel-solr/src/test/resources/solr/collection1/conf/solrconfig.xml:           org.apache.lucene.search.spell.JaroWinklerDistance
components/camel-solr/src/test/resources/solr/conf/collection1/schema.xml:      <analyzer
class="org.apache.lucene.analysis.el.GreekAnalyzer"/>
components/camel-solr/src/test/resources/solr/conf/collection1/schema.xml:	    float ->
org.apache.lucene.analysis.payloads.FloatEncoder,
components/camel-solr/src/test/resources/solr/conf/collection1/schema.xml: <!-- <similarity
class="org.apache.lucene.search.DefaultSimilarity"/> -->
components/camel-solr/src/test/resources/solr/conf/collection1/solrconfig.xml:        <mergePolicy
class="org.apache.lucene.index.TieredMergePolicy">
components/camel-solr/src/test/resources/solr/conf/collection1/solrconfig.xml:       <mergeScheduler
class="org.apache.lucene.index.ConcurrentMergeScheduler"/>
components/camel-solr/src/test/resources/solr/conf/collection1/solrconfig.xml:         implement
org.apache.lucene.index.IndexDeletionPolicy.
components/camel-solr/src/test/resources/solr/conf/collection1/solrconfig.xml:           org.apache.lucene.search.spell.JaroWinklerDistance
components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorTest.java:import
org.apache.lucene.analysis.core.WhitespaceAnalyzer;
components/camel-lucene/src/test/java/org/apache/camel/processor/lucene/LuceneQueryProcessorTest.java:import
org.apache.lucene.analysis.standard.StandardAnalyzer;
components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java:import
org.apache.lucene.analysis.core.SimpleAnalyzer;
components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java:import
org.apache.lucene.analysis.core.WhitespaceAnalyzer;
components/camel-lucene/src/test/java/org/apache/camel/component/lucene/LuceneIndexAndQueryProducerTest.java:import
org.apache.lucene.analysis.standard.StandardAnalyzer;
components/camel-lucene/src/main/java/org/apache/camel/processor/lucene/LuceneQueryProcessor.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/processor/lucene/LuceneQueryProcessor.java:import
org.apache.lucene.search.IndexSearcher;
components/camel-lucene/src/main/java/org/apache/camel/processor/lucene/LuceneQueryProcessor.java:import
org.apache.lucene.util.Version;
components/camel-lucene/src/main/java/org/apache/camel/processor/lucene/support/Hit.java:import
org.apache.lucene.document.Document;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.document.Document;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.index.DirectoryReader;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.index.IndexReader;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.queryparser.classic.ParseException;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.queryparser.classic.QueryParser;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.search.IndexSearcher;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.search.Query;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.search.ScoreDoc;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.search.TopScoreDocCollector;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.store.NIOFSDirectory;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneSearcher.java:import
org.apache.lucene.util.Version;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.document.Document;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.document.Field;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.document.FieldType;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.index.IndexWriter;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.index.IndexWriterConfig;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.index.IndexWriterConfig.OpenMode;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.store.NIOFSDirectory;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneIndexer.java:import
org.apache.lucene.util.Version;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneQueryProducer.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneConfiguration.java:import
org.apache.lucene.analysis.Analyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneConfiguration.java:import
org.apache.lucene.analysis.standard.StandardAnalyzer;
components/camel-lucene/src/main/java/org/apache/camel/component/lucene/LuceneConfiguration.java:import
org.apache.lucene.util.Version;
components/camel-lucene/pom.xml:			<groupId>org.apache.lucene</groupId>
components/camel-lucene/pom.xml:			<groupId>org.apache.lucene</groupId>
components/camel-lucene/pom.xml:			<groupId>org.apache.lucene</groupId>
{code}

So I was thinking to submit the PR as is and update Apache Solr in another JIRA ticket.

What do you think?

> Update Apache Lucene version to 5.0.0
> -------------------------------------
>
>                 Key: CAMEL-8605
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8605
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-lucene
>            Reporter: Andrea Cosentino
>            Priority: Minor
>              Labels: camel-lucene, lucene
>             Fix For: 2.16.0
>
>
> We need to update Apache Lucene version from 4.10.3 to 5.0.0. 
> There are only little changes to do on the component code.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message