mirror of https://github.com/apache/lucene.git
whitespace cleanup only (re-indent) + adding myself as author
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@220171 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
c9e584847b
commit
3227a9dfb8
|
@ -28,7 +28,7 @@ import org.apache.lucene.search.Query;
|
||||||
/**
|
/**
|
||||||
* A QueryParser which constructs queries to search multiple fields.
|
* A QueryParser which constructs queries to search multiple fields.
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:kelvin@relevanz.com">Kelvin Tan</a>
|
* @author <a href="mailto:kelvin@relevanz.com">Kelvin Tan</a>, Daniel Naber
|
||||||
* @version $Revision$
|
* @version $Revision$
|
||||||
*/
|
*/
|
||||||
public class MultiFieldQueryParser extends QueryParser
|
public class MultiFieldQueryParser extends QueryParser
|
||||||
|
@ -189,8 +189,8 @@ public class MultiFieldQueryParser extends QueryParser
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>Parses a query which searches on the fields specified.
|
* Parses a query which searches on the fields specified.
|
||||||
* If x fields are specified, this effectively constructs:</p>
|
* If x fields are specified, this effectively constructs:
|
||||||
*
|
*
|
||||||
* <code>
|
* <code>
|
||||||
* (field1:query) (field2:query) (field3:query)...(fieldx:query)
|
* (field1:query) (field2:query) (field3:query)...(fieldx:query)
|
||||||
|
@ -220,7 +220,6 @@ public class MultiFieldQueryParser extends QueryParser
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
|
||||||
* Parses a query which searches on the fields specified.
|
* Parses a query which searches on the fields specified.
|
||||||
* <p>
|
* <p>
|
||||||
* If x fields are specified, this effectively constructs:
|
* If x fields are specified, this effectively constructs:
|
||||||
|
@ -253,7 +252,6 @@ public class MultiFieldQueryParser extends QueryParser
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
|
||||||
* Parses a query, searching on the fields specified.
|
* Parses a query, searching on the fields specified.
|
||||||
* Use this if you need to specify certain fields as required,
|
* Use this if you need to specify certain fields as required,
|
||||||
* and others as prohibited.
|
* and others as prohibited.
|
||||||
|
@ -312,7 +310,6 @@ public class MultiFieldQueryParser extends QueryParser
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
|
||||||
* Parses a query, searching on the fields specified.
|
* Parses a query, searching on the fields specified.
|
||||||
* Use this if you need to specify certain fields as required,
|
* Use this if you need to specify certain fields as required,
|
||||||
* and others as prohibited.
|
* and others as prohibited.
|
||||||
|
@ -369,4 +366,5 @@ public class MultiFieldQueryParser extends QueryParser
|
||||||
}
|
}
|
||||||
return bQuery;
|
return bQuery;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue