Skip to content

Commit 8cf7fbb

Browse files
committed
test: port 16-index-selector-tests from python to elixir
1 parent 94e5842 commit 8cf7fbb

3 files changed

Lines changed: 396 additions & 0 deletions

File tree

test/elixir/test/config/search.elixir

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,16 @@
3838
],
3939
"LimitTests": [
4040
"limit field"
41+
],
42+
"IndexSelectorText": [
43+
"saves partialfilterselector in index",
44+
"uses partial index for query selector",
45+
"uses partial index with different selector",
46+
"doesnot use selector when not specified",
47+
"doesnot use selector when not specified with index",
48+
"old selector still supported",
49+
"old selector still supported via api",
50+
"partial filter only in return if not default",
51+
"uses partial index with non indexable selector"
4152
]
4253
}

test/elixir/test/config/suite.elixir

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -734,5 +734,17 @@
734734
],
735735
"IgnoreDesignDocsForAllDocsIndexTests": [
736736
"should not return design docs"
737+
],
738+
"IndexSelectorJson": [
739+
"saves partial filter selector in index",
740+
"partial filter only in return if not default",
741+
"saves selector in index throws",
742+
"uses partial index for query selector",
743+
"uses partial index with different selector",
744+
"doesnot use selector when not specified",
745+
"doesnot use selector when not specified with index",
746+
"old selector with no selector still supported",
747+
"old selector still supported",
748+
"uses partial index with non indexable selector"
737749
]
738750
}

0 commit comments

Comments
 (0)