Opened 13 years ago
Closed 13 years ago
#901 closed enhancement (fixed)
Lucene score / Do not take into account user privileges in scoring
Reported by: | fxp | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | v2.7.0 |
Component: | General | Version: | |
Keywords: | Cc: |
Description
When doing search, scoring is based on all search criteria including privileges info (added internally). Making the same query while logged in or not, order of the results may differ due to user privileges (even if all records are public).
// Not logged query +(_op0:1 _op2:1 _op0:0 _op2:0) +_isTemplate:n // Logged in query +(_op0:3 _op2:3 _op0:2 _op2:2 _op0:1 _op2:1 _op0:0 _op2:0 _op0:-1 _op2:-1 _owner:1 _dummy:0) +_isTemplate:n
I suggest to set field boosting to 0 by default for those fields:
<fieldBoosting> <Field name="_op0" boost="0.0F"/> <Field name="_op1" boost="0.0F"/> <Field name="_op2" boost="0.0F"/> <Field name="_dummy" boost="0.0F"/> <Field name="_isTemplate" boost="0.0F"/> <Field name="_owner" boost="0.0F"/> </fieldBoosting>
Note:
See TracTickets
for help on using tickets.
Committed revision 9119.