Files
Orchard/src/Orchard/Indexing/IIndexDocument.cs
Sebastien Ros 3826bc606f Fixing index information retrieval
- Storing doubles instead of floats
- Fixing integer values parsing

--HG--
branch : dev
extra : transplant_source : %EB%7E%27%E7%3B%2B%CEvA%AE%90%3FQ%BE%9Bw%9C%3FXA
2011-01-21 09:01:56 -08:00

36 lines
1.0 KiB
C#

using System;
namespace Orchard.Indexing {
public interface IDocumentIndex {
IDocumentIndex SetContentItemId(int contentItemId);
IDocumentIndex Add(string name, string value);
IDocumentIndex Add(string name, DateTime value);
IDocumentIndex Add(string name, int value);
IDocumentIndex Add(string name, bool value);
IDocumentIndex Add(string name, double value);
/// <summary>
/// Stores the original value to the index.
/// </summary>
IDocumentIndex Store();
/// <summary>
/// Content is analyzed and tokenized.
/// </summary>
IDocumentIndex Analyze();
/// <summary>
/// Remove any HTML tag from the current string
/// </summary>
IDocumentIndex RemoveTags();
/// <summary>
/// Whether some property have been added to this document, or otherwise if it's empty
/// </summary>
bool IsDirty { get; }
}
}