WebSearch: prevent infinite synonyms lookup
|Reported by:||jblayloc||Owned by:|
The synonym getter in search_unit calls search_unit with the synonyms. This means that if you have a circumstance where getting the synonyms of a synonym transforms a synonym into the original term, you end up doing infinite recursion and blowing the stack.
So I added a flag to search_unit that lets calls to search_unit for synonyms not do synonym lookups.
Change History (3)
Changed 21 months ago by jblayloc
comment:1 Changed 21 months ago by jblayloc
- Status changed from new to in_merge
- Summary changed from 500 Internal Server Errors on Journal Lookup to [PATCH] 500 Internal Server Errors on Journal Lookup