Huge Collections of Software Manuals and Knowledgebase

GreatManuals.com
Huge Collections of Software Manuals and Knowledgebase

 
Home Contact Us Request to publish your help manuals Request to remove your help manuals
Introduction
» mnoGoSearch
» Main Features
» System Requirements
» Installing, Configuring & Upgrading
Using mnoGoSearch
» Wizard
» Configuring mnoGoSearch
» Tabs
» Servers Tab
» Indexer Tab
» Service
» mnoGoSearch Usage
mnoGoSearch Web Configurator
» mnoGoSearch Web Configurator
» Configuring mnoGoSearch Web Configurator
» Servers & Indexer
» Service
mnoGoSearch Search COM Objects
» mnoGoSearch Search COM Objects
» Search Objects Reference
» ASP Frontend
» URL Aliases
» Character Sets
» mnoGoSearch HTML Parser
Template Design
» Results Page Creation
» Your HTML
» Forms Considerations
» Relative Links & Adding Search Form
» Template Variables
HTTP Codes & Options
» HTTP Codes
» Ispell
» External Parsers
» Storage Modes
» Tags
» Categories
Ordering & Support
» Reporting Bugs
» Ordering
» Support
 

Search Objects Reference

GoSearch object

DBAddr property

String representing data source

e.g. "Oracle://system:manager@/MyOracleDSN/?dbmode=multi"

or "sqlite:///C:/Program+Files/MnoGoSearch/msearch.sdb?dbmode=multi" in Lite version

You must specify this property before launching search.

stealth keylogger setup package freeware data recovery
hack email password ipod reset free keylogger
free undelete keystroke logger hard disk repair

DocCount property

Read only. Value is the total number of documents in your database.

ErrorCode property

Read only. You can check this value after failed operations to find out the cause of the error.

Zero value means no error.

ErrorDescription property

Read only. It is string description of the error happened.

Version property

Read only. It is the number of version of the COM object you use.

SetCharset

SetCharset(charset_name)

This method specifies charset to use.

Example: go_search.SetCharset("windows-1251")

Default setting is "windows-1252" which is suitable for most West European and US installations

SetStopFile
SetStopFile(path)

This method sets stop words file to use.

This file is a list of words that are not taken into account during searching.

There's no stopfile set by default

Example: go_search.SetStopFile("C:\Program Files\MnoGoSearch\stopwords\en.sl")

Find
Find(query)

This method launches search.

Example: Set result= go_search.Find("q=cheap+car")

This will start searching words "cheap" and "car"

SearchResult object
Count property
Read only. Total number of documents found.

Only documents between LastDoc and FirstDoc are accessible

FirstDoc property

Read only. Number of the first accessible document.

LastDoc property

Read only. Number of the last accessible document.

Line
Line(n_line)

ResultLine object representing specified document.

Only documents between LastDoc and FirstDoc are accessible

Example: Set cur_doc= result(result.FirstDoc)

NPages property

Read only. Total number of results pages in selection.

RowsOnPage property

Read only. Number of rows on current page.

SearchSeconds property

Read only. Time elapsed in seconds.

Valid property

Read only. False if Find method failed.

WordInfo property

Read only. String with statistics on wors found.

ResultLine object

Section(name, hlbeg, hlend) method

Returns the given section of the document using hlbeg and hlend variables to highlight the searched words. You can pass empty hlbeg and hlend strings if you don't want to hilight the searched words.

An example accessing various document sections looks like this:

order= line.Section("Order", "", "")
url= line.Section("URL", "", "")
ctype= line.Section("Content-Type", "", "")
clength= line.Section("Content-Length", "", "")
lmod= line.Section("Last-Modified", "", "")
title= line.Section("title", "<b>", "</b>")
body= line.Section("body", "<b>", "</b>")
metadesc= line.Section("meta.description", "<b>", "</b>")
metakeywords= line.Section("meta.keywords", "<b>", "</b>")

Home | Contact Us | Request to publish your help manuals | Request to remove your help manuals