@arsedizioni/ars-utils 20.4.40 → 20.4.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -2878,13 +2878,9 @@ class ClipperSearchFreeTextQueryBuilderComponent {
|
|
|
2878
2878
|
for (let i = 0; i < parts.length; i++) {
|
|
2879
2879
|
if (query.length > 0)
|
|
2880
2880
|
query += ' ';
|
|
2881
|
-
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
query += '"';
|
|
2885
|
-
query += p.replace('"', '').trim();
|
|
2886
|
-
if (phrase)
|
|
2887
|
-
query += '"';
|
|
2881
|
+
query += '"';
|
|
2882
|
+
query += parts[i].replace('"', '').trim();
|
|
2883
|
+
query += '" ';
|
|
2888
2884
|
}
|
|
2889
2885
|
query += ' ';
|
|
2890
2886
|
}
|
|
@@ -2894,24 +2890,19 @@ class ClipperSearchFreeTextQueryBuilderComponent {
|
|
|
2894
2890
|
for (let i = 0; i < parts.length; i++) {
|
|
2895
2891
|
if (query.length > 0)
|
|
2896
2892
|
query += ' ';
|
|
2897
|
-
query += '+';
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
if (phrase)
|
|
2901
|
-
query += '"';
|
|
2902
|
-
query += p.replace('"', '').trim();
|
|
2903
|
-
if (phrase)
|
|
2904
|
-
query += '"';
|
|
2893
|
+
query += '+"';
|
|
2894
|
+
query += parts[i].replace('"', '').trim();
|
|
2895
|
+
query += '" ';
|
|
2905
2896
|
}
|
|
2906
2897
|
query += ' ';
|
|
2907
2898
|
}
|
|
2908
2899
|
// Start with
|
|
2909
2900
|
if (this.queryStart.length > 0) {
|
|
2910
2901
|
if (query.length > 0)
|
|
2911
|
-
query += ' +';
|
|
2902
|
+
query += ' +"';
|
|
2912
2903
|
query += this.queryStart.replace('"', '').trim();
|
|
2913
2904
|
query += '*';
|
|
2914
|
-
query += ' ';
|
|
2905
|
+
query += '" ';
|
|
2915
2906
|
}
|
|
2916
2907
|
// Not
|
|
2917
2908
|
if (this.queryNot.length > 0) {
|
|
@@ -2924,14 +2915,9 @@ class ClipperSearchFreeTextQueryBuilderComponent {
|
|
|
2924
2915
|
for (let i = 0; i < parts.length; i++) {
|
|
2925
2916
|
if (query.length > 0)
|
|
2926
2917
|
query += ' ';
|
|
2927
|
-
query += '-';
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
if (phrase)
|
|
2931
|
-
query += '"';
|
|
2932
|
-
query += p.replace('"', '').trim();
|
|
2933
|
-
if (phrase)
|
|
2934
|
-
query += '"';
|
|
2918
|
+
query += '-"';
|
|
2919
|
+
query += parts[i].replace('"', '').trim();
|
|
2920
|
+
query += '" ';
|
|
2935
2921
|
}
|
|
2936
2922
|
query += ' ';
|
|
2937
2923
|
}
|