Correction in link. QueryParser(Version matchVersion, String f, Analyzer a) <https://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/queryParser/QueryParser.html#QueryParser(org.apache.lucene.util.Version, java.lang.String, org.apache.lucene.analysis.Analyzer)>
On Mon, Jul 31, 2017 at 2:50 PM, krish mohan <krishmohan1...@gmail.com> wrote: > Hi > I'm using Lucene 4.10.4. QueryParser in LUCENE_30 forms phrase query > for input with special characers ($,/,-,...) > > For eg: > For input *google-chrome-stable*, query formed as "google chrome > stable". > > Using QueryParser(Version matchVersion, String f, Analyzer a) > <https://lucene.apache.org/core/3_0_3/api/core/org/apache/lucene/util/Version.html> > , > I pass the version as LUCENE_30 and achieved this behavior. > > But in Lucene 6.x this constructor is removed. Is there any way to > achieve this in Lucene 6.x ? >