private void UpdateFor(byte draft, byte forDraft, byte forPublished) { var term = new Term(MetaKey, BuildKey(draft)); indexState.Index(id, draft, term, forDraft, forPublished); }
private void UpdateFor(Scope scope, bool forDraft, bool forPublished) { var term = new Term(MetaKey, BuildKey(scope)); indexState.Index(id, scope, term, forDraft, forPublished); }