SolrNet: SolrNet.ISolrOperations< T > Interface Template Reference

SolrNet

SolrNet.ISolrOperations< T > Interface Template Reference

Consolidating interface, exposes all operations. More...

Inheritance diagram for SolrNet.ISolrOperations< T >:

List of all members.

Public Member Functions

ResponseHeader Commit ()
 Commits posted documents, blocking until index changes are flushed to disk and blocking until a new searcher is opened and registered as the main query searcher, making the changes visible.
ResponseHeader Rollback ()
 Rollbacks all add/deletes made to the index since the last commit.
ResponseHeader Optimize ()
 Optimizes Solr's index.
ResponseHeader Add (T doc)
 Adds / updates a document.
ResponseHeader Add (T doc, AddParameters parameters)
 Adds / updates a document with parameters.
ResponseHeader AddWithBoost (T doc, double boost)
 Adds / updates a document with index-time boost.
ResponseHeader AddWithBoost (T doc, double boost, AddParameters parameters)
 Adds / updates a document with index-time boost and add parameters.
ExtractResponse Extract (ExtractParameters parameters)
 Adds / updates the extracted content of a richdocument.
ResponseHeader Add (IEnumerable< T > docs)
 Adds / updates several documents at once.
ResponseHeader AddRange (IEnumerable< T > docs)
 Adds / updates several documents at once.
ResponseHeader Add (IEnumerable< T > docs, AddParameters parameters)
 Adds / updates several documents at once.
ResponseHeader AddRange (IEnumerable< T > docs, AddParameters parameters)
 Adds / updates several documents at once.
ResponseHeader AddWithBoost (IEnumerable< KeyValuePair< T, double?>> docs)
 Adds / updates documents with index-time boost.
ResponseHeader AddRangeWithBoost (IEnumerable< KeyValuePair< T, double?>> docs)
 Adds / updates documents with index-time boost.
ResponseHeader AddWithBoost (IEnumerable< KeyValuePair< T, double?>> docs, AddParameters parameters)
 Adds / updates documents with index-time boost and add parameters.
ResponseHeader AddRangeWithBoost (IEnumerable< KeyValuePair< T, double?>> docs, AddParameters parameters)
 Adds / updates documents with index-time boost and add parameters.
ResponseHeader Delete (T doc)
 Deletes a document (requires the document to have a unique key defined with non-null value)
ResponseHeader Delete (IEnumerable< T > docs)
 Deletes several documents (requires the document type to have a unique key defined with non-null value)
ResponseHeader Delete (ISolrQuery q)
 Deletes all documents that match a query.
ResponseHeader Delete (string id)
 Deletes a document by its id (unique key)
ResponseHeader Delete (IEnumerable< string > ids)
 Deletes several documents by their id (unique key)
ResponseHeader Delete (IEnumerable< string > ids, ISolrQuery q)
 Deletes all documents that match the given id's or the query.
ResponseHeader BuildSpellCheckDictionary ()
 Create the dictionary for use by the SolrSpellChecker. In typical applications, one needs to build the dictionary before using it. However, it may not always be necessary as it is possible to setup the spellchecker with a dictionary that already exists.
IEnumerable< ValidationResultEnumerateValidationResults ()

Detailed Description

template<T>
interface SolrNet::ISolrOperations< T >

Consolidating interface, exposes all operations.

Template Parameters:
TDocument type

Member Function Documentation

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Add ( doc )

Adds / updates a document.

Parameters:
docdocument to add/update
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Add ( doc,
AddParameters  parameters 
)

Adds / updates a document with parameters.

Parameters:
docThe document to add/update.
parametersThe add parameters.
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Add ( IEnumerable< T >  docs )

Adds / updates several documents at once.

Parameters:
docsdocuments to add/update
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Add ( IEnumerable< T >  docs,
AddParameters  parameters 
)

Adds / updates several documents at once.

Parameters:
docsdocuments to add/update
parametersThe add parameters.
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.AddRange ( IEnumerable< T >  docs )

