Skip to content

Commit

Permalink
fix search resource_id case insensitive by using string_ci instead
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed May 1, 2024
1 parent 8f0a9a5 commit b2a635f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/goo/search/solr/solr_schema_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def init_fields_types
def init_fields
[
#{ name: "_version_", type: "plong", indexed: true, stored: true, multiValued: false },
{ name: "resource_id", type: "text_general", indexed: true, multiValued: false, required: true, stored: true },
{ name: "resource_id", type: "string_ci", indexed: true, multiValued: false, required: true, stored: true },
{ name: "resource_model", type: "string", indexed: true, multiValued: false, required: true, stored: false },
{ name: "_text_", type: "text_general", indexed: true, multiValued: true, stored: false },
]
Expand Down

0 comments on commit b2a635f

Please sign in to comment.