vipranarayan14/samsaadhanii-concordance

prioritise filter results

Closed this issue · 1 comments

What?
Sort filter results:

  1. dhatuId > muladhatu > dhatu > artha > gana > padi > it > mA > kRI > XA
  2. exact match before partial match

How?

  1. By sorting the results based on find index
  2. By sorting the results based on the difference between the find index of the keyword and the index of the next keyword separator.

"(2) Exact match before partial match" is not implemented. Maybe in future.