[
https://issues.apache.org/jira/browse/CXF-5923?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14137186#comment-14137186
]
Sergey Beryozkin commented on CXF-5923:
---------------------------------------
Hi Andriy
Sorry for a long delay, I've got a chance to play with a demo today. It's a
very nice demo and having a nice form for uploading and searching PDFs is cool.
I guess it is quite complete and I can only suggest few minor possible
improvements to consider.
Right now, in order to open index.html one needs to go to the resources folder
and find it there; may be we should run the server in a war mode (mvn
jetty:run-war) and then we'd open "localhost:8080/catalog" from the browser and
would get a page displayed.
May be also rename "Open" action to "Download" - I guess it may actually
display PDF but I just got it downloaded to the local Downloads :-)
By the way, the search results are somewhat unexpected, looks like the metadata
are not checked. Only the content is checked. I typed "application/pdf" and I
got 2 files shown - next I typed "pdf" and I got a blanc response - confirming
that we probably use a "ct=sometext" queries. Next I typed "application/xxx"
and I still got 2 files returned - I guess this is Lucene specific, I was
expecting 0 files, but Lucene probably found a partial match, should be
configure the visitor optionally block partial matches ? This is minor though...
I also wonder if we should enhance the demo to have a file name added as a
metadata field, I typed "jaxrs" and no luck, then typed "jax-rs" - got the file
found whose name starts from "jaxrs"...
Overall it is a very nice demo, many thanks...
Cheers, Sergey
> 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)