File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -113,8 +113,8 @@ def facets
113113 facet = original . split ( "[" ) [ 0 ]
114114 path = facet . split ( "." ) . first
115115 condition = original [ /(?<=\[ ).+?(?=\] )/ ]
116- subject = condition . split ( "| " ) . first
117- predicate = condition . split ( "| " ) . last
116+ subject = condition . split ( "# " ) . first
117+ predicate = condition . split ( "# " ) . last
118118 aggs [ agg_name ] = {
119119 "nested" => {
120120 "path" => path
@@ -212,8 +212,8 @@ def filters
212212 facet = original . split ( "[" ) [ 0 ]
213213 path = facet . split ( "." ) . first
214214 condition = original [ /(?<=\[ ).+?(?=\] )/ ]
215- subject = condition . split ( "| " ) . first
216- predicate = condition . split ( "| " ) . last
215+ subject = condition . split ( "# " ) . first
216+ predicate = condition . split ( "# " ) . last
217217 # this is a nested field and must be treated differently
218218 nested = {
219219 "nested" => {
You can’t perform that action at this time.
0 commit comments