Page 1 of 1

Config a Search Method

PostPosted:Fri Aug 09, 2013 9:56 am
by dethaksone
Hi,

First of all i would say thank you for your hard work to make OpenKM available to use for free.

I try to search for changing a way of search method from Full text Search to a Simple Search like search for a file name, can't find it on a Wiki, so i decide to create a topic here.

I uploaded document and name it as "Test" without quote (txt extension) then i try to search for it by typing "Test" in a search box but it can't find. Then i go to a http://demo.openkm.com and try to search for a file name, result is the same, it can't find for a file name but it display search keyword in content of a PDF file instead.

So i have 2 questions,

1. Can we config to make a search can look for a file name also?

2. Fulltext Search only work with PDF file type? i try with TXT file but it doesn't work?

Thanks in advance.

Re: Config a Search Method

PostPosted:Fri Aug 09, 2013 4:51 pm
by jllort
Is bad idea use special characters like doble quote, lucene tokenizer probably will remove it. Try search for *test*.

Simple search is only looking for content, in advanced mode can refine search as you wish.

Re: Config a Search Method

PostPosted:Mon Aug 12, 2013 9:25 am
by dethaksone
Please refer to my image
Parallels Picture.png
Parallels Picture.png (82 KiB) Viewed 3150 times
I name 3 file in a picture as Test then i want to look for a file name which is Test
Parallels Picture 1.png
Parallels Picture 1.png (62.51 KiB) Viewed 3150 times
And result show as picture, i want it to show me a file name Test but it showed me a file that contain Test instead.

So is there a way to make a file name search available.

Regards.

Re: Config a Search Method

PostPosted:Tue Aug 13, 2013 7:10 am
by jllort
For this kind of query should not be used simple search should be used advanced ( click advanced checkbox ) and fill only the name field with test*

Re: Config a Search Method

PostPosted:Tue Aug 13, 2013 8:54 am
by dethaksone
jllort wrote:For this kind of query should not be used simple search should be used advanced ( click advanced checkbox ) and fill only the name field with test*

Thank you for your reply, got it working now.

So a Simple Search will look for Full Text search only?

Re: Config a Search Method

PostPosted:Tue Aug 13, 2013 9:49 am
by jllort
Basically simple search looks for documents text contents.