|
by: ap49 |
last post by:
Hi,
I've just started to implement a FULLTEXT search script in PHP. I have
read that the relevance rating should not directly be used to create a
rating (as a percentage say) for the results you may return to a user.
Is there an effective algorithm whereby some normalisation etc. could
effectively be used to provide at least a "rough" guide?
|
by: Hal Halloway |
last post by:
How do I change a MYSQL Fulltext relevance value to: 0 to 100%. I'm just
thinking about usability for the "average" user - maybe they would like
to know...and would not understand the raw value.
Any snips, ideas or links appreciated.
Thanks
|
by: Matt W |
last post by:
Hi all,
I'm planning to use MySQL's full-text search for my forum system
(possibly 5+ million posts). I've been playing with it a lot lately to
see the performance and functionality and have some
suggestions/questions.
First, since a few of you may be wanting to know, here is a thread where
I was doing some speed/optimization tests and stuff with 3 million
posts: http://www.sitepointforums.com/showthread.php?threadid=69555
|
by: Phil Powell |
last post by:
Retracing my problem leads me to believe I never successfully created
fulltext indexes for MySQL 3.23.58 MyISAM tables. I went to the MySQL
manual and was able - or so I thought - to create them, however, my
fulltext search queries fail in 3.23.58 but the exact queries (with
same data) work perfectly in 4.0.10.
--...
|
by: Leif Wessman |
last post by:
I have a very large table with book titles. How can I use Mysql to do a
fulltext search that returns rows that only contains the words that the
user searched for, ordered by relevance? Note, rows that contains some
of the words, but not all - should NOT be in the result.
My database contains >5 000 000 rows. So speed is an issue. The index
itself may be very large if needed.
What's the best way to achive this with MySQL?
Leif
|
|
by: leegold |
last post by:
Given the SQL shouldn't the records be sorting by score ie. relevance? I
thought if "WHERE MATCH" is used it will sort that way. Thanks
mysql> SELECT `page`.`title` , MATCH ( `title` , `descrip` ) AGAINST (
'+code+nasdac' IN BOOLEAN MODE ) AS SCORE FROM `page` WHERE MATCH (
`title` , `descrip` ) AGAINST ( '+code+nasdac' IN BOOLEAN MODE );
+---------------------------------------------+-----------------+
| title | SCORE |...
|
by: leegold |
last post by:
Show full header Is there any way to make relevance when using boolean
mode more useful? If not, are there plans in the Fulltext development
"todo" for making it useful?
I'm thinking of just counting the keyword occurences in records with a
PHP script somehow and using that to order the records somehow. Or doing
a non boolean fulltext search w/relevance first and then melding that in
somehow with a boolean search.
See my results...
|
by: mark |
last post by:
The idea of this is very simle. The site is 800px wide and sits in the
middle of the browser window, on either side of the site I want a different
background image aligned against it. If I were doing this with table based
layout the code would be as follows:
<head>
<style type="text/css">
#bgleft {
background: url(left_half_circle.gif) right top repeat-y;
|
by: nathj |
last post by:
Hi,
I am just trying to develop a search system for my website. The PHP side of things is no trouble at all. I have also set up what I think are appropriate FULLTEXT indices on the tables I will need to search.
I was just trying things out and have got a bit confused. What I think should be happening, based on what I've read, is not happening.
I have a table - tbl_resource, on this table there is FULLTEXT index on three fields -...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|