Adapt to LOV search

-handle multilinguism
-distinguish prim/sec/ter labels
-handle datatype as instance of datatype
-handle instances
-Modify the mapping and boost