Help wanted Issue search#604
Merged
andrew merged 8 commits intoJun 2, 2016
Merged
Conversation
| settings index: { number_of_shards: 1, number_of_replicas: 0 } do | ||
| mapping do | ||
| indexes :full_title, :analyzer => 'snowball', :boost => 6 | ||
| indexes :exact_title, :index => :not_analyzed, :boost => 2 |
Contributor
There was a problem hiding this comment.
No need for the exact title on this, it's just a hack for priority in search based on exact matching
| end | ||
|
|
||
| def exact_title | ||
| full_title |
| indexes :github_repository_license | ||
|
|
||
| indexes :number | ||
| indexes :labels |
Contributor
There was a problem hiding this comment.
This should be indexes :labels, :analyzer => 'keyword'
|
Rather than hard coding to the "help wanted" label it'd be neat if the issue search could allow facets so you could search for "ham" to give all issues that mention ham in the title/description or "label:'help wanted'" to search for for issues tagged with that label. We could even do "repo:librariesio/libraries.io" to search within a given repo. |
Contributor
|
Merging this, making tweaks and hopefully deploying it tonight ✊ Thanks so much for working on this @royka! |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#471