Problems using Search in 2.5.1

41 views
Skip to first unread message

Jan-Michael

unread,
Aug 17, 2012, 3:30:46 AM8/17/12
to sventon...@googlegroups.com
Via Sventon I access a svn which contains documents (pdfs, docs, etc). I tested the search function in 2.1.6 and found that it is pretty usable for searching the svn for certain documents. Then I installed 2.5.1 and saw that the search seems to work completely differently and, in case of my usage, not understandable and usable.

Example:
the documents follow the syntax: <Module>_<document type>_<language>_<version>.<extension>, e.g. ABModul_User_ger_9.1-1.pdf

2.1.6:
Search for "ger*pdf": all german pdf-documents
Search for "ger*9*pdf: all german pdf-documents of version 9
any combinations produce an understandable result

2.5.1:
Search for "pdf": all pdf files
Search for "user_ger" or "user*ger": all german user-documents
Search for "user_ger_9: no result
Search for "user*ger*9": all german user-documents of version 9
Search for "ger*9*pdf" or "9*pdf": no result
Search for "user*pdf": no result
Search for "modul" or "*modul": no documents (just single directories with the exact name)

Does anybody know, whether there is any description how the search is exactly working in 2.5.1 (I didn't find a description in the Wiki.) or can explain the results above?
Is there any way to restore the previous search behaviour?

Thanks for the help

Jan-Michael

sventon project

unread,
Sep 1, 2012, 7:23:03 AM9/1/12
to sventon...@googlegroups.com
2012/8/17 Jan-Michael <jmreg...@gmx.de>:
Hi!

You are right, it does not work very well.
The filenames are currently split into tokens and stored in the Lucene index.
For example, ConfigDirectoryFactory.java will be tokenized into
"config", "directory", "factory" and "java",
which means you can find the file by searching for "config" but not
"conf" or "configdir".

We've been thinking about replacing it with a database backed cache instead.
However, currently all time is spent on different projects so we can't
promise anything.

Regards
Jesper



> Thanks for the help
>
> Jan-Michael
>
> --
> You received this message because you are subscribed to the Google Groups
> "sventon support" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/sventon-support/-/iIIYkIsLTwwJ.
> To post to this group, send email to sventon...@googlegroups.com.
> To unsubscribe from this group, send email to
> sventon-suppo...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sventon-support?hl=en.

Jan-Michael

unread,
Sep 3, 2012, 2:59:45 AM9/3/12
to sventon...@googlegroups.com
Hi,

thanks for the information.
Knowing that the file names are split into their parts helps me to apply the search better. It is actually quite usable for me. When I search, for example, for "user ger 9" I receive now a result.

Regards

Jan-Michael
Reply all
Reply to author
Forward
0 new messages