On Mon, 27 Feb 2012, Alexander Wagner wrote: > It seems that Invenio is searching the exact terms (phrases) here.
It is actually doing Boolean word query matching. It does not find anything in the first case, because the word `theo' does not occur anywhere in the metadata; only the word `theor' occurs. As for the messages: | No exact match found for Prog., using Prog instead... they occur because the dot character is apparently not stripped away when looking for word term. The search engine could take advantage of CFG_BIBINDEX_CHARS_PUNCTUATION and friends and amend incoming word patterns accordingly. I'll ticketise this. > Given the Google-slit search here: wouldn't it probably be more to the > users expectations if "Prog Theo Phys Suppl" still doesn't yield > results to do a sub string search i.e. some automatic appended * > probably even further doing real sub string search if still no results > show up? Yes, this could be done. (Something similar is already being done for author name searches, e.g. searching for `Tim' finds `Timothy' in SPIRES search query mode.) We can generalise this behaviour as you suggest -- in case of no direct hit for a word term, append wild card to it -- and perhaps introduce a new CFG_WEBSEARCH variable that would govern this behaviour, or else reuse the `ap' (=alternative patterns) variable. I'll ticketise this. Best regards -- Tibor Simko