Adds / updates several documents at once.

Parameters:
docsdocuments to add/update
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.AddRange ( IEnumerable< T >  docs,
AddParameters  parameters 
)

Adds / updates several documents at once.

Parameters:
docsdocuments to add/update
parametersThe add parameters.
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.AddRangeWithBoost ( IEnumerable< KeyValuePair< T, double?>>  docs,
AddParameters  parameters 
)

Adds / updates documents with index-time boost and add parameters.

Parameters:
docsList of docs / boost. If boost is null, no boost is applied
parametersThe add parameters.
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.AddRangeWithBoost ( IEnumerable< KeyValuePair< T, double?>>  docs )

Adds / updates documents with index-time boost.

Parameters:
docsList of docs / boost. If boost is null, no boost is applied
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.AddWithBoost ( doc,
double  boost 
)

Adds / updates a document with index-time boost.

Parameters:
doc
boost
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.AddWithBoost ( IEnumerable< KeyValuePair< T, double?>>  docs )

Adds / updates documents with index-time boost.

Parameters:
docsList of docs / boost. If boost is null, no boost is applied
Returns:
template<T >
ResponseHeader SolrNet.ISolrOperations< T >.AddWithBoost ( doc,
double  boost,
AddParameters  parameters 
)

Adds / updates a document with index-time boost and add parameters.

Parameters:
docThe document to add/update.
boostThe index-time boost to apply.
parametersThe add parameters.
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.AddWithBoost ( IEnumerable< KeyValuePair< T, double?>>  docs,
AddParameters  parameters 
)

Adds / updates documents with index-time boost and add parameters.

Parameters:
docsList of docs / boost. If boost is null, no boost is applied
parametersThe add parameters.
Returns:
template<T >
ResponseHeader SolrNet.ISolrOperations< T >.BuildSpellCheckDictionary (  )

Create the dictionary for use by the SolrSpellChecker. In typical applications, one needs to build the dictionary before using it. However, it may not always be necessary as it is possible to setup the spellchecker with a dictionary that already exists.

summary> Validates the mapping of the type T against the Solr schema XML document. /summary> returns> A collection of ValidationResult objects containing warnings and error found validating the type's mapping against the Solr schema if any.

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Commit (  )

Commits posted documents, blocking until index changes are flushed to disk and blocking until a new searcher is opened and registered as the main query searcher, making the changes visible.

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Delete ( IEnumerable< string >  ids,
ISolrQuery  q 
)

Deletes all documents that match the given id's or the query.

Parameters:
idsdocument unique keys
qquery to match
Returns:
template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Delete ( IEnumerable< string >  ids )

Deletes several documents by their id (unique key)

Parameters:
idsdocument unique keys
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Delete ( doc )

Deletes a document (requires the document to have a unique key defined with non-null value)

Parameters:
docdocument to delete
Returns:
Exceptions:
SolrNetExceptionthrows if document type doesn't have a unique key or document has null unique key

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Delete ( IEnumerable< T >  docs )

Deletes several documents (requires the document type to have a unique key defined with non-null value)

Parameters:
docs
Returns:
Exceptions:
SolrNetExceptionthrows if document type doesn't have a unique key or document has null unique key

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Delete ( ISolrQuery  q )

Deletes all documents that match a query.

Parameters:
qquery to match
Returns:
template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Delete ( string  id )

Deletes a document by its id (unique key)

Parameters:
iddocument key
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ExtractResponse SolrNet.ISolrOperations< T >.Extract ( ExtractParameters  parameters )

Adds / updates the extracted content of a richdocument.

Parameters:
parametersThe extracttion parameters
Returns:

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Optimize (  )

Optimizes Solr's index.

Implemented in SolrNet.Impl.SolrServer< T >.

template<T >
ResponseHeader SolrNet.ISolrOperations< T >.Rollback (  )

Rollbacks all add/deletes made to the index since the last commit.

Returns:

Implemented in SolrNet.Impl.SolrServer< T >.


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