Apache OpenOffice (AOO) Bugzilla – Issue 53299
in online help search with 'complete words only' doesn't work
Last modified: 2013-02-07 21:54:19 UTC
Open online help, tab "Find" enter search term "base" and check "complete words only". In search results click on "Additional Settings". You find search results marked, which are not the single word "base" but have "base" as a part of it. In English this might be not a very great problem, because such words are seldom and you get only a few wrong results. In German it is bad, because we have a lot of compound words and so get a lot of wrong results.
Created attachment 28763 [details] screenshot of wrong search
ES->KLA: please have a look.
kla->ufi: seems to be yours
confirmed on english m122.
ABI->PB: The found document contains the word "base" in that form, so this is correct. However, the marking of the words in writer ignores the setting "complete words only". As discussed, to you...
pb -> os: please takeover, thx. xSearchable->findAll( "SearchWords"==true ) doesn't work correctly.
os->pb: The Writer can either search for regular expressions _or_ for complete words. In this case both flags are set and regular expression wins. I cannot see a reason for a 2.0.1 target. The same issue was in OOo 1.1. Changed target to OOo Later
confirmed. ufi confirmed on en-US m122.
Hmm, basic functionality accessible via UI doesn't work. This is P1 according to our rules... Seems that no one ever tried this button. Can we remove it?
Some experiments might help find out what happens: If you search for a string that is indexed as a word then "Complete words only" is not evaluated. If you search for a string that does not exist as a word then "Complete words only" works as expected. Try "base" or "link" --> also database or based / hyperlink or linked will be found no matter whether "Complete words only" is selected or not. Try to find "mple" which is part of the word complete, but not a word of its own, and the control works.
tracking via cc