FieldList
The FieldList
is a list for custom list of Field
items.
Like other lists, you can add a new item through the Add
method:
fields.Add(new Field("content"));
But there are a few method overloads as well - eg. for adding a field just by it's name:
fields.Add("content");
or by it's name while also setting the boost to 50
and the fuzzyness to 0.75
:
fields.Add("content", 50, 0.75f);