mirror of
https://github.com/shumaiOne/shumai.git
synced 2026-12-06 16:24:17 +00:00
feat(search): implement multi-chunk semantic search with segment timestamps
This commit is contained in:
@@ -48,7 +48,7 @@ describe('CollectionService', () => {
|
||||
operator: 'AND',
|
||||
conditions: [{ field: 'name', operator: 'contains', value: 'test' }],
|
||||
recursively: true,
|
||||
searchMode: 'name',
|
||||
isSemantic: false,
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -69,7 +69,7 @@ describe('CollectionService', () => {
|
||||
operator: 'AND',
|
||||
conditions: [{ field: 'rating', operator: 'eq', value: 5 }],
|
||||
recursively: true,
|
||||
searchMode: 'name',
|
||||
isSemantic: false,
|
||||
},
|
||||
},
|
||||
})
|
||||
@@ -92,7 +92,7 @@ describe('CollectionService', () => {
|
||||
name: `Collection ${i}`,
|
||||
filter: {
|
||||
sourceFolderId: project.rootFolder!,
|
||||
searchFilter: { operator: 'AND', conditions: [], recursively: true, searchMode: 'name' },
|
||||
searchFilter: { operator: 'AND', conditions: [], recursively: true, isSemantic: false },
|
||||
},
|
||||
})
|
||||
}
|
||||
@@ -130,7 +130,7 @@ describe('CollectionService', () => {
|
||||
name: 'To be deleted',
|
||||
filter: {
|
||||
sourceFolderId: project.rootFolder!,
|
||||
searchFilter: { operator: 'AND', conditions: [], recursively: true, searchMode: 'name' },
|
||||
searchFilter: { operator: 'AND', conditions: [], recursively: true, isSemantic: false },
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user