Opened 14 years ago
Closed 14 years ago
#480 closed enhancement (fixed)
LuceneQueryBuilder improvements
Reported by: | fxp | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | v2.7.0 |
Component: | General | Version: | v2.6.3 |
Keywords: | Cc: |
Description
LuceneQueryBuilder is use to create a Lucene query from a LuceneQueryInput representing a search request.
Differences with previous implementation :
- all search criteria could have more than one value (AND operator is used)
- non tokenized field could use the " or " separator to create an OR query (eg. for keyword, use Global or biodiversity)
- all search criteria are take into account (not only the one declared in UserQueryInput)
- extra search fields are considered as text (and are analyzed according to Lucene index configuration)
It allows to add new search criteria without changing the Java source (like when using lucene.xsl) for key-value field search (not range query).
Compatibility : Client interface need to update digital/paper/interactive search parameters to use correct query. "on" is replace to "true". The new LQB does not have logic such as if digital=on&paper=on then search for all !
Change History (1)
comment:1 by , 14 years ago
Milestone: | Future release → v2.7.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Committed revision 7503.