C# Class Chaos.Portal.Core.Indexing.Solr.SolrCore

Inheritance: IIndex
ファイルを表示 Open project: CHAOS-Community/Portal

Public Methods

Method Description
Commit ( bool isSoftCommit = false ) : void
ConvertToSolrDocument ( IIndexable item ) : System.Xml.Linq.XElement

Convert an Indexable item to a solr document

Delete ( ) : void

Delete all documents in core

Delete ( string uniqueIdentifier ) : void

Delete all documents in core

Index ( IEnumerable indexables ) : void
Index ( IIndexable indexable ) : void
Optimize ( ) : void
Query ( IQuery query ) : Response
SolrCore ( IHttpConnection httpConnection, string core ) : System.Collections.Generic

Method Details

Commit() public method

public Commit ( bool isSoftCommit = false ) : void
isSoftCommit bool
return void

ConvertToSolrDocument() public static method

Convert an Indexable item to a solr document
public static ConvertToSolrDocument ( IIndexable item ) : System.Xml.Linq.XElement
item IIndexable the object to index
return System.Xml.Linq.XElement

Delete() public method

Delete all documents in core
public Delete ( ) : void
return void

Delete() public method

Delete all documents in core
public Delete ( string uniqueIdentifier ) : void
uniqueIdentifier string
return void

Index() public method

public Index ( IEnumerable indexables ) : void
indexables IEnumerable
return void

Index() public method

public Index ( IIndexable indexable ) : void
indexable IIndexable
return void

Optimize() public method

public Optimize ( ) : void
return void

Query() public method

public Query ( IQuery query ) : Response
query IQuery
return Response

SolrCore() public method

public SolrCore ( IHttpConnection httpConnection, string core ) : System.Collections.Generic
httpConnection IHttpConnection
core string
return System.Collections.Generic