-
Details
Details
Diff Detail
Diff Detail
- Repository
- rINP In-Portal
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Need to think about what are pros/cons of each approach described as inline comment below.
core/kernel/db/cat_event_handler.php | ||
---|---|---|
1322–1325 ↗ | (On Diff #105) | NOTE: Same applies to changes in other file.
The $positive_words are basically all keywords, that don't have - (minus sign) in front of them. So the only case, when we won't have them is with search keyword like this: -"don't include me", which will find all records that don't include that text. What I'm unsure about is, what weight to use ($weight or $weight_sum), when we have 1 positive keyword. // cc: @dmitry |
core/kernel/db/cat_event_handler.php | ||
---|---|---|
1322–1325 ↗ | (On Diff #105) | @dmitry confirmed, that we:
|