Lucene.Net  3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Pages
Public Member Functions | List of all members
Lucene.Net.Documents.MapFieldSelector Class Reference

A FieldSelector based on a Map of field names to FieldSelectorResults More...

Inherits Lucene.Net.Documents.FieldSelector.

Public Member Functions

 MapFieldSelector (IDictionary< string, FieldSelectorResult > fieldSelections)
 Create a a MapFieldSelector
 
 MapFieldSelector (IList< string > fields)
 Create a a MapFieldSelector
 
 MapFieldSelector (params System.String[] fields)
 Create a a MapFieldSelector
 
virtual FieldSelectorResult Accept (System.String field)
 Load field according to its associated value in fieldSelections
 

Detailed Description

A FieldSelector based on a Map of field names to FieldSelectorResults

Definition at line 27 of file MapFieldSelector.cs.

Constructor & Destructor Documentation

Lucene.Net.Documents.MapFieldSelector.MapFieldSelector ( IDictionary< string, FieldSelectorResult fieldSelections)

Create a a MapFieldSelector

Parameters
fieldSelectionsmaps from field names (String) to FieldSelectorResults

Definition at line 34 of file MapFieldSelector.cs.

Lucene.Net.Documents.MapFieldSelector.MapFieldSelector ( IList< string >  fields)

Create a a MapFieldSelector

Parameters
fieldsfields to LOAD. List of Strings. All other fields are NO_LOAD.

Definition at line 42 of file MapFieldSelector.cs.

Lucene.Net.Documents.MapFieldSelector.MapFieldSelector ( params System.String[]  fields)

Create a a MapFieldSelector

Parameters
fieldsfields to LOAD. All other fields are NO_LOAD.

Definition at line 52 of file MapFieldSelector.cs.

Member Function Documentation

virtual FieldSelectorResult Lucene.Net.Documents.MapFieldSelector.Accept ( System.String  field)
virtual

Load field according to its associated value in fieldSelections

Parameters
fielda field name
Returns
the fieldSelections value that field maps to or NO_LOAD if none.

Implements Lucene.Net.Documents.FieldSelector.

Definition at line 62 of file MapFieldSelector.cs.


The documentation for this class was generated from the following file: