codekingpro/portable-devtools
114k
1
2
3<!DOCTYPE html>
4
5<html lang="en" data-content_root="./">
6 <head>
7 <meta charset="utf-8" />
8 <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="viewport" content="width=device-width, initial-scale=1" />
9
10 <title>FTS Parser Dialog — pgAdmin 4 8.6 documentation</title>
11 <link rel="stylesheet" type="text/css" href="_static/pygments.css?v=fa44fd50" />
12 <link rel="stylesheet" type="text/css" href="_static/style.css?v=d36593c3" />
13
14 <script src="_static/documentation_options.js?v=d4c83366"></script>
15 <script src="_static/doctools.js?v=9a2dae69"></script>
16 <script src="_static/sphinx_highlight.js?v=dc90522c"></script>
17
18 <script src="_static/sidebar.js"></script>
19
20 <link rel="index" title="Index" href="genindex.html" />
21 <link rel="search" title="Search" href="search.html" />
22 <link rel="next" title="FTS Template Dialog" href="fts_template_dialog.html" />
23 <link rel="prev" title="FTS Dictionary Dialog" href="fts_dictionary_dialog.html" />
24 </head><body>
25 <div class="related" role="navigation" aria-label="related navigation">
26 <h3>Navigation</h3>
27 <ul>
28 <li class="right" style="margin-right: 10px">
29 <a href="genindex.html" title="General Index"
30 accesskey="I">index</a></li>
31 <li class="right" >
32 <a href="fts_template_dialog.html" title="FTS Template Dialog"
33 accesskey="N">next</a> |</li>
34 <li class="right" >
35 <a href="fts_dictionary_dialog.html" title="FTS Dictionary Dialog"
36 accesskey="P">previous</a> |</li>
37 <li class="nav-item nav-item-0"><a href="index.html">pgAdmin 4 8.6 documentation</a> »</li>
38 <li class="nav-item nav-item-1"><a href="managing_database_objects.html" accesskey="U">Managing Database Objects</a> »</li>
39 <li class="nav-item nav-item-this"><a href="">FTS Parser Dialog</a></li>
40 </ul>
41 </div>
42
43 <div class="document">
44 <div class="documentwrapper">
45 <div class="bodywrapper">
46 <div class="body" role="main">
47
48 <section id="fts-parser-dialog">
49<span id="id1"></span><h1><span class="target" id="index-0"></span>FTS Parser Dialog<a class="headerlink" href="#fts-parser-dialog" title="Link to this heading">¶</a></h1>
50<p>Use the <em>FTS Parser</em> dialog to create a new text search parser. A text search
51parser defines a method for splitting a text string into tokens and assigning
52types (categories) to the tokens.</p>
53<p>The <em>FTS Parser</em> dialog organizes the development of a text search parser
54through the following dialog tabs: <em>General</em>, and <em>Definition</em>. The <em>SQL</em> tab
55displays the SQL code generated by dialog selections.</p>
56<img alt="FTS parser dialog general tab" class="align-center" src="_images/fts_parser_general.png" />
57<p>Use the fields in the <em>General</em> tab to identify a text search parser:</p>
58<ul class="simple">
59<li><p>Use the <em>Name</em> field to add a descriptive name for the parser. The name will
60be displayed in the <em>pgAdmin</em> tree control.</p></li>
61<li><p>Select the name of the schema in which the parser will reside from the
62drop-down listbox in the <em>Schema</em> field.</p></li>
63<li><p>Store notes about the domain in the <em>Comment</em> field.</p></li>
64</ul>
65<p>Click the <em>Definition</em> tab to continue.</p>
66<img alt="FTS parser dialog definition tab" class="align-center" src="_images/fts_parser_definition.png" />
67<p>Use the fields in the <em>Definition</em> tab to define parameters:</p>
68<ul class="simple">
69<li><p>Use the drop-down listbox next to <em>Start function</em> to select the name of the
70function that will initialize the parser.</p></li>
71<li><p>Use the drop-down listbox next to <em>Get next token function</em> to select the
72name of the function that will return the next token.</p></li>
73<li><p>Use the drop-down listbox next to <em>End function</em> to select the name of the
74function that is called when the parser is finished.</p></li>
75<li><p>Use the drop-down listbox next to <em>Lextypes function</em> to select the name of
76the lextypes function for the parser. The lextypes function returns an array
77that contains the id, alias, and a description of the tokens used by the
78parser.</p></li>
79<li><p>Use the drop-down listbox next to <em>Headline function</em> to select the name of
80the headline function for the parser. The headline function returns an excerpt
81from the document in which the terms of the query are highlighted.</p></li>
82</ul>
83<p>Click the <em>SQL</em> tab to continue.</p>
84<img alt="FTS parser dialog sql tab" class="align-center" src="_images/fts_parser_sql.png" />
85<p>Your entries in the <em>FTS Parser</em> dialog generate a generate a SQL command. Use
86the <em>SQL</em> tab for review; revisit or switch tabs to make any changes to the SQL
87command.</p>
88<ul class="simple">
89<li><p>Click the <em>Info</em> button (i) to access online help.</p></li>
90<li><p>Click the <em>Save</em> button to save work.</p></li>
91<li><p>Click the <em>Close</em> button to exit without saving work.</p></li>
92<li><p>Click the <em>Reset</em> button to restore configuration parameters.</p></li>
93</ul>
94</section>
95
96
97 <div class="clearer"></div>
98 </div>
99 </div>
100 </div>
101 <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
102 <div class="sphinxsidebarwrapper">
103<h3><a href="index.html">Table of Contents</a></h3>
104<ul class="current">
105<li class="toctree-l1"><a class="reference internal" href="getting_started.html">Getting Started</a></li>
106<li class="toctree-l1"><a class="reference internal" href="external_database.html">External database for pgAdmin user settings</a></li>
107<li class="toctree-l1"><a class="reference internal" href="connecting.html">Connecting To A Server</a></li>
108<li class="toctree-l1"><a class="reference internal" href="managing_cluster_objects.html">Managing Cluster Objects</a></li>
109<li class="toctree-l1 current"><a class="reference internal" href="managing_database_objects.html">Managing Database Objects</a><ul class="current">
110<li class="toctree-l2"><a class="reference internal" href="cast_dialog.html">Cast Dialog</a></li>
111<li class="toctree-l2"><a class="reference internal" href="dbms_job_scheduler.html">Using EDB Job Scheduler</a></li>
112<li class="toctree-l2"><a class="reference internal" href="collation_dialog.html">Collation Dialog</a></li>
113<li class="toctree-l2"><a class="reference internal" href="domain_dialog.html">Domain Dialog</a></li>
114<li class="toctree-l2"><a class="reference internal" href="domain_constraint_dialog.html">Domain Constraints Dialog</a></li>
115<li class="toctree-l2"><a class="reference internal" href="event_trigger_dialog.html">Event Trigger Dialog</a></li>
116<li class="toctree-l2"><a class="reference internal" href="extension_dialog.html">Extension Dialog</a></li>
117<li class="toctree-l2"><a class="reference internal" href="foreign_data_wrapper_dialog.html">Foreign Data Wrapper Dialog</a></li>
118<li class="toctree-l2"><a class="reference internal" href="foreign_server_dialog.html">Foreign Server Dialog</a></li>
119<li class="toctree-l2"><a class="reference internal" href="foreign_table_dialog.html">Foreign Table Dialog</a></li>
120<li class="toctree-l2"><a class="reference internal" href="fts_configuration_dialog.html">FTS Configuration Dialog</a></li>
121<li class="toctree-l2"><a class="reference internal" href="fts_dictionary_dialog.html">FTS Dictionary Dialog</a></li>
122<li class="toctree-l2 current"><a class="current reference internal" href="#">FTS Parser Dialog</a></li>
123<li class="toctree-l2"><a class="reference internal" href="fts_template_dialog.html">FTS Template Dialog</a></li>
124<li class="toctree-l2"><a class="reference internal" href="function_dialog.html">Function Dialog</a></li>
125<li class="toctree-l2"><a class="reference internal" href="language_dialog.html">Language Dialog</a></li>
126<li class="toctree-l2"><a class="reference internal" href="materialized_view_dialog.html">Materialized View Dialog</a></li>
127<li class="toctree-l2"><a class="reference internal" href="package_dialog.html">Package Dialog</a></li>
128<li class="toctree-l2"><a class="reference internal" href="procedure_dialog.html">Procedure Dialog</a></li>
129<li class="toctree-l2"><a class="reference internal" href="publication_dialog.html">Publication Dialog</a></li>
130<li class="toctree-l2"><a class="reference internal" href="schema_dialog.html">Schema Dialog</a></li>
131<li class="toctree-l2"><a class="reference internal" href="sequence_dialog.html">Sequence Dialog</a></li>
132<li class="toctree-l2"><a class="reference internal" href="subscription_dialog.html">Subscription Dialog</a></li>
133<li class="toctree-l2"><a class="reference internal" href="synonym_dialog.html">Synonym Dialog</a></li>
134<li class="toctree-l2"><a class="reference internal" href="trigger_function_dialog.html">Trigger Function Dialog</a></li>
135<li class="toctree-l2"><a class="reference internal" href="type_dialog.html">Type Dialog</a></li>
136<li class="toctree-l2"><a class="reference internal" href="user_mapping_dialog.html">User Mapping Dialog</a></li>
137<li class="toctree-l2"><a class="reference internal" href="view_dialog.html">View Dialog</a></li>
138</ul>
139</li>
140<li class="toctree-l1"><a class="reference internal" href="modifying_tables.html">Creating or Modifying a Table</a></li>
141<li class="toctree-l1"><a class="reference internal" href="management_basics.html">Management Basics</a></li>
142<li class="toctree-l1"><a class="reference internal" href="backup_and_restore.html">Backup and Restore</a></li>
143<li class="toctree-l1"><a class="reference internal" href="developer_tools.html">Developer Tools</a></li>
144<li class="toctree-l1"><a class="reference internal" href="processes.html">Processes</a></li>
145<li class="toctree-l1"><a class="reference internal" href="pgagent.html">pgAgent</a></li>
146<li class="toctree-l1"><a class="reference internal" href="contributions.html">pgAdmin Project Contributions</a></li>
147<li class="toctree-l1"><a class="reference internal" href="release_notes.html">Release Notes</a></li>
148<li class="toctree-l1"><a class="reference internal" href="licence.html">Licence</a></li>
149</ul>
150
151<search id="searchbox" style="display: none" role="search">
152 <h3 id="searchlabel">Quick search</h3>
153 <div class="searchformwrapper">
154 <form class="search" action="search.html" method="get">
155 <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
156 <input type="submit" value="Go" />
157 </form>
158 </div>
159</search>
160<script>document.getElementById('searchbox').style.display = "block"</script>
161 </div>
162<div id="sidebarbutton" title="Collapse sidebar">
163<span>«</span>
164</div>
165
166 </div>
167 <div class="clearer"></div>
168 </div>
169 <div class="related" role="navigation" aria-label="related navigation">
170 <h3>Navigation</h3>
171 <ul>
172 <li class="right" style="margin-right: 10px">
173 <a href="genindex.html" title="General Index"
174 >index</a></li>
175 <li class="right" >
176 <a href="fts_template_dialog.html" title="FTS Template Dialog"
177 >next</a> |</li>
178 <li class="right" >
179 <a href="fts_dictionary_dialog.html" title="FTS Dictionary Dialog"
180 >previous</a> |</li>
181 <li class="nav-item nav-item-0"><a href="index.html">pgAdmin 4 8.6 documentation</a> »</li>
182 <li class="nav-item nav-item-1"><a href="managing_database_objects.html" >Managing Database Objects</a> »</li>
183 <li class="nav-item nav-item-this"><a href="">FTS Parser Dialog</a></li>
184 </ul>
185 </div>
186 <div class="footer" role="contentinfo">
187 <div class="related" role="navigation" aria-label="related navigation">
188 <ul>
189 <li class="left" style="margin-left: 10px">© Copyright (C) 2013 - 2024, The pgAdmin Development Team.</li>
190 <li class="right" style="margin-right: 10px"><a href="genindex.html" title="General Index" accesskey="I">index</a></li>
191 <li class="right" ><a href="fts_template_dialog.html" title="FTS Template Dialog" accesskey="N">next</a> |</li>
192 <li class="right" ><a href="fts_dictionary_dialog.html" title="FTS Dictionary Dialog" accesskey="P">previous</a> |</li>
193 </ul>
194 </div>
195 </div>
196 </body>
197</html>