PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 07-17-2008, 12:45 AM   #1
ddrplayer
Green Mole
 
Join Date: Jul 2008
Posts: 2
sorting results

i have the same problem with u
i have the function that sort the results
but the algorithm (sorting results) is very bad
when i implement it with php,it's show a slow execution
ddrplayer is offline   Reply With Quote
Old 07-17-2008, 12:55 AM   #2
ddrplayer
Green Mole
 
Join Date: Jul 2008
Posts: 2
----------------------------
someone (i don't know...) posted :
hi all

i've just installed phpdig for a big website with hundreds of pages. in the search results i've included html pages and also .doc, .pdf, etc.

how do i sort the list with these certain rules that i want to use:
- title rule: if a keyword or sentence match the title then this result will apear the top
- frequency rule: if a keyword or a phrase matches many times on a single page then pages with the most frequent one appear the top
- extension rule: html results will apear at the top then pdf and doc results

if there's no built-in functions that comes with phpdig for these features or don't know how but know which file that control the algorithm, queries and logic that would also help.

thanks b4
---------------------------------------


i have the same problem with u
i have the function that sort the results
but the algorithm (sorting results) is very bad
when i implement it with php,it's show a slow execution
ddrplayer is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
No most searched terms, biggest results, most 0 results, last search queries, etc. jongag1 How-to Forum 6 04-22-2005 11:43 AM
Sorting within Class griffinmt Coding & Tutorials 0 05-23-2004 11:43 AM
Searchfeed results displayed with phpdig results Nosmada How-to Forum 1 01-04-2004 12:39 PM


All times are GMT -8. The time now is 04:15 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.