Ticket #350 (assigned enhancement)
Stopping wildcard expansion at some point
| Reported by: | asjo | Owned by: | olly |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.2.x |
| Component: | QueryParser | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Blocked By: | ||
| Operating System: | All | Blocking: |
Description (last modified by olly) (diff)
If there are many (many) terms with the same prefix and a wildcard search matching those is performed, the QueryParser tries to create a huge query, exhausting RAM even on reasonably sized machines (8GB).
Attached is a patch that makes it possible to ask the QueryParser to throw an exception if a wildcard expands to more than a configurable number of terms.
Some discussion on the mailinglist:
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

