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

Added syntax for single item specification. #6311

Closed

Conversation

alexksikes
Copy link
Contributor

Users are more likely to search for only one document than for multiple ones.
This commit extends the current syntax with 'id' and 'doc' for single item
search. Additionally, 'ids' and 'docs' now support a single value or a single
object respectively. For consitency with 'like_text', alternative syntax such
as 'like_doc', 'like_docs', 'like_id' and 'like_ids' are also possible.

Users are more likely to search for only one document than for multiple ones.
This commit extends the current syntax with 'id' and 'doc' for single item
search. Additionally, 'ids' and 'docs' now support a single value or a single
object respectively. For consitency with 'like_text', alternative syntax such
as 'like_doc', 'like_docs', 'like_id' and 'like_ids' are also possible.
@s1monw
Copy link
Contributor

s1monw commented Jun 26, 2014

I don't think we should really go the gazillion different ways to say X way. I'd rather only have one single way to say it. I mean what is wrong with having a docs list with only one value?

@s1monw s1monw removed the review label Jun 26, 2014
@clintongormley
Copy link

++ keep it simple

@clintongormley
Copy link

Hi @alexksikes

Where are you on this PR? Are you redoing it? Have you abandoned it? If so please close

@alexksikes
Copy link
Contributor Author

This will be part of a more advanced item specification syntax. Closing for now.

@alexksikes alexksikes closed this Aug 23, 2014
@clintongormley clintongormley changed the title More This Like Query: Added syntax for single item specification. More Like This Query: Added syntax for single item specification. Sep 11, 2014
@clintongormley clintongormley changed the title More Like This Query: Added syntax for single item specification. Added syntax for single item specification. Jun 7, 2015
@clintongormley clintongormley added :Search/Search Search-related issues that do not fall into other categories and removed :More Like This labels Feb 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement :Search/Search Search-related issues that do not fall into other categories v1.4.0.Beta1 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants