ticalc.org
Basics Archives Community Services Programming
Hardware Help About Search Your Account
   Home :: Archives :: News :: New search engine

New search engine
Posted by Magnus on 21 March 2004, 12:28 GMT

Our new search engine, announced back when we migrated to the new server, is now finally up. This means you are no longer sent over to Google for all web searches on our site. It also means that you can once again specify which areas of the site you want to search (using Custom search).

For the technically interested, this search engine is based on the tsearch2 package from postgresql, which provides full text indexing with relevance ranking. Since it's included in the database, it integrates very efficiently with the other database parts of our site.

Now that you're done reading this, go rate some files! (1314 votes on 896 programs so far - get to work!)

  Reply to this article


The comments below are written by ticalc.org visitors. Their views are not necessarily those of ticalc.org, and ticalc.org takes no responsibility for their content.


Re: New search engine
Michael McElroy Account Info
(Web Page)

Interesting. Nobody will be able to search for my user name, because apparently the underscore is an invalid search character.

Reply to this comment    21 March 2004, 20:13 GMT

Re: Re: New search engine
AndySoft  Account Info
(Web Page)

That's not good. :X

Reply to this comment    21 March 2004, 21:22 GMT

Re: Re: New search engine
Magnus Hagander  Account Info
(Web Page)

Fixed.

Reply to this comment    21 March 2004, 21:36 GMT


Re: Re: New search engine
no_one_2000_  Account Info
(Web Page)

And mine has three... :) Oh well, it's fixed now.

Reply to this comment    21 March 2004, 22:20 GMT

Re: New search engine
lalu Account Info

I haven't time to read through the discussion right now, but I just wanted to point out that there is a problem when searching for a phrase, e.g.:

"foo"

(with the quotes)

I get an error message saying that there is an invalid character in the search.

Reply to this comment    21 March 2004, 21:49 GMT

Re: Re: New search engine
no_one_2000_  Account Info
(Web Page)

The quotes.

Reply to this comment    21 March 2004, 22:21 GMT


Re: Re: Re: New search engine
lalu Account Info

That's a problem with the search tool, then. I don't see anything invalid about quote characters. Actually, I use quotes pretty often with Google.

Reply to this comment    22 March 2004, 04:14 GMT


Re: Re: Re: Re: New search engine
no_one_2000_  Account Info
(Web Page)

It's a non alphanumberic character, is my guess. Yes, I use quotes quite often in google as well, but... well, this is just a guess, so I could be wrong, but you know how certain characters need to be changed like, [space]=%20 and [quote]=%22? Well... that's probably not it (since the strings never appear in the URL), but I bet it's something related to that.

Reply to this comment    22 March 2004, 22:44 GMT


Re: Re: New search engine
nicklaszlo Account Info
(Web Page)

I use quotes to indicate that I want an exact phrase... It would be nice if the search understood that.

Reply to this comment    24 March 2004, 02:48 GMT


Re: Re: Re: New search engine
Magnus Hagander  Account Info
(Web Page)

Yeah, the engine doesn't support that. But if you type the words after each other (with space in between) and no quotes, it will at least give it a higher score if they are close to each other.

Reply to this comment    25 March 2004, 19:54 GMT

Re: New search engine
Konrad Meyer  Account Info
(Web Page)

I searched for "random number generator" (no quotes), and got 42 results, but Nick D's wasn't one of them!

Reply to this comment    22 March 2004, 00:10 GMT


Re: Re: New search engine
Joe Pemberton  Account Info
(Web Page)

Try "random numbar generator"

Reply to this comment    22 March 2004, 00:14 GMT

Re: Re: Re: New search engine
jrock7286  Account Info
(Web Page)

Yes...you forget that Nick D doesn't know how to spell...j/k ;)

Reply to this comment    23 March 2004, 16:20 GMT


Re: Re: Re: New search engine
PlaidPhantom Account Info

Hey, it worked!

Reply to this comment    24 March 2004, 19:40 GMT

Re: New search engine
Vincent Jünemann  Account Info
(Web Page)

Why doesn't the search engine supports characters like ü and ä??? This way I (or someone else) can't search for my name ... And he won't find anything when I replace the ü with a u... Is there someway this can be fixed?

Reply to this comment    22 March 2004, 11:27 GMT


Re: Re: New search engine
Matthew Marshall  Account Info
(Web Page)

Normally, I would do something like "Vincent J*nemann", but the search doesn't seem to support wild cards either!

MWM

Reply to this comment    22 March 2004, 15:24 GMT


Re: Re: Re: New search engine
Magnus Hagander  Account Info
(Web Page)

Allowing wildcards in the middle of a word will kill any attempt of using indexed search, and required the server to go through the entire text every time. Which will kill performance.

I will look at the issue with ü etc - there should be a way to make that work.

Reply to this comment    22 March 2004, 19:24 GMT


Re: Re: Re: Re: New search engine
no_one_2000_  Account Info
(Web Page)

If you could get the underscore to work, you could probably similarly get any other ASCII character to be accepted into the string... just my guess.

Reply to this comment    22 March 2004, 22:47 GMT

Re: New search engine
chemoautotroph Account Info
(Web Page)

postgresql? is that what their using? ew...! mySQL forever!!

Reply to this comment    22 March 2004, 16:01 GMT


Re: Re: New search engine
ET Account Info
(Web Page)

mySQL isn't free as in 'Open Development' -- postgresql is. The fate of mySQL rests in the hands of one company, which is why the future DFSG UserLinux is going for postgre

Reply to this comment    23 March 2004, 14:12 GMT


Re: Re: Re: New search engine
Matthew Marshall  Account Info
(Web Page)

Other than that, does postgresql have any advantages over MySQL? I have been using MySQL for some database work, and have been very pleased with it. I have never heard of postgresql.

MWM

Reply to this comment    24 March 2004, 15:03 GMT

Re: Re: Re: Re: New search engine
ET Account Info
(Web Page)

From what I've heard (I don't actually use it a whole lot), mySQL isn't very scalable to very large sites. That might be why ticalc went for postgre (or mysql didn't exist back then?). Also, it doesn't support some of the more complex ANSI SQL features. On the upside, mySQL is faster for the loads it is meant to handle.

Reply to this comment    25 March 2004, 03:08 GMT


Re: Re: Re: Re: Re: New search engine
David Phillips  Account Info
(Web Page)

MySQL scales just fine for large sites. Many large sites use it with great success.

Reply to this comment    27 March 2004, 04:53 GMT


Re: Re: Re: Re: New search engine
Magnus Hagander  Account Info
(Web Page)

It has a *lot* of advantages over MySQL. (And in all fairness, MySQL has advantages ove PostgreSQL).

But this is getting grossly off-topic. If you are interested in my comments on this, send me a mail and I'll explain my views on it. (wouldn't want my own posts to be deleted by our news editors...)

Reply to this comment    25 March 2004, 19:56 GMT

Re: Re: Re: Re: Re: New search engine
lalu Account Info

<<wouldn't want my own posts to be deleted by our news editors...>>

Hehe. Wouldn't that be interesting! ;)

Reply to this comment    26 March 2004, 00:24 GMT

Re: Re: Re: Re: Re: Re: New search engine
Morgan Davies  Account Info
(Web Page)

Yes! Wouldn't it??? :-(

Reply to this comment    26 March 2004, 07:42 GMT

Re: Re: Re: Re: Re: Re: New search engine
jrock7286  Account Info
(Web Page)

you should change his post to the "[the contents of this article have been removed because of a violation of the acceptable use policy]" thing. That would be hilarious...

Reply to this comment    26 March 2004, 16:28 GMT


Re: Re: Re: Re: Re: Re: New search engine
chemoautotroph Account Info
(Web Page)

[the contents of this article have been removed because of a violation of the acceptable use policy]

Reply to this comment    26 March 2004, 17:05 GMT


Re: Re: Re: Re: Re: Re: Re: New search engine
W Hibdon  Account Info
(Web Page)

Something tells me that you did that. Seeing that it is the last post in the thread, and MV would have deleted it.

-W-

Reply to this comment    26 March 2004, 21:31 GMT


Re: Re: Re: Re: Re: New search engine
David Phillips  Account Info
(Web Page)

If you do that, please send me a copy too. I haven't used PostgreSQL in about four years (6.5 days) and have been wanting a reason to look at it again.

Reply to this comment    27 March 2004, 04:55 GMT

1  2  3  4  5  6  7  

You can change the number of comments per page in Account Preferences.

  Copyright © 1996-2012, the ticalc.org project. All rights reserved. | Contact Us | Disclaimer