THe constructor which you must at least pass the value parameter:
my $term = SRU::Response::Term->new( term => "Foo Fighter" );
In addition you can pass the numberOfRecords, displayTerm, whereInList,
and extraTermData parameters, or set them separately with their
The term exactly as it appears in the index. This term should be able to be
sent in a query as is to retrieve the records it derives from.
The number of records which would be matched if the index in the requests
scanClause was searched with the term in the value field.
A string to display to the end user in place of the term itself. For example
this might add back in stopwords which do not appear in the index, or diacritics
which have been normalised.
A flag to indicate the position of the term within the complete term list. It
must be one of the following values: first (the first term), last (the last
term), only (the only term) or inner (any other term).
Additional profile specific information. More details are available in the