Re: Partial Searches and Searches for Numerical Strings

Hussein Shafie <[email protected]> Mon, 21 Jul 2014 14:07:57 +0200
Newsgroups gmane.text.xml.xfc.general,gmane.editors.xxe.general
Message-ID <[email protected]>
On 07/21/2014 12:11 PM, Prakash Chandra wrote:
>
> We are generating the online help for our application using the
> ditaToWebHelp conversion specification of XMLMind. In the generated
> online help, a search for numerical strings does not return any result
> (please see the below screenshot).
>
> image006.png

Your are right. It seems that numbers are not indexed at all; only words 
are.

This seems to be a bug. If this is actually the case, we'll fix this bug 
in the next release of XMLmind XSL Utility, XMLmind XML Editor, XMLmind 
DITA Compiler, that is, all our applications which embed XMLmind Web 
Help Compiler (http://www.xmlmind.com/ditac/whc.shtml).



>
> Also, we have a requirement from our customers to implement partial
> searches in the help file. For example, if we search for *org*, the
> search results should include the strings *organ*, *organization*, etc.
>
> Seek your help to resolve these issues.

I'm sorry but there is no way to resolve this specific issue because 
"Search" simply does not work that way.

"Search" searches for *words*, not for *strings*.

For example, searching for "org" will return a result only if your 
document actually contains token "org". (token = string surrounded by 
space and/or punctuation.)

On the other hand, using a recent version of XMLmind Web Help Compiler, 
searching for "organization" will find pages containing "organization", 
"organizations", "organized", etc.

This feature is called full-text indexing and is implemented by all Web 
search engines. For example, googling "org" will not result in pages 
containing "organ", "organization", etc. Googling "organ" will result in 
pages containing "organ", "organs", etc, but not "org" or "organization".


--
XMLmind FO Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xfc-support