Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Full text index is not updated field update #222

@angelix

Description

@angelix

Hi @anidotnet,

On latest version (3.4.1) seems that when i change the value of text indexed field, the old value is not removed from the index. So using Filters.text operator i get the document for the old and new value.

Reproduce:

1. create Text index on a field
2. insert document with text index field
3. search document with Filters.text() -> Works OK
4. update document, removing the text from the indexed field, so now 
5. search document with Filters.text() -> keeps returning the document.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions