diff --git a/src/ZoneTree.FullTextSearch/Directory.Build.props b/src/ZoneTree.FullTextSearch/Directory.Build.props index 358861e..93a3755 100644 --- a/src/ZoneTree.FullTextSearch/Directory.Build.props +++ b/src/ZoneTree.FullTextSearch/Directory.Build.props @@ -5,8 +5,8 @@ Ahmed Yasin Koculu ZoneTree.FullTextSearch ZoneTree.FullTextSearch - 1.0.5.0 - 1.0.5.0 + 1.0.6.0 + 1.0.6.0 Ahmed Yasin Koculu ZoneTree.FullTextSearch ZoneTree.FullTextSearch is an open-source library that extends ZoneTree to provide efficient full-text search capabilities. It offers a fast, embedded search engine suitable for applications that require high performance and do not rely on external databases. diff --git a/src/ZoneTree.FullTextSearch/Index/IndexOfTokenRecordPreviousToken.cs b/src/ZoneTree.FullTextSearch/Index/IndexOfTokenRecordPreviousToken.cs index 1dfe6ad..678ab9b 100644 --- a/src/ZoneTree.FullTextSearch/Index/IndexOfTokenRecordPreviousToken.cs +++ b/src/ZoneTree.FullTextSearch/Index/IndexOfTokenRecordPreviousToken.cs @@ -234,7 +234,7 @@ public void UpsertRecord(TToken token, TRecord record, TToken previousToken) Token = token, Record = record, PreviousToken = previousToken - }, new()); + }, 0); if (!useSecondaryIndex) return; var key = new CompositeKeyOfRecordToken() { diff --git a/src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj b/src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj index 94ad501..b33fa9b 100644 --- a/src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj +++ b/src/ZoneTree.FullTextSearch/ZoneTree.FullTextSearch.csproj @@ -38,7 +38,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - +