Searched defs:parser (Results 1 - 25 of 74) sorted by relevance

123

/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/parser/
H A DSyntaxParser.java1 package org.apache.lucene.queryParser.core.parser;
24 * A parser needs to implement {@link SyntaxParser} interface
H A DEscapeQuerySyntax.java1 package org.apache.lucene.queryParser.core.parser;
23 * A parser needs to implement {@link EscapeQuerySyntax} to allow the QueryNode
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/
H A DCorePlusExtensionsParser.java35 * Construct an XML parser that uses a single instance QueryParser for handling
36 * UserQuery tags - all parse operations are synchronized on this parser
38 * @param parser A QueryParser which will be synchronized on during parse calls.
40 public CorePlusExtensionsParser(Analyzer analyzer, QueryParser parser) argument
42 this(null,analyzer, parser);
45 * Constructs an XML parser that creates a QueryParser for each UserQuery request.
54 private CorePlusExtensionsParser(String defaultField,Analyzer analyzer, QueryParser parser) argument
56 super(defaultField,analyzer, parser);
/lucene-3.6.0/solr/core/src/java/org/apache/solr/schema/
H A DSpatialQueryable.java33 public Query createSpatialQuery(QParser parser, SpatialOptions options); argument
H A DStrField.java49 public ValueSource getValueSource(SchemaField field, QParser parser) { argument
50 field.checkFieldCacheSource(parser);
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/
H A DUserInputQueryBuilder.java44 * @param parser thread un-safe query parser
46 public UserInputQueryBuilder(QueryParser parser) { argument
47 this.unSafeParser = parser;
64 //synchronize on unsafe parser
73 //Create new parser
74 QueryParser parser=createQueryParser(fieldName, analyzer);
75 q = parser.parse(text);
/lucene-3.6.0/lucene/core/src/java/org/apache/lucene/search/function/
H A DByteFieldSource.java45 private FieldCache.ByteParser parser; field in class:ByteFieldSource
48 * Create a cached byte field source with default string-to-byte parser.
55 * Create a cached byte field source with a specific string-to-byte parser.
57 public ByteFieldSource(String field, FieldCache.ByteParser parser) { argument
59 this.parser = parser;
71 final byte[] arr = cache.getBytes(reader, field, parser);
103 return this.parser==null ?
104 other.parser==null :
105 this.parser
[all...]
H A DFloatFieldSource.java45 private FieldCache.FloatParser parser; field in class:FloatFieldSource
48 * Create a cached float field source with default string-to-float parser.
55 * Create a cached float field source with a specific string-to-float parser.
57 public FloatFieldSource(String field, FieldCache.FloatParser parser) { argument
59 this.parser = parser;
71 final float[] arr = cache.getFloats(reader, field, parser);
98 return this.parser==null ?
99 other.parser==null :
100 this.parser
[all...]
H A DIntFieldSource.java45 private FieldCache.IntParser parser; field in class:IntFieldSource
48 * Create a cached int field source with default string-to-int parser.
55 * Create a cached int field source with a specific string-to-int parser.
57 public IntFieldSource(String field, FieldCache.IntParser parser) { argument
59 this.parser = parser;
71 final int[] arr = cache.getInts(reader, field, parser);
103 return this.parser==null ?
104 other.parser==null :
105 this.parser
[all...]
H A DShortFieldSource.java45 private FieldCache.ShortParser parser; field in class:ShortFieldSource
48 * Create a cached short field source with default string-to-short parser.
55 * Create a cached short field source with a specific string-to-short parser.
57 public ShortFieldSource(String field, FieldCache.ShortParser parser) { argument
59 this.parser = parser;
71 final short[] arr = cache.getShorts(reader, field, parser);
103 return this.parser==null ?
104 other.parser==null :
105 this.parser
[all...]
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/demohtml/
H A DParserThread.java23 HTMLParser parser; field in class:ParserThread
26 parser = p;
33 parser.HTMLDocument();
39 parser.pipeOut.close();
40 synchronized (parser) {
41 parser.summary.setLength(HTMLParser.SUMMARY_LENGTH);
42 parser.titleComplete = true;
43 parser.notifyAll();
/lucene-3.6.0/solr/core/src/java/org/apache/solr/handler/
H A DXMLLoader.java64 XMLStreamReader parser = null;
71 // determined by the XML parser, the content-type is only used as a hint!
77 parser = (charset == null) ?
79 this.processUpdate(req, processor, parser);
83 if (parser != null) parser.close();
89 void processUpdate(UpdateRequestProcessor processor, XMLStreamReader parser) throws TransformerConfigurationException, XMLStreamException, IOException, FactoryConfigurationError, InstantiationException, IllegalAccessException { argument
90 processUpdate(null, processor, parser);
96 void processUpdate(SolrQueryRequest req, UpdateRequestProcessor processor, XMLStreamReader parser) argument
104 int event = parser
211 processDelete(UpdateRequestProcessor processor, XMLStreamReader parser) argument
218 processDelete(SolrQueryRequest req, UpdateRequestProcessor processor, XMLStreamReader parser) argument
291 readDoc(XMLStreamReader parser) argument
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/search/function/
H A DByteFieldSource.java34 FieldCache.ByteParser parser; field in class:ByteFieldSource
40 public ByteFieldSource(String field, FieldCache.ByteParser parser) { argument
42 this.parser = parser;
52 final byte[] arr = (parser == null) ?
54 cache.getBytes(reader, field, parser);
105 && (this.parser == null ? other.parser == null :
106 this.parser.getClass() == other.parser
[all...]
H A DDoubleFieldSource.java35 protected FieldCache.DoubleParser parser; field in class:DoubleFieldSource
41 public DoubleFieldSource(String field, FieldCache.DoubleParser parser) { argument
43 this.parser = parser;
53 final double[] arr = (parser == null) ?
55 cache.getDoubles(reader, field, parser);
155 && (this.parser == null ? other.parser == null :
156 this.parser.getClass() == other.parser
[all...]
H A DFloatFieldSource.java36 protected FieldCache.FloatParser parser; field in class:FloatFieldSource
42 public FloatFieldSource(String field, FieldCache.FloatParser parser) { argument
44 this.parser = parser;
54 final float[] arr = (parser==null) ?
56 cache.getFloats(reader, field, parser);
95 && (this.parser==null ? other.parser==null :
96 this.parser.getClass() == other.parser
[all...]
H A DIntFieldSource.java35 FieldCache.IntParser parser; field in class:IntFieldSource
41 public IntFieldSource(String field, FieldCache.IntParser parser) { argument
43 this.parser = parser;
54 final int[] arr = (parser==null) ?
56 cache.getInts(reader, field, parser);
129 && (this.parser==null ? other.parser==null :
130 this.parser.getClass() == other.parser
[all...]
H A DShortFieldSource.java31 FieldCache.ShortParser parser; field in class:ShortFieldSource
37 public ShortFieldSource(String field, FieldCache.ShortParser parser) { argument
39 this.parser = parser;
49 final short[] arr = (parser == null) ?
51 cache.getShorts(reader, field, parser);
102 && (this.parser == null ? other.parser == null :
103 this.parser.getClass() == other.parser
[all...]
/lucene-3.6.0/solr/core/src/java/org/apache/solr/servlet/
H A DDirectSolrConnection.java57 final SolrRequestParsers parser; field in class:DirectSolrConnection
75 parser = new SolrRequestParsers( c.getSolrConfig() );
119 parser = new SolrRequestParsers( solrConfig );
179 req = parser.buildRequestFrom( core, params, streams );
/lucene-3.6.0/solr/core/src/test/org/apache/solr/servlet/
H A DSolrRequestParserTest.java51 parser = new SolrRequestParsers( h.getCore().getSolrConfig() );
54 static SolrRequestParsers parser; field in class:SolrRequestParserTest
58 parser = null;
75 SolrQueryRequest req = parser.buildRequestFrom( core, new MultiMapSolrParams( args ), streams );
83 req = parser.buildRequestFrom( core, new MultiMapSolrParams( args ), streams );
103 req = parser.buildRequestFrom( core, new MultiMapSolrParams( args ), streams );
135 SolrQueryRequest req = parser.buildRequestFrom( core, new MultiMapSolrParams( args ), streams );
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/standard/parser/
H A DParseException.java3 package org.apache.lucene.queryParser.standard.parser;
14 * parser.
23 * in the generated parser. Calling this constructor generates
84 * parser within which the parse error occurred. This array is
95 * from the parser), then this method is called during the printing
H A DToken.java3 package org.apache.lucene.queryParser.standard.parser;
/lucene-3.6.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/surround/parser/
H A DParseException.java3 package org.apache.lucene.queryParser.surround.parser;
9 * parser.
18 * in the generated parser. Calling this constructor generates
84 * parser within which the parse error occurred. This array is
95 * from the parser), then this method is called during the printing
H A DToken.java3 package org.apache.lucene.queryParser.surround.parser;
/lucene-3.6.0/solr/contrib/dataimporthandler-extras/src/java/org/apache/solr/handler/dataimport/
H A DTikaEntityProcessor.java22 import org.apache.tika.parser.AutoDetectParser;
23 import org.apache.tika.parser.ParseContext;
24 import org.apache.tika.parser.Parser;
64 private String parser; field in class:TikaEntityProcessor
65 static final String AUTO_PARSER = "org.apache.tika.parser.AutoDetectParser";
91 parser = context.getResolvedEntityAttribute("parser");
92 if(parser == null) {
93 parser = AUTO_PARSER;
121 if(parser
[all...]
/lucene-3.6.0/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/feeds/
H A DLongToEnglishQueryMaker.java37 protected QueryParser parser; field in class:LongToEnglishQueryMaker
48 return parser.parse("" + rnbf.format(getNextCounter()) + "");
60 parser = new QueryParser(Version.LUCENE_CURRENT, DocMaker.BODY_FIELD, anlzr);

Completed in 145 milliseconds

123