Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

CreateSearchIndex

CreateSearchIndex[dir]
creates a search index from all files in the directory dir and its subdirectories.

CreateSearchIndex[{source1,source2,}]
creates a search index from all sources .

CreateSearchIndex[sources,"name"]
gives the search index the specified name.

Details and OptionsDetails and Options

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Create a search index from two files:

In[1]:=
Click for copyable input
Out[1]=

TextSearch searches in the index:

In[2]:=
Click for copyable input
Out[2]=

Create a search index from all files and subfolders in a folder:

In[1]:=
Click for copyable input
Out[1]=

Search the index:

In[2]:=
Click for copyable input
Out[2]=
Introduced in 2015
(10.2)