Skip to content

Commit

Permalink
indexing integer type too (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveMen authored and tatarincev committed Oct 11, 2018
1 parent fda1a01 commit f859a32
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected virtual void IndexCustomProperties(IndexDocument document, ICollection
{
case PropertyValueType.Boolean:
case PropertyValueType.DateTime:
case PropertyValueType.Integer:
case PropertyValueType.Number:
document.Add(new IndexDocumentField(propertyName, propValue.Value) { IsRetrievable = true, IsFilterable = true, IsCollection = isCollection });
break;
Expand Down

0 comments on commit f859a32

Please sign in to comment.