camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashwin Karpe (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CAMEL-1472) Lucene Component
Date Thu, 31 Dec 2009 07:55:40 GMT

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

Ashwin Karpe updated CAMEL-1472:
--------------------------------

    Attachment: camel-lucene20091231.zip
                camel-lucene-20091231.patch

Hi Claus, Willem & Hadrian,

Please find attached an updated patch and zip file (20091231) containing the recommended changes

      - Added a Producer with the ability to query Lucene using the URI convention
{code}
                from("direct:start").
                    setHeader("QUERY", constant("Seinfeld")).
                    to("lucene:searchIndex:query?analyzerRef=#whitespaceAnalyzer&indexDir=#whitespace&maxHits=20").
                    to("direct:next");
{code}
     - Modified the Producer to provide an ability to performs inserts using the URI convention
{code}
                from("direct:start").
                    to("lucene:stdQuotesIndex:insert?analyzerRef=#stdAnalyzer&indexDir=#std&srcDir=#load_dir").
                    to("mock:result");
{code}

I also changed the name of the Processor to search the Lucene Index from LuceneSearcher to
LuceneQueryProcessor. The LuceneSearcher now is a more focused class for performing the search
operation.

Please let me know if you have any questions or have further suggestions.

Cheers,

Ashwin...

P.S. Wish you all a happy new year (2010)...       

> Lucene Component
> ----------------
>
>                 Key: CAMEL-1472
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1472
>             Project: Apache Camel
>          Issue Type: New Feature
>            Reporter: Claus Ibsen
>            Assignee: Ashwin Karpe
>             Fix For: Future
>
>         Attachments: camel-lucene-20091227.patch, camel-lucene-20091231.patch, camel-lucene.zip,
camel-lucene20091231.zip
>
>
> We should add a new component for Apache Lucene integration

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message