question

KurtStichelmans-9145 avatar image
0 Votes"
KurtStichelmans-9145 asked JennyYan-MSFT commented

indexing on a Windows 2019 but the files are on a different server.

We have a Windows 2019 server (server A). People are logged on with their own session. They put files in folders but those folders are on a drive which is pointed to another Windows server (server B).
On that folder they put msg, docx, .... files.
What is the best way to index those files?

Turn on Windows search service on server A? What with the index options? Configure them ore leave them empty?
Turn on Windows search service on server B? And configure the index options?
Or leave the Windows search service disabled on server A and only turn them on on server B?

And once activated, can I put a limit on their growth?
What is the best way?

Thanks for your knowledge.

Kind regards
Kurt

windows-server-2019
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

May i know if there is any update for your question?

Hope the information provided is helpful and please feel free to let us know more assistance needed.



If the Answer is helpful, please click Accept Answer and upvote it. Thanks.

Thanks,
Jenny

0 Votes 0 ·
JennyYan-MSFT avatar image
0 Votes"
JennyYan-MSFT answered

Hi,
To use windows index and search files located in other servers, the general steps to be taken are:

1.Share folder by giving permission to dedicated user groups, in my example, I simply choose everyone as test.
116642-1.png

2.Map a network folder: Map a network drive in Windows 10
https://support.microsoft.com/en-us/windows/map-a-network-drive-in-windows-10-29ce55d1-34e3-a7e2-4801-131475f9557d

3.Verify if "Allow files on this drive to have contents indexed in addition to file properties." has been checked.
116643-2.png

4.If only look for results from the mapped drive, you could simply open the folder and input keywords into the search box in the right corner of the window.
116589-3.png

5.Indeed, Microsoft Windows Search uses filters to extract the content of items for inclusion in a full-text index. You can extend Windows Search to index new or proprietary file types by writing filters to extract the content, and property handlers to extract the properties of files. But this more like coding writing and you could refer to some samples shared on github for reference:
https://docs.microsoft.com/en-us/windows/win32/search/-search-ifilter-conceptual



If the Answer is helpful, please click Accept Answer and upvote it.

Thanks,
Jenny



1.png (25.1 KiB)
2.png (52.8 KiB)
3.png (20.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

KurtStichelmans-9145 avatar image
0 Votes"
KurtStichelmans-9145 answered JennyYan-MSFT commented

Hi @JennyYan-MSFT ,

I think I understand but to be sure I rephrase.

1/ done on the server where the folder is situated (file server)
2/ done by GPO and visible on the server where the users are logged on (citrix server)
3/ checked on the file server and it is on
4/ ok, this is done on the citrix server where the users are logged on
5/ ok I understand, but I think we are in a situation that it is not needed. default extensions are used.

Open questions:
On the file server there is no Windows Search service. Is that correct? It's a Windows Server 2012R2.
On the citrix server there is a windows search service and this service has to be enabled. It's a Windows Server 2019.
Where is the database of the indexing kept? Is it on the C-drive of the citrix server or is it on the file server.

thanks for your replies.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

1.In my test, even disabling the windows search service in the file server( server with shared folder), I could still be able to search in my client server.

But kindly noted that I only place very few files as a test not actual file server.

2.By default the windows search database is stored:C:\ProgramData\Microsoft\Search\Data\Applications\Windows folder
But for mapped drive, I am not sure if it is still the same place.

https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/windows-search-performance-issues



If the Answer is helpful, please click Accept Answer and upvote it.

Thanks,
Jenny

0 Votes 0 ·