Parses a query which searches on the fields specified.

If x fields are specified, this effectively constructs:

            <code>
            (field1:query1) (field2:query2) (field3:query3)...(fieldx:queryx)
            </code>
            
if query parsing fails
if the length of the queries array differs from the length of the fields array

Namespace: Lucene.Net.QueryParsers
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
[ObsoleteAttribute("Use Parse(Version,String[],String[],Analyzer) instead")]
public static Query Parse(
	string[] queries,
	string[] fields,
	Analyzer analyzer
)
Visual Basic
<ObsoleteAttribute("Use Parse(Version,String[],String[],Analyzer) instead")> _
Public Shared Function Parse ( _
	queries As String(), _
	fields As String(), _
	analyzer As Analyzer _
) As Query
Visual C++
[ObsoleteAttribute(L"Use Parse(Version,String[],String[],Analyzer) instead")]
public:
static Query^ Parse(
	array<String^>^ queries, 
	array<String^>^ fields, 
	Analyzer^ analyzer
)

Parameters

queries
Type: array<System..::..String>[]()[][]
Queries strings to parse
fields
Type: array<System..::..String>[]()[][]
Fields to search on
analyzer
Type: Lucene.Net.Analysis..::..Analyzer
Analyzer to use

Return Value

[Missing <returns> documentation for "M:Lucene.Net.QueryParsers.MultiFieldQueryParser.Parse(System.String[],System.String[],Lucene.Net.Analysis.Analyzer)"]

See Also