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

Unified 755726 #660

Closed
wants to merge 7 commits into from
Closed

Unified 755726 #660

wants to merge 7 commits into from

Conversation

willkg
Copy link
Member

@willkg willkg commented Jun 18, 2012

Implements elasticsearch unified search results. Also adds a basic round of tests though they're pretty much copy-and-paste from the existing ES tests.

This could use some more work, but this is a good first pass.

r?

This fixes some bugs that I discovered when running the tests. The tests
are literlaly the existing ElasticViewTests with the esunified waffle
flag on.
This adds the same weights we use for Sphinx to the ES unified search
results view code.

We'll iterate on the numbers after analysis is done.
@willkg
Copy link
Member Author

willkg commented Jun 18, 2012

I added the weights in the last commit.

r?

# results--for every hit it gets back from ES, it creates an
# object of the type of the Django ORM model you passed in. We use
# object here to satisfy the need for a type in the constructor
# and make sure we don't ever ask for object results.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sneaky.

@rlr
Copy link
Contributor

rlr commented Jun 19, 2012

tests pass and I HAZ UNIFIED RESULTS. Let's get this shipped and move on to the next step, r+!

@willkg
Copy link
Member Author

willkg commented Jun 19, 2012

Landed in master in 7c44a23 and d7ad2f8

@willkg willkg closed this Jun 19, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants