This repository has been archived by the owner on Apr 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Full title match is better than split match #739
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
2d88fc1
Added a (failing) test describing the failure condition people are se…
leonardr b7f6683
Added a standalone test that runs in less time.
leonardr 209ee1c
Merge branch 'master' into full-title-match-is-better-than-split-match
leonardr 19eb047
This might work.
leonardr eb08061
Got a test that I'm more or less happy with.
leonardr 68f93d0
Got the tests working in the case where the tests are running on one …
leonardr e9eed6f
First attempt at configuring Elasticsearch within Travis.
leonardr 5e19ffb
When copying the Elasticsearch configuration, give it the right exten…
leonardr 88efecb
Fix, improve and document the test that explains how a search query o…
leonardr 40fefd6
Got the rest of the tests to pass.
leonardr 9627d5d
Separated out the v2 and v3 versions of the body.
leonardr 70ef075
Separated out the v2 and v3 versions of the body.
leonardr 4307f95
Changed from having separate configuration settings for index and ali…
leonardr fb2e040
Renamed the default works index to match the most common current value.
leonardr 5281775
Restored the classification query boost to its old value -- so long a…
leonardr 085cd97
Added missing migration script.
leonardr b76bdb7
Removed reference to problems that have been fixed.
leonardr c3eb29a
Restore old field weights -- tweaking them didn't result in any relev…
leonardr f41e44a
Restore boost as a float.
leonardr 6b57d68
Removed cosmetic change that clutters diff.
leonardr f712b1a
For now, always make the alias point to the index named after the cur…
leonardr File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Scores for search results are calculated on a per-shard basis. | ||
# Keeping everything in one shard while running unit testsensures that | ||
# we have complete control over how the scores are calculated. | ||
index.number_of_shards: 1 | ||
index.number_of_replicas: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env python | ||
"""Running the search index updater script will create the new | ||
circulation-works-v3 index and change the circulation-works-current | ||
alias to point to it. | ||
""" | ||
import os | ||
import sys | ||
bin_dir = os.path.split(__file__)[0] | ||
package_dir = os.path.join(bin_dir, "..") | ||
sys.path.append(os.path.abspath(package_dir)) | ||
from scripts import UpdateSearchIndexScript | ||
UpdateSearchIndexScript().run() |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the part that's different.