Skip to content

Instantly share code, notes, and snippets.

@JnBrymn
Last active October 11, 2018 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save JnBrymn/5482158 to your computer and use it in GitHub Desktop.
Save JnBrymn/5482158 to your computer and use it in GitHub Desktop.
public class WimpySwanQParserPlugin extends QParserPlugin {
@Override
public void init(NamedList args) {
//if you need it!
}
@Override
public QParser createParser(String qstr, SolrParams localParams,
SolrParams params, SolrQueryRequest req) {
return new WimpySwanQParser(qstr, localParams, params, req);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment