TSearch: Razlika med redakcijama
Iz SDMS
Jump to navigationJump to searchm |
m |
||
| Vrstica 1: | Vrstica 1: | ||
| − | + | Razred '''Search''' je namenjen iskanju po bazi v smislu spletnih iskalnikov. | |
== Določanje nastavitev == | == Določanje nastavitev == | ||
=== AddCategory === | === AddCategory === | ||
| + | Metoda '''AddCategory''' xxx | ||
| + | <declaration> | ||
| + | Method|TSearch.AddCategory | ||
| + | Caption|String|xxx | ||
| + | Name|String|xxx | ||
| + | RecordList|TRecordList|xxx | ||
| + | FieldList|String|xxx | ||
| + | </declaration> | ||
=== AddTemplate === | === AddTemplate === | ||
Redakcija: 13:42, 27. marec 2010
Razred Search je namenjen iskanju po bazi v smislu spletnih iskalnikov.
Vsebina
Določanje nastavitev
AddCategory
Metoda AddCategory xxx
| Method TSearch.AddCategory (Caption, Name As String, RecordList As TRecordList, FieldList As String) | ||
| Caption | String | xxx |
| Name | String | xxx |
| RecordList | TRecordList | xxx |
| FieldList | String | xxx |
AddTemplate
Izdelava indeksa
Rebuild
Update
Iskanje
Execute
<source class="example"> Search.AddCategory('Parcele', 'parc', RL, 'hint')
Search.AddTemplate('txt', 'parc', 'html', '[F a], [F b],[F b]')
Search.AddTemplate('web', 'parc', 'html', '[F a]
[F b]
[F b]')
Search.AddTemplate('mob', 'parc', 'html', '[F a]
[F b]
[F b]')
Search.Rebuild(Category As String) Search.Update
Search.Execute (Query, Category, Template As String, Hits As Long) <source>