seek_quarry
[ class tree: seek_quarry ] [ index: seek_quarry ] [ all elements ]

Procedural File: model.php

Source Location: /models/model.php



Classes:

Model
This is a base class for all models in the SeekQuarry search engine. It provides support functions for formatting search results


Page Details:

SeekQuarry/Yioop -- Open Source Pure PHP Search Engine, Crawler, and Indexer

Copyright (C) 2009 - 2013 Chris Pollett chris@pollett.org

LICENSE:

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

END LICENSE




Tags:

author:  Chris Pollett chris@pollett.org
copyright:  2009 - 2013
link:  http://www.seekquarry.com/
filesource:  Source Code for this file
license:  GPL3


Includes:

require_once(BASE_DIR."/lib/fetch_url.php") [line 40]
Used to handle curl and multi curl page requests

require_once(BASE_DIR."/lib/crawl_constants.php") [line 50]
Used to load common constants among crawl components

require_once(BASE_DIR."/models/datasources/".DBMS."_manager.php") [line 37]
Used to manage database connections

require_once(BASE_DIR."/lib/url_parser.php") [line 46]
For checking if a url is on localhost

require_once(BASE_DIR."/lib/utility.php") [line 43]
For crawlHash function






MAX_TITLE_LENGTH [line 55]

MAX_TITLE_LENGTH = 20

[ Top ]



MIN_SNIPPET_LENGTH [line 59]

MIN_SNIPPET_LENGTH = 100

[ Top ]



SCORE_PRECISION [line 52]

SCORE_PRECISION = 4

[ Top ]



SNIPPET_LENGTH_LEFT [line 57]

SNIPPET_LENGTH_LEFT = 60

[ Top ]



SNIPPET_LENGTH_RIGHT [line 58]

SNIPPET_LENGTH_RIGHT = 50

[ Top ]



TITLE_LENGTH [line 54]

TITLE_LENGTH = 20

[ Top ]




Documentation generated by phpDocumentor 1.4.3