Skip to content

Options for TermsFilter lookup #580

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

Merged
merged 2 commits into from
Apr 8, 2014
Merged

Options for TermsFilter lookup #580

merged 2 commits into from
Apr 8, 2014

Conversation

MrHash
Copy link
Contributor

@MrHash MrHash commented Apr 6, 2014

Refs #579

@coveralls
Copy link

Coverage Status

Coverage increased (+0.18%) when pulling ebf352a on MrHash:master into 408ec4c on ruflin:master.

@MrHash
Copy link
Contributor Author

MrHash commented Apr 7, 2014

I don't think the failing tests were because of my changes...

@@ -26,12 +26,29 @@ public function testLookup()

//use the terms lookup feature to query for some data
$termsFilter = new Terms();
$termsFilter->setLookup('lastName', $type2, 'led zeppelin', 'members');
$termsFilter->setLookup('lastName', $type2, 'led zeppelin', 'members', NULL);
Copy link
Owner

Choose a reason for hiding this comment

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

What happens if you don't add NULL here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I checked with another local test and it works.

@ruflin
Copy link
Owner

ruflin commented Apr 7, 2014

Yes, the failing is because of some issues with the newest ES version which we still have to look into.

@ruflin
Copy link
Owner

ruflin commented Apr 7, 2014

Ok, good to know. Canyou update the changes.txt file?

@MrHash
Copy link
Contributor Author

MrHash commented Apr 7, 2014

done.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.25%) when pulling 9acfb23 on MrHash:master into 408ec4c on ruflin:master.

ruflin added a commit that referenced this pull request Apr 8, 2014
Options for TermsFilter lookup
@ruflin ruflin merged commit b610d4f into ruflin:master Apr 8, 2014
@ruflin
Copy link
Owner

ruflin commented Apr 8, 2014

Thx. Merged.

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.

3 participants