Skip to content

Auto detect file when it's moved into watched directory #1230

Description

@helsonxiao

Is your feature request related to a problem? Please describe.

We're building a crawler cluster for local area network. It intends to provide a convenient search service. People in there are using FTP or Windows Share Folder and they don't know how to trigger a file indexing procedure. I've checked the documentation and it said only if existing files are touched after they're moved in, then they can be indexed. Based on it, I think our service will be not convenient after some days or weeks.

Describe the solution you'd like

I've checked the core logic about crawler. There is a FsCrawlerManagementService which records all file directories. Also it provides a nice function called getFileDirectory. I think it's possible and very easy to do what I want. Please see this PR in our fork repo.

waterstone-company#34

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions