]> gerrit.simantics Code Review - simantics/platform.git/commit
Index tokenized lowercase versions of name and types for UI searches 67/2867/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Fri, 26 Apr 2019 08:31:36 +0000 (11:31 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 26 Apr 2019 20:39:13 +0000 (23:39 +0300)
commit5e340942bc7de041b75c6ba281617eb0c800f30a
tree200a0153e58dd651652d4c5a19b2ab8ddd2bf7d0
parent69e1a2ba724ffadd5227d13f97eb0d9100068804
Index tokenized lowercase versions of name and types for UI searches

* Added support for different name/label in search parameter selection.
* Fixed resource search to form wildcard query separately for each term.
* Added utility methods to SearchQuery for lower/uppercasing the query

gitlab #291

Resolved conflicts from:
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java
bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/SearchResourceDialog.java
bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/actions/SearchLinksAction.java
bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/function/SearchFunction.java
bundles/org.simantics.document.ui/src/org/simantics/document/ui/function/SearchFunction.java

Change-Id: I86fffd2ce272ac089e281348d8f5ac8aa2f9410a
(cherry picked from commit 4e7fd7de62f57825448d4dcc2636d0b59646a7ef)
16 files changed:
bundles/org.simantics.db.indexing/src/org/simantics/db/indexing/Queries.java
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/Dependencies.java
bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java
bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/SearchResourceDialog.java
bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/actions/SearchLinksAction.java
bundles/org.simantics.document.linking.ui/src/org/simantics/document/linking/function/SearchFunction.java
bundles/org.simantics.document.ui/src/org/simantics/document/ui/function/SearchFunction.java
bundles/org.simantics.workbench.search/search/header.ftl
bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/DependenciesSearchFunction.java
bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/SearchData.java
bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/SearchEngine.java
bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/SearchParam.java [new file with mode: 0644]
bundles/org.simantics.workbench.search/src/org/simantics/workbench/search/SearchQuery.java
bundles/org.simantics.workbench/src/org/simantics/workbench/internal/contributions/search/BrowserView.java
bundles/org.simantics.workbench/src/org/simantics/workbench/internal/contributions/search/SearchServiceImpl.java
bundles/org.simantics.workbench/src/org/simantics/workbench/internal/contributions/search/SearchTrim.java