You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/02/11 18:53:12 UTC
[jira] [Resolved] (CAMEL-8288) Attach Lucene Documents to the
Results(Hits) if header contains RETURN_LUCENE_DOCS=true
[ https://issues.apache.org/jira/browse/CAMEL-8288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-8288.
--------------------------------
Resolution: Fixed
Added a little doc
> Attach Lucene Documents to the Results(Hits) if header contains RETURN_LUCENE_DOCS=true
> ---------------------------------------------------------------------------------------
>
> Key: CAMEL-8288
> URL: https://issues.apache.org/jira/browse/CAMEL-8288
> Project: Camel
> Issue Type: Improvement
> Components: camel-lucene
> Reporter: Kranti Parisa
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 2.15.0
>
>
> Current Hits result only contains the lucene docId, score and assuming there will be a field with the name "contents".
> This feature will allow specifying a new header value
> {code}
> .setHeader("RETURN_LUCENE_DOCS",constant("true"))
> {code}
> and return the actual lucene documents part of the Hits for further processing. This will allow us to retrieve any field from the actual lucene document.
> Both Lucene component and LuceneQueryProcessor should support this new header.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)