AW: Problems with search

"Dr. Frank Hoffmann" <[email protected]>
Newsgroups gmane.comp.cms.zms.devel
Message-ID <CD1B0D607B6C40099FE74DAC9DB8BBE1@hal1>
There are no level limits, of course.
Last try:
Please use the following DTML method to delete residual attributes and
reindex again:
------------------
cleanObjAttrs
%<----------------
<html>
<body>
<dtml-with content>
 <dtml-let l="[this()]">
  <dtml-call "l.extend(getTreeNodes(REQUEST))">
  <dtml-in l>
  <dtml-let ob=sequence-item>
  <dtml-in "operator_getattr(ob,'__dict__').keys()" sort>
   <dtml-let key=sequence-item>
    <dtml-if "key in ['zcat_text_ger', 'oRoot', 'oRootNode', 'oParent',
'oCurrNode', 'bInRootTag', 'bInCData']">
     <dtml-call "operator_delattr(ob,key)">
     <dtml-var "ob.absolute_url()"> <dtml-var key><br/>
    </dtml-if>
   </dtml-let>
  </dtml-in>
  </dtml-let>
  </dtml-in>
 </dtml-let>
</dtml-with>
</body>
</html>
%<----------------
Add an new DTML method on template level, name it "cleanObjAttrs" and put
the code into the text field; after saving, click onto the "view" tab to
execute the method. Then do a ZMS-reindex and try your testing search again.

 
Good luck
fh
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.