Open/Find Resource View
The Open/Find Resource view is designed to offer advanced search capabilities either by using a simple text search or by using the Apache Lucene - Query Parser Syntax. By default, the view is presented in the left side of the Oxygen JSON Editor layout, next to the Project view . If the view is not displayed, it can be opened by selecting it from the menu.
You can use this view to find a file in the current Oxygen JSON Editor project by typing only a few letters of the file name of a document or a fragment of the content you are searching for. The Open/Find Resource view also supports searching in document edits (comments, tracked change insertions/deletions, and highlighted content) by selecting the In reviews option.
Search Results
Options Available in the View
- Settings - Drop-down menu
that includes the following settings for the view:
- Clear Index - Clears the index.
- Show description - Presents the search results in a more compact form, displaying only the title and the location of the resources.
- Options - Opens the Open/Find Resource preferences page where you can configure various search options. For example, you can specify a Content language that differs from the default UI language in case your document contains multiple languages.
- In file paths - Select this option to search for resources by their name or by its path (or a fragment of its path).
- In content - Select this option to search through the content of your resources.
- In reviews - Select this option to search through the comments, tracked change insertions/deletions, or highlights in your resources.
- Reindex - Use this option to reindex your resources.
Indexing Process
The content of the resources used to search in is parsed from an index. The indexing is performed both automatically and on request. Automatic indexing is performed when you modify, add, or remove resources in the currently indexed project. If the index was never initialized, the index is not updated on project changes.
To improve performance, the indexing process skips the following set of common English words (the so-called stop words): a, an, and, are, as, at, be, but, by, for, if, in, into, is, it, no, not, of, on, or, such, that, the, their, then, there, these, they, this, to, was, will, with. This means that if you are searching for any of these words, the indexing process will not be able to match any of them. However, you can configure the list of stop words in the Open/Find Resource preferences page.
Caching Mechanism
If there is no file found that matches your file pattern or text search, a possible cause is that the file you are searching for was added to the Oxygen JSON Editor project after the last caching operation. In this case, re-indexing the project files with the Reindex button enables the file to be found. The date and time of the last index operation are displayed below the file list.
Opening the Results
Once you find the files that you want to open, select them in the list and click the Open button (or double-click them). Each of the selected files is opened in the editor associated with the type of the file.
Resources
For more information about the Open/Find Resource feature and its search capabilities, watch our video demonstration: