Redisgraph: RedisSearch Stop Words Not Working

Created on 23 Mar 2021  路  3Comments  路  Source: RedisGraph/RedisGraph

Hello,

I have noticed a change in behavior from RedisSearch stop words.
Stop words should be ignored and not considered when searching and indexing per this documentation: https://oss.redislabs.com/redisearch/Stopwords/

However, I noticed for RedisGraph this only works on indexing, but not on search.

For example:
CALL db.idx.fulltext.createNodeIndex('movie', 'title')
CALL db.idx.fulltext.queryNodes('movie', 'big short') YIELD node return node.title
This returns: The Big Short.
Now if I call:
CALL db.idx.fulltext.queryNodes('movie', 'the big short') YIELD node return node.title
This returns nothing matched. According to the above link the stop word 'the' should not be searched.

Might I also ask if there will be a way to remove stop words?
Please guide me if this is a user error.

Most helpful comment

Hi @sidenAlex, thank you for brining this up, we're investigating.

All 3 comments

Hi @sidenAlex, thank you for brining this up, we're investigating.

I'm seeing the same problem. When searching, I'm having to remove stop words prior to passing to redisgraph as a workaround, but this is very limiting and has it's own major drawbacks.

men in black -> no results
"men in black" -> no results
men black -> found men in black and men driving a black car

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mdazartash picture mdazartash  路  3Comments

swilly22 picture swilly22  路  8Comments

kkonevets picture kkonevets  路  3Comments

Sceat picture Sceat  路  7Comments

dandago picture dandago  路  3Comments