Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   Multiple keyword search, posted by Yoichi Aso on Wed Jan 14 19:52:04 2009 
    icon2.gif   Re: Multiple keyword search, posted by Johannes Liegl on Wed Aug 19 11:54:52 2009 
Message ID: 66518     Entry time: Wed Aug 19 11:54:52 2009     In reply to: 66151
Icon: Reply  Author: Johannes Liegl  Author Email: Johannes.Liegl@gefanuc.com 
Category: Question  OS: All  ELOG Version: 2.7.5 
Subject: Re: Multiple keyword search 

Yoichi Aso wrote:
Hi,
I have a question regarding how to perform a multiple-keyword search.
For example, when I want to find entries which contain two keywords "abc" and "def" in the body text but in an unknown order,
one way I came up with was to use a regular expression like this.
(abc|def).*(abc|def)
But this will also match entries containing two "abc" or two "def".
The following one will eliminate this problem.
(abc.*def)|(def.*abc)
But when I use more than two keywords, this type of regular expressions becomes very long (because I have to list all the permutations of the keywords) and it may not fit in the search text field (there seems to be a limit on the length of the search text).

Is there any way to allow multiple-keyword search easily ?
It would be nice if I can just enter two or more keywords separated by white spaces and elog finds entries containing all the keywords.

Thanks,
Yoichi


Dear Yoichi,

well we are facing the same problem and I would like to ask you if you have been able finding another method searching for keywords in documents?

I am looking forward to getting feedback. Thank you very much for your help in advance.

Best Regards
Johannes Liegl
ELOG V3.1.5-fe60aaf