According to Neil Kohl:
> I'm using htdig/3.1.5 on Solaris 7. 
> 
> We've got a collection of documents, some of which have entities in
> the <TITLE>; the title is returned in the search results. A tester
> noticed that the entities were being dropped in the search results
> listings for documents that had entities in the <TITLE>.
> 
> The config file for this instance of htdig didn't have any translate_*
> directives, so I added them. I still can't find a combination of
> translate_* settings that will cause the entites to appear correctly
> in the search results.
> 
> Here's what I've found:
> translate_amp: true/false and translate_lt_gt: true cause the entity
> to drop out.
> 
> translate_amp: true/false and translate_lt_gt: false cause &amp;lt;
> to appear in the HTML source of search results, with &lt; appearing
> in the browser.
> 
> Any insights or workarounds?

In 3.1.5, you should be able to safely set

translate_amp: true
translate_lt_gt: true
translate_quot: true

then reindex, and everything should work properly.  Did you reindex each
time after changing the translate_* attributes?  If not, they won't have
any effect, as they're only used by htdig, and not htsearch.  What do you
have between your <TITLE> and </TITLE> tags that is causing grief?  I can't
imagine what, other than a corrupt database, would cause some search
results to drop out like this.

You may also want to try the latest 3.1.6 development snapshot to see if
this solves the problem.  It includes some enhancements to the &lt;
translation, plus a number of other bug fixes.

    ftp://ftp.htdig.org/pub/htdig/snapshots/htdig-3.1.6-090301.tar.gz

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to