Relationship between domain model entity indexes and listview

0
Hello,   Happy Thursday :)   I was thinking, and it’s not clear to me, how does the listview search function relates, if it does, to specifing indexes? Will it search using indexes and therefore faster if we specify the datasource to be XPATH? or not?        
asked
1 answers
2

Nope, the default search of a listview will not use the indexes.

 

Reason is that the search of a list view uses “contains” search. 

Indexes are only suitable for “Start with” or “match” searches. 

Indexes work like you sorting in you mobile contacts. So start searching with a D will skipp all A-C records. In case of a “Contains”search this cannot be done.

 

I know, disappointing answer. ;-)

answered