Ticket #316 (assigned defect)
highlight shows ridiculous output
| Reported by: | anonymous | Owned by: | dbalmain |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | component1 | Version: | |
| Keywords: | Cc: |
Description (last modified by dbalmain) (diff)
i was using 10.9 for testing then i moved to 11.4 as i faced the segmentation bug while parsing the index which killed the mongrel frequently. But in 11.4 i find the highlight method return cockeyed excerpts when used on the index. If i have used 4 lettered word it return an excerpt with a four lettered word highlighted but its not the searched word.
Isn't it a bug which needs to be fixed?
Attachments
Change History
comment:1 Changed 3 years ago by dbalmain
- Owner changed from somebody to dbalmain
- Status changed from new to assigned
comment:2 Changed 3 years ago by anonymous
No I have built the index using 0.11.4. I will write a test script and put it here soon. The problem arises only when the length of the excerpt is more than 150.
comment:3 Changed 3 years ago by dbalmain
I need an example to be able to work on this problem. Is it possible to write up a test script to reproduce this error? At the very least, could you give an example field that you are trying to highlight and the query you are highlighting. That would be much appreciated.

There are some bugs in highlighting which I'm currently working on. However, I'm not sure that the problem you are complaining about has anything to do with these bugs. Are you using an index that you built with Ferret 0.10.9? If you upgraded from 0.10.9 to 0.11.4 then you will need to rebuild the index. If you are still experiencing the problem with an index build with 0.11.4, please try and build a test script to reproduce the problem.