Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

properties only, or properties and content #1

Open
vipinbeni opened this issue Apr 24, 2024 · 5 comments
Open

properties only, or properties and content #1

vipinbeni opened this issue Apr 24, 2024 · 5 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@vipinbeni
Copy link

Can we implement advance setting file type using this api searchapi kindly suggest .

@raspopov
Copy link
Owner

Can you explain how it would be? This utility is only a display of search internals.

@vipinbeni
Copy link
Author

Hi @raspopov , Thanks for your kind response ,Actually i want to add new extension and want to change the option "How should this file be indexed" filter for any file type from "properties only" to "properties and content" as my requirement is to index all file content , as i am searching within content of all files in my project .

So kindly suggest how can i implement "Add new extension" and change "How should this file be indexed" to "properties and content" for all file type
advance options
.

@raspopov
Copy link
Owner

I'm not quite sure I understand. Are you looking to do it programmatically? Otherwise, I'm afraid I don't understand why it can't be done in the standard way as in the picture above.

@vipinbeni
Copy link
Author

yes i need to do it programmatically with windows searchapi .

@raspopov raspopov added the documentation Improvements or additions to documentation label Apr 25, 2024
@raspopov raspopov self-assigned this Apr 25, 2024
@raspopov
Copy link
Owner

I think to enable content filtering, you need to set the default value of the HKEY_CLASSES_ROOT\.ext\PersistentHandler registry key to the filter CLSID, for example {5E941D80-BF96-11CD-B579-08002B30BFEB} for a simple text content filter (Windows 10 "Plain Text persistent handler"), or remove the key entirely to revert to properties only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants