bannerBaka-UpdatesManga
Manga Poll
What part of the world would you like to see represented more in manga/anime?
North Africa
South Africa
East Asia (excluding Japan)
Central Asia
South Asia
Southeast Asia
North America
Central America
South America
Eastern Europe
Western Europe
Middle East
Oceania
Antarctica
 
mascot
Manga is the Japanese equivalent of comics
with a unique style and following. Join the revolution! Read some manga today!

RSS Feed

Search Changes

Pages (2[ 1 2 ] Next
You must be registered to post!
From User
Message Body
Member


15 years ago
Posts: 1762

...


... Last edited by Raeryn 10 years ago
user avatar
icon Member


15 years ago
Posts: 9026

BUMP.

Givin' this some love~


________________

source: animenewsnetwork

Join SRoMU Scanlations or visit #SRoMU at IRCHighWay.

user avatar
Site Admin


15 years ago
Posts: 2854

Currently, this was removed due to performance issues. I didn't realize it before, but I'm having trouble getting MySQL to search two fulltext indexes which reside in two different tables at the same time. MySQL will not use the fulltext key in this case, and each search was actually doing a full table scan. I took out the description fulltext search from the query string, and the queries immediately optimized to use the title fulltext index. I've been messing with the query for a while to figure out hot to fix it, but no luck so far.

Until I can figure that out, I'm afraid we'll have to do without description searches for now ...

I could probably make an option where you can decide to search specifically by description or title, that might work... Let me know what you think.

-M


user avatar
Namehage
Member


15 years ago
Posts: 1619

Is there a way that you can search for multiple words that must show up together? Such as put quotes around them? Or some other way that you can narrow out those descriptions or titles which only have one but not both?

Edit: Being able to choose to search by title or description would be useful (definitely more useful than not being able to search descriptions at all).


________________

If you've ever thought or said "Nice Guys finish last" and really meant it, then you should probably read this LJ post by DivaLion. It's incredibly insightful whether you're male or female.

From a bumper sticker I like:
"If you're gonna ride my ass, at least pull my hair."

user avatar
Site Admin


15 years ago
Posts: 2854

Use "AND" and "OR"

Naruto AND dj
something OR something2


user avatar
Namehage
Member


15 years ago
Posts: 1619

Heh, should've known. Thanks. =)


________________

If you've ever thought or said "Nice Guys finish last" and really meant it, then you should probably read this LJ post by DivaLion. It's incredibly insightful whether you're male or female.

From a bumper sticker I like:
"If you're gonna ride my ass, at least pull my hair."

user avatar
icon Member


15 years ago
Posts: 9026

Heh, should have known indeed. Thanks for the heads up~
And yeah, searching by description solely is a handy feature.

It should be implemented if possible~


________________

source: animenewsnetwork

Join SRoMU Scanlations or visit #SRoMU at IRCHighWay.

Post #350110 - Reply To (#350099) by Manick
Post #350110 - Reply To (#350099) by Manick
Member


15 years ago
Posts: 1762

...


... Last edited by Raeryn 10 years ago
user avatar
Site Admin


15 years ago
Posts: 2854

This is done.


Member


15 years ago
Posts: 1762

...


... Last edited by Raeryn 10 years ago
user avatar
Member


15 years ago
Posts: 3120

A bit of an unrelated issue but I've noticed that the search doesn't come up with results when you search for numbers like "five" or "zero".


user avatar
Site Admin


15 years ago
Posts: 2854

use quotes for common words

"five"

edit: also, small bug fixed, i removed the associated titles from description searches, so only the main title shows up now.


... Last edited by Manick 15 years ago
Post #352302 - Reply To (#350099) by Manick
Post #352302 - Reply To (#350099) by Manick
Member


15 years ago
Posts: 16

Quote from Manick

Currently, this was removed due to performance issues. I didn't realize it before, but I'm having trouble getting MySQL to search two fulltext indexes which reside in two different tables at the same time. MySQL will not use the fulltext key in this case, and each search was actually doing a full table scan. I took out the description fulltext search from the query string, and the queries immediately optimized to use the title fulltext index. I've been messing with the query for a while to figure out hot to fix it, but no luck so far.

Until I can figure that out, I'm afraid we'll have to do without description searches for now ...

I could probably make an option where you can decide to search specifically by description or title, that might work... Let me know what you think.

-M

If you still have the same problem: Maybe it works if you do the search multiple times, with only one fulltext search per search and merge the results (either with union from sql or php)?

Besides that, series seem to show up multiple times on the search results, is that possible to remove? For example if you search for "zero" in the title, you get Zero-One 3 times in a row, in cause of the associated names at least it seems so to me.


user avatar
Site Admin


15 years ago
Posts: 2854

It's done that way on purpose, so that you can search based on associated titles ...


Member


15 years ago
Posts: 16

Yes. But then you only need to display one of the matches for the same series, no?
You would still find the series like that, but it wastes less space so it is easier to look over the results, especially if the same series results dont come in a row it get's a bit confusing to look over.


Pages (2[ 1 2 ] Next
You must be registered to post!