Configuring a Crawler for SMB/CIFS File Sharing
This section explains how you can create a crawler for a file directory in your OpenSearchServer installation.
This is how it works
Call the web interface of your OpenSearchServer installation. This interface can usually be accessed via port 9090.
Choose an index from the table.
For the creation of a specific directory, switch to the Crawler tab.
Click Files > Locations.
Click Create new location.
Now choose the type Local files.
Enter the desired path in the Path field.
Enable With sub directories.
Enable Enabled.
Confirm the settings by clicking Save.
Switch to Field mapping.
In the first selection list, choose the indexed field fileSystemDate.
In the second selection list, choose lastEditDate.
Click Add to add the mapping.
Switch to Crawl process and start generating the index. There is the option run once for a one-time entry or run forever for continuous indexing.
Under File browser, you can view and check already indexed files.