SolrNet: SolrNet.Commands.AddCommand< T > Class Template Reference

SolrNet

SolrNet.Commands.AddCommand< T > Class Template Reference

Adds / updates documents to solr. More...

Inheritance diagram for SolrNet.Commands.AddCommand< T >:

List of all members.

Public Member Functions

 AddCommand (IEnumerable< KeyValuePair< T, double?>> documents, ISolrDocumentSerializer< T > serializer, AddParameters parameters)
 Adds / updates documents to solr.
string RemoveControlCharacters (string xml)
 Removes UTF control characters, not valid in XML.
string ConvertToXml ()
 Serializes command to Solr XML.
string Execute (ISolrConnection connection)
 Executes this command.

Detailed Description

template<T>
class SolrNet::Commands::AddCommand< T >

Adds / updates documents to solr.

Template Parameters:
TDocument type

Member Function Documentation

template<T >
SolrNet.Commands.AddCommand< T >.AddCommand ( IEnumerable< KeyValuePair< T, double?>>  documents,
ISolrDocumentSerializer< T >  serializer,
AddParameters  parameters 
)

Adds / updates documents to solr.

Parameters:
documents
serializer
parameters
template<T >
string SolrNet.Commands.AddCommand< T >.ConvertToXml (  )

Serializes command to Solr XML.

Returns:
template<T >
string SolrNet.Commands.AddCommand< T >.Execute ( ISolrConnection  connection )

Executes this command.

Parameters:
connection
Returns:

Implements SolrNet.ISolrCommand.

template<T >
string SolrNet.Commands.AddCommand< T >.RemoveControlCharacters ( string  xml )

Removes UTF control characters, not valid in XML.

Parameters:
xml
Returns:

The documentation for this class was generated from the following file:
  • SolrNet/Commands/AddCommand.cs
Generated on Sun May 3 2015 17:19:06 for SolrNet by  doxygen 1.7.2