Skip to content

Commit

Permalink
bug fix on adding fields to index
Browse files Browse the repository at this point in the history
  • Loading branch information
arkadiuszbiel committed Sep 20, 2019
1 parent 064f8a0 commit 7c61e53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# version format
version: 0.2.3.{build}
version: 0.2.4.{build}

image: Visual Studio 2019

Expand Down
6 changes: 1 addition & 5 deletions source/Novicell.Examine.ElasticSearch/Model/Document.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ public Field GetField(string FieldName)

public void Add(Field field)
{
if (ContainsKey(field.Name))
{
this[field.Name] = field.StringValue;
}

this[field.Name] = field.StringValue;
}
private Object ByteArrayToObject(byte[] arrBytes)
{
Expand Down

0 comments on commit 7c61e53

Please sign in to comment.