Пример #1
0
        private Query GetParsedQuery(string queryText)
        {
            var queryParser = new QueryParser(
                LuceneEngineBase.GetVersion(), "assunto", LuceneEngineBase.GetAnalyzer())
            {
                AllowLeadingWildcard = true
            };

            return(queryParser.Parse(queryText));
        }
Пример #2
0
 public static Analyzer GetAnalyzer()
 {
     return(new BrazilianAnalyzerCustom(LuceneEngineBase.GetVersion()));
 }