Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search: index project tags #3698

Closed
wants to merge 2 commits into from
Closed

search: index project tags #3698

wants to merge 2 commits into from

Conversation

xrmx
Copy link
Contributor

@xrmx xrmx commented Feb 28, 2018

We have everything in place to index tags but we are not doing it. Do that and make them searchable from the ui. If the change is sound i'll add proper tests.

@humitos
Copy link
Member

humitos commented Feb 28, 2018

I'm linking this PR here since it could be interesting for you: #3373

Eric has been working on an upgrade of elasticsearch some time ago but he ran out of time and wasn't able to finish it yet.

@ericholscher
Copy link
Member

ericholscher commented Mar 1, 2018

Yea, there is a lot of background around ES with why we're not searching tags. Did you confirm that this works properly in a production instance @xrmx? If so, what version of Elastic Search?

@xrmx
Copy link
Contributor Author

xrmx commented Mar 1, 2018

@ericholscher i've tested this on my local installation with elastic search 1.5.2 from their docker image. I'll add some tests next week.

@RichardLitt RichardLitt added the PR: work in progress Pull request is not ready for full review label Mar 2, 2018
@xrmx
Copy link
Contributor Author

xrmx commented Mar 6, 2018

So i've taken a look at adding tests but I don't find any elastic search related tests :) I'll take a look at https://github.com/vrcmarcos/elasticmock and see if i can come up with something

@xrmx
Copy link
Contributor Author

xrmx commented Mar 7, 2018

Looks like I'm not able to mock Elasticsearch client :| Anyway updated the PR to index by tag slugs and not names.

@RichardLitt RichardLitt added PR: ready for review and removed PR: work in progress Pull request is not ready for full review labels Mar 7, 2018
@agjohnson agjohnson added Needed: tests Tests are required PR: work in progress Pull request is not ready for full review and removed PR: ready for review labels Jun 8, 2018
@agjohnson agjohnson added this to the Search improvements milestone Jun 8, 2018
@ericholscher
Copy link
Member

Going to close this. We can address the issue of supporting tags or not in #4267 -- but if we want to support it, this work should go into our GSOC search upgrades.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: tests Tests are required PR: work in progress Pull request is not ready for full review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants