Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Re: Offsite Perlmonks Search Engine

by Elian (Parson)
on Jul 08, 2002 at 01:34 UTC ( [id://180056]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Offsite Perlmonks Search Engine
in thread Offsite Perlmonks Search Engine

If you find that searching gets to be a performance bottleneck, one thing you can do is to build custom indices for the pages in the database. You can build an index for each word in the text, and another with word pairs in the text. (This, for example, would have an entry "if you", "you find", "find that" and so on) Searching for phrases is just a matter of splitting the phrase into pairs and searching for documents that match all the pairs. (It's generally good enough)

You might not have to do this--there's only 180K pages here, so full-text searches may very well not be performance bottlenecks at the moment.

  • Comment on Re: Re: Re: Offsite Perlmonks Search Engine

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://180056]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-24 19:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found