[pmwiki-users] Re: search does not find text with markup

Karl Loncarek dh2mll at web.de
Wed Dec 21 01:29:16 CST 2005


"Patrick R. Michaud" <pmichaud at pobox.com> wrote in
news:20051220220828.GC22657 at host.pmichaud.com: 

> On Tue, Dec 20, 2005 at 09:18:28AM +0000, Karl Loncarek wrote:
>> my problem is quite simple:
>> 
>> When I search for e.g. "example"
>> then a wiki page that contains only: 
>> e''x''ample
>> 
>> is not found. Any way to achieve this easily (that markup is ignored,
>> when searching)?
>> 
>> any ideas?
> 
[...]
> 
> However, we could modify this somewhat -- we could save the entire
> rendered text, and we could strip the HTML tags from the excerpt.
> This could nicely resolve the problem described above, since the 
> excerpt would be searchable as well as the markup text.  It
> would also allow searches to easily display the text surrounding
> a found search term.  
> 
[...]
> 
> Still, these three downsides might be a good trade for the
> extra functionality we might get as a result.  Any opinions?
> 
> Pm
> 
Sound great, this would be the fastest approach and even when using an 
external searching engine (or a future cookbook recipe) this would be a 
good idea as the external search could normally not remove markup for 
searching.

-- 
Bye
Karl (aka Klonk)





More information about the pmwiki-users mailing list