Merge lp:~lifeless/launchpad/malone into lp:launchpad
Proposed by
Robert Collins
on 2010-07-21
| Status: | Merged | ||||
|---|---|---|---|---|---|
| Approved by: | Robert Collins on 2010-07-21 | ||||
| Approved revision: | no longer in the source branch. | ||||
| Merged at revision: | 11199 | ||||
| Proposed branch: | lp:~lifeless/launchpad/malone | ||||
| Merge into: | lp:launchpad | ||||
| Diff against target: |
296 lines (+91/-25) 9 files modified
lib/canonical/database/nl_search.py (+56/-7) lib/canonical/launchpad/doc/textsearching.txt (+18/-6) lib/lp/answers/doc/faqtarget.txt (+1/-0) lib/lp/answers/doc/questiontarget.txt (+5/-0) lib/lp/answers/stories/question-add-in-other-languages.txt (+0/-2) lib/lp/answers/stories/question-add.txt (+0/-3) lib/lp/bugs/doc/bugtask.txt (+8/-0) lib/lp/bugs/model/bugtask.py (+3/-4) lib/lp/bugs/stories/guided-filebug/xx-sorting-by-relevance.txt (+0/-3) |
||||
| To merge this branch: | bzr merge lp:~lifeless/launchpad/malone | ||||
| Related bugs: |
|
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Paul Hummer (community) | code | 2010-07-21 | Approve on 2010-07-21 |
|
Review via email:
|
|||
Commit Message
Avoid perfoming hundreds of thousands of comparisons as a prelude to actual searching - the fti index is the right place to perform relevance assessment.
Description of the Change
Do less work searching, so searching is faster. Faster searching -> less load -> less timeouts. We all win. Winning is good. Goodness is good.
To post a comment you must log in.

8 - extra_constrain ts_tables= None): ts_tables= None,
9 + extra_constrain
10 + fast_enabled=True):
11 + """Return the tsearch2 query that should be use to do a phrase search.
12 +
13 + The precise heuristics applied by this function will vary as we tune
14 + the system.
15 +
*used