Adding weights and improving search ranking#41
Conversation
6e02889 to
d59852a
Compare
|
Normalization: The below found here, outlines the normalization options.
4 | 1 is currently in use. 4: weighs the record higher if the words in the search term occur closer together in the record. for instance if "climate" and "change" occur right after each other as opposed to at opposite ends of the document. 1: weighs the record lower if the document is longer. the log ensures the penalization is lessened. |
|
Testing: The list of options from which combinations will be generated are as follows: The search term will be fixed. Search terms in title no harmonic distance. Short length abstract. (50 words) No/Low harmonic distance of search terms in abstract. Many instances of search terms in abstract. (6 instances) Keywords with all search terms. |
d59852a to
776837d
Compare
776837d to
37cd3cd
Compare
Fix and improve ranking at search:
during search the query was not treating 'full_text' and 'query' as columns, but rather as values.
Normalisation - current normalisation is set to 4 | 1 but will be investigated.
Fixes #9