[Typo3-dev] How do I get indexed search to work on a USER_INT extension
Dmitry Dulepov
typo3 at fm-world.ru
Tue Oct 4 09:06:39 CEST 2005
Hi!
Elmar Hinz wrote:
> So, what does a spider do? Crawling websides and storing information
> about them into an quickly searchable database.
Right.
>
> The point is, that the information of a typo3 website already is in such
> a database. So probably nobody came to the idea of storing them a second
> time into the same database.
Wrong. It is in the database but not in "quickly searchable database".
> Your extension outputs realtime prices of shares. You have to use
> USER_INT because the prices change dynamically. But it could be
> interesting to have the names of the shares searchable indexed. It
> wouldn't matter to much if that spider has indexed an older price, when
> he came to visit the page, if the indexed name leads to the actual page.
This is a special search.
Indexing is good for texts but not for prices. Texts consist from words
and word forms. The one who searches for phrase usually need almost
exact match (i.e. if if he look for "typo" than "typo3" and "typo" are
both matches good but "mambo" is a bad match :))
For prices, range is usually more interesting than exact match, which
makes it very different from text (Noone will search for shares with
price set to $34.07, they will search for shares with price form $30 to
$40). Also, as you said, price changes quite often, so there is no
reason to *index* price data at all. If extension works with prices, it
should have its own search capabilities and search data directly.
Dmitry.
More information about the TYPO3-dev
mailing list