Page 1 of 1

Highlighting complex queries

Posted: Tue Apr 09, 2002 11:41 am
by kzinda
We are executing complex queries such as:

('word1 word2 w/50' or wrd3 wrd4 w/sent) AND ('word5 word6 @0')

When we run the results through the higlighter, we often get highlights for such terms as word5 alone. How can we make the highlighter only highlight the terms as instructed by the boolean relationship, i.e. how texis marks a hit?

Highlighting complex queries

Posted: Tue Apr 09, 2002 12:13 pm
by mark
Since you've effectively thrown out proximity by using 'word5 word6 @0' (in terms of what to highlight anyhow) you can ignore proximity for everything and just highlight every term with 'word1 word2 wrd3 wrd4 word5 word6 @0'.

Otherwise you would have to run the text through %mb for each AND clause.