]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Optimized EntityInstances and ModelingUtils.search*Shallow queries 15/815/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 7 Aug 2017 15:05:35 +0000 (18:05 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 7 Aug 2017 15:05:35 +0000 (18:05 +0300)
Shallow queries were previously doing tons of useless queries into
dependent ontologies which would have been filtered out anyway. Also
EntityInstances.QueryIndex.perform now optimizes two corner cases:
* only one search result which is usual for GUID searches
* removal of Types:*Entity filter term which is useless because all
  instances are entities.

refs #7415

Change-Id: I89b9495ea51ca8fba4bd40db113c91f4a12932d0


No differences found