[
https://issues.apache.org/jira/browse/CXF-5923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14146423#comment-14146423
]
Andriy Redko commented on CXF-5923:
-----------------------------------
Hi Sergey,
Addressed your last comments about searching within metadata. The way Lucene
works is it searches by particular fields in the index. The demo searched by
'content' only but I have extended it to support the search by document name as
well. It turns out to be interesting use case: document names are keywords (not
tokenized) and are looked by exact match only. However, because we support the
wildcards queries, we can use * to do partial matches (f.e. '*jaxrs*'). The
example with 'jaxrs' query is just great: the term won't be found in the
content but is part of the document name, so it will match the search criteria
and appears in the search results right now.
Please let me know what do you think, we can add more metadata fields to match
against!
Thanks!
Best Regards,
Andriy Redko
> Create sample to demonstrate usage of search extension with Lucene and Tika
> ----------------------------------------------------------------------------
>
> Key: CXF-5923
> URL: https://issues.apache.org/jira/browse/CXF-5923
> Project: CXF
> Issue Type: New Feature
> Reporter: Andriy Redko
> Assignee: Andriy Redko
> Priority: Minor
>
> Add a demo project into 'distribution/.../samples/jax_rs/' to demonstrate
> usage of search extension with Lucene and Tika together.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)