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

Make MUST a possible default in the query parser #27

Closed
fulmicoton opened this issue Sep 20, 2016 · 6 comments
Closed

Make MUST a possible default in the query parser #27

fulmicoton opened this issue Sep 20, 2016 · 6 comments
Milestone

Comments

@fulmicoton
Copy link
Collaborator

No description provided.

@fulmicoton
Copy link
Collaborator Author

Requires #57

@fulmicoton fulmicoton added this to the 0.2.0 milestone Nov 9, 2016
@manuel-woelker
Copy link
Contributor

manuel-woelker commented Jan 25, 2017

As far as I can tell this is resolved via QueryParser::set_conjunction_by_default()

Only the doc comment seems to be incomplete, cf.
https://github.com/tantivy-search/tantivy/blob/0.2.0/src/query/query_parser/query_parser.rs#L89

@fulmicoton
Copy link
Collaborator Author

You are correct. It was done as part of another ticket and I have forgotten to close this ticket.

@philippludwig
Copy link

The documentation in https://tantivy-search.github.io/tantivy/tantivy/query/struct.QueryParser.html needs to updated regarding this as well.

@philippludwig
Copy link

Furthermore, OR doesn't seem to work after you call this.

@fulmicoton
Copy link
Collaborator Author

@philippludwig AND and OR are not supported at all for the moment. See #246.

Only the [+-]?a is supported for the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants