Commit ee3dfa9
committed
Use isa operator in cloud ndiquery live tests
The cloud search API no longer exposes document_class.class_name as a
directly searchable field path. Class filtering now has to go through
the 'isa' operator, which also rolls up subclasses. This was causing
test_ndiqueryAll_paginates to return zero documents against the live
server.
Only the two cloud ndiquery tests are affected. Inline document bodies
(e.g. {"document_class": {"class_name": "..."}}) and local
session.database_search calls continue to use the field directly since
they are not cloud search structures.1 parent 15d5cee commit ee3dfa9
1 file changed
Lines changed: 6 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
797 | | - | |
798 | | - | |
799 | | - | |
800 | | - | |
801 | | - | |
802 | | - | |
803 | | - | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
804 | 800 | | |
805 | 801 | | |
806 | 802 | | |
| |||
828 | 824 | | |
829 | 825 | | |
830 | 826 | | |
831 | | - | |
832 | | - | |
833 | | - | |
834 | | - | |
835 | | - | |
836 | | - | |
837 | | - | |
| 827 | + | |
| 828 | + | |
| 829 | + | |
838 | 830 | | |
839 | 831 | | |
840 | 832 | | |
| |||
0 commit comments