lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sagarprasad <>
Subject Adding filter in custom query parser
Date Wed, 01 Oct 2014 07:27:13 GMT
I am new bee in SOLR and OpenNLP. I am trying to do a POC and want to write a
custom parser which can parse the query string using NLP and create an
appropriate SOLR query with filters.

For eg : "red shirt under 20$" should be translated to q=shirt&fq=price:[*
TO 20] and possibly apply color to one the attribute of doc index.

in parser overrided method, how can i add the filter and pass the query

Any help pointers / sample code  will be helpful.


View this message in context:
Sent from the Solr - User mailing list archive at

View raw message