Does Lucene QueryParser.parse(string) still work? If it is deprecated, what is the new syntax?
Query query = QueryParser.parse("Ophelia");
Thanks Tatyana
Does Lucene QueryParser.parse(string) still work? If it is deprecated, what is the new syntax?
Query query = QueryParser.parse("Ophelia");
Thanks Tatyana
Not sure of the exact API, but it's changed to an instance object. All QueryParsers are now instance objects.
var qp = new QueryParser(new StandardAnalyzer(),fields);
qp.Parse(inputString,fields);