Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-03-2022 08:19 AM
Neo4j Version: 4.4.2
Edition: Enterprise
Currently I'm trying to implement a case-insensitive full-text index with the 'whitespace' analyzer.
CREATE FULLTEXT INDEX carIndex FOR (c:Car) ON EACH [c.ShortDescription, c.Name] OPTIONS { indexConfig: {`fulltext.analyzer`: 'whitespace'}}
When hitting this index it seems that it is case-sensitive.
Looking at the Full-text search index documentation I'm unable to find what I'm looking for.
Is there a way to create an index which is case insensitive and tokanizes on whitespace?
Other sources I've looked through:
Full-text index analyzer providers
Custom analyzer for fulltext search in Neo4j
Solved! Go to Solution.
05-05-2022 12:31 AM
Seems like the default analyzer 'whitespace' doesn't make everything lowercase.
As a solution a custom analyzer has been created which tokanizes on whitespaces and is case-insensitive.
05-03-2022 12:55 PM
Hello @Stef-van-Stipdonk
Full-text search indexes are normally case-insensitive. Your query to create the index looks good. How did you test it?
Regards,
Cobra
05-05-2022 12:31 AM
Seems like the default analyzer 'whitespace' doesn't make everything lowercase.
As a solution a custom analyzer has been created which tokanizes on whitespaces and is case-insensitive.
All the sessions of the conference are now available online