OpenKM Content Search not returning results for some words.
PostPosted:Fri Dec 11, 2015 11:49 am
Hi,
We are using OpenKM v 6.2.5
Uploaded PDF files.
Configured to use WhiteSpaceAnalyzer - "hibernate.search.analyzer=org.apache.lucene.analysis.WhitespaceAnalyzer"
The text of the PDF file got successfully extracted to OKM_NODE_DOCUMENT.NDC_TEXT column.
When we search for "DEPARTMENT", it returns the document, but when we search for "Wednesday", it does not return the document.
But when we run below Query directly on the database we get the document.
SELECT * FROM OKM_NODE_DOCUMENT DC WHERE DC.NDC_TEXT LIKE '%Wednesday%'.
I am not understanding what is the problem with the search.
My requirement is that it should simply return the documents containing the text provided. Also I do not want to apply any boolean searches, just return if the provided snippet (The snippet can contain spaces, special characters) is present in the document.
Basically the search should work like the SELECT Query results.
Please help.
We are using OpenKM v 6.2.5
Uploaded PDF files.
Configured to use WhiteSpaceAnalyzer - "hibernate.search.analyzer=org.apache.lucene.analysis.WhitespaceAnalyzer"
The text of the PDF file got successfully extracted to OKM_NODE_DOCUMENT.NDC_TEXT column.
When we search for "DEPARTMENT", it returns the document, but when we search for "Wednesday", it does not return the document.
But when we run below Query directly on the database we get the document.
SELECT * FROM OKM_NODE_DOCUMENT DC WHERE DC.NDC_TEXT LIKE '%Wednesday%'.
I am not understanding what is the problem with the search.
My requirement is that it should simply return the documents containing the text provided. Also I do not want to apply any boolean searches, just return if the provided snippet (The snippet can contain spaces, special characters) is present in the document.
Basically the search should work like the SELECT Query results.
Please help.