Merge remote-tracking branch 'parent/main' into upstream-20240628
This commit is contained in:
commit
6955843321
178 changed files with 1924 additions and 1178 deletions
|
@ -412,7 +412,7 @@ class SearchQueryTransformer < Parslet::Transform
|
|||
end
|
||||
|
||||
rule(clause: subtree(:clause)) do
|
||||
prefix = clause[:prefix][:term].to_s if clause[:prefix]
|
||||
prefix = clause[:prefix][:term].to_s.downcase if clause[:prefix]
|
||||
operator = clause[:operator]&.to_s
|
||||
term = clause[:phrase] ? clause[:phrase].map { |term| term[:term].to_s }.join(' ') : clause[:term].to_s
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue