![]() Topic awaiting preservation: Sorting a MySQL multi-table SELECT query by relevancy (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: f(x) |
![]() |
Bipolar (III) Inmate From: f(x) |
![]() |
Paranoid (IV) Inmate From: Madison, Indiana, USA |
![]() |
Bipolar (III) Inmate From: f(x) |
![]() Well, I almost have what I want. code: SELECT _test_items . * , _test_stores.name AS storen,
|
Paranoid (IV) Inmate From: France |
![]() I've never used the MATCH clause in SQL, by my first guess is that if the MATCH clause fed by a single word, whatever its size, works then you can build a query like : |
Bipolar (III) Inmate From: f(x) |
![]() I don't know if you're seeing what I'm getting at. MATCH ignores words 3 characters or less, this leaves a issue with words like red. For those words, I use LIKE which recognizes the small words. quote: |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() you'll have no luck with 3 word search terms and mysql - unless you change the source and compile yourself. |
Bipolar (III) Inmate From: f(x) |
![]() Well, since there's no way around this problem I'm having, I'll have PHP look at the search query given and sort be relevancy whenever possible. The word red is a heavily used word in searches preformed. About 73 (5.7%) of all 1270 searches thus far contained the word red, 27 (2.1%) searches were red alone. So it's not a rare sight for what I need it for. |
Paranoid (IV) Mad Scientist with Finglongers From: Germany |
![]() well, I just found out, you can actually reconfigure mysql (4.0.0 +) to consider words <3 letters in your searches. |
Bipolar (III) Inmate From: f(x) |
![]() |