Page 1 of 1

Built in Search Doesn't work

Posted: Thu Dec 21, 2006 4:35 pm
by tuttlen
I have designed my own templates to work with Dojo in an AJAX like way. The search will not find anything but news items, I am not sure if it di work before the template changes though.

Any ideas?

Re: Built in Search Doesn't work

Posted: Wed Dec 27, 2006 8:55 pm
by jonnywee
I had the same problem after changing my templates. For me it worked to put at least one readable word into the template (not a stop word). My template contained only divs and tags like {content} etc.

The indexer does not index content if the content's template could not be indexed. ThisĀ  is reasonable when the template is marked as non-indexable. But the check if a template could be indexed is wrong: it checks if there is at least one word in the index table for the template. A no-words template is therefore regarded as a could-not-index template.

Imho a no-words template is nice template design. So the above workaround downgrades your design. The solution should be in the indexer pipeline, where it checks if a template could be indexed.