File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ def facets
113
113
facet = original . split ( "[" ) [ 0 ]
114
114
path = facet . split ( "." ) . first
115
115
condition = original [ /(?<=\[ ).+?(?=\] )/ ]
116
- subject = condition . split ( "| " ) . first
117
- predicate = condition . split ( "| " ) . last
116
+ subject = condition . split ( "# " ) . first
117
+ predicate = condition . split ( "# " ) . last
118
118
aggs [ agg_name ] = {
119
119
"nested" => {
120
120
"path" => path
@@ -212,8 +212,8 @@ def filters
212
212
facet = original . split ( "[" ) [ 0 ]
213
213
path = facet . split ( "." ) . first
214
214
condition = original [ /(?<=\[ ).+?(?=\] )/ ]
215
- subject = condition . split ( "| " ) . first
216
- predicate = condition . split ( "| " ) . last
215
+ subject = condition . split ( "# " ) . first
216
+ predicate = condition . split ( "# " ) . last
217
217
# this is a nested field and must be treated differently
218
218
nested = {
219
219
"nested" => {
You can’t perform that action at this time.
0 commit comments