Ticket #87 (closed defect: released)
query.cc:set_probabilistic returns NEW_QUERY when the query hasn't changed
| Reported by: | mdt | Owned by: | olly |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Omega | Version: | 0.9.6 |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | All | Blocking: |
Description
query.cc:set_probabilistic returns NEW_QUERY when the query hasn't changed. This occurs when a prefix term contains a period such as mime:application/vnd.ms-excel
Using $setmap{boolprefix,mime,T} the previous query value becomes: xP=Tapplication/vnd.ms-excel.
The previous query string is parsed on '.' producing two terms. The short-cut code returns NEW_QUERY preventing the user from being able to browse more then the first page of results
// short-cut: if the new query has fewer terms, it must be a new one
Attachments
Change History
Note: See
TracTickets for help on using
tickets.
