FieldSelector support for Querydsl lucene
Bug #734703 reported by
Lassi Immonen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Lucene allows to pass FieldSelector class that can be used to select which fields are actually loaded from the disk. This needs to be passed as argument to Searcher.doc(int, FieldSelector).
To post a comment you must log in.
Maybe this could be supported via a parameter to the projection method :
query. list(FieldSelec tor)
Additionally this could also be supported via a list of fields to be loaded as Querydsl expressions :
query.list(prop1, prop2, prop3);
The second approach would support only the LOAD and NO_LOAD options