PageRenderTime 20ms CodeModel.GetById 19ms app.highlight 0ms RepoModel.GetById 1ms app.codeStats 0ms

/trunk/src/org/getopt/luke/xmlQuery/CorePlusExtensionsParserFactory.java

http://luke.googlecode.com/
Java | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | d4c3e7907a1893d52d855e08e75a0b6a MD5 | raw file
 1package org.getopt.luke.xmlQuery;
 2
 3import org.apache.lucene.analysis.Analyzer;
 4import org.apache.lucene.queryparser.xml.CoreParser;
 5import org.apache.lucene.queryparser.xml.CorePlusExtensionsParser;
 6
 7public class CorePlusExtensionsParserFactory implements XmlQueryParserFactory{
 8
 9	@Override
10	public CoreParser createParser(String defaultField, Analyzer analyzer){
11		return new CorePlusExtensionsParser(defaultField,analyzer);
12	}
13}