[fpc-pascal] How create a full text search with TChmWriter?
Marco van de Voort
marcov at stack.nl
Tue Feb 21 12:48:11 CET 2012
In our previous episode, Mattias Gaertner said:
> > I think you should set chmPrj.MakeSearchable := true; (where chmPrj:
> > TChmProject;).
> > At least I set it (with an ~1 year old lazarus+fpc and lhelp build) and
> > I can search for (complete) words in generated chm using lhelp.
> > (I think I do not set FullTextSearch to true though).
>
>
> TChmProject is just a wrapper that makes a few common things easy.
> It sets:
> Writer.FullTextSearch := MakeSearchable;
>
> I can not use TChmProject, because my HTML files are not on disk, only in
> memory.
fulltext search is overriden if there is nothing to write. IOW if indexing
found nothing (uppercase extensions maybe, \ vs / ?)
More information about the fpc-pascal
mailing list