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 a method in the query class to set the default field to search. #137

Merged
merged 1 commit into from
Jul 4, 2015
Merged

Conversation

ColadaFF
Copy link
Collaborator

The only way to set a default field in the query is to add it in the query string, so the q() method would be wasted, so adding this method allow to specify the default field to search.

ColadaFF added a commit that referenced this pull request Jul 4, 2015
Added a method in the query class to set the default field to search.
This merge will let users using solr 5, because the <defaultSearchField> tag in the schema.xml is now deprecated.
@ColadaFF ColadaFF merged commit a27457d into lbdremy:master Jul 4, 2015
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.

2 participants