Этот баннер — требование Роскомнадзора для исполнения 152 ФЗ.
«На сайте осуществляется обработка файлов cookie, необходимых для работы сайта, а также для анализа использования сайта и улучшения предоставляемых сервисов с использованием метрической программы Яндекс.Метрика. Продолжая использовать сайт, вы даёте согласие с использованием данных технологий».
Политика конфиденциальности
|
|
|
full-text search : containstable , rank ! help pls
|
|||
|---|---|---|---|
|
#18+
пишу приложение для поисковой системы - все строю в dynamic SP использую containstable с weights для разных частей фразы вопрос такой : меня не устраивает как sql считает rank (он основывается на статистике ) а мне надо если фраза встречается целиком в тексте - пусть будет высший rank чем если только отдельные слова как это обойти ????????? помогите !!!! ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.01.2002, 02:41 |
|
||
|
full-text search : containstable , rank ! help pls
|
|||
|---|---|---|---|
|
#18+
Сразу оговорюсь, что я не специалист по настройке full-text search, но разве этот пример из BOL не про вашу ситуацию ? "Searching for Words or Phrases Using Weighted Values (Weighted Term) You can search for words or phrases and specify a weighting value. Weight, a number from 0.0 through 1.0, indicates the degree of importance for each word and phrase within a set of words and phrases. A weight value of 0.0 is the lowest value available, and a weight value of 1.0 is the highest available value. For example, this query searches for all customer addresses, using weight values, in which any text beginning with the string "des" is near either Rue or Bouchers. Microsoft® SQL Server™ gives a higher rank to those rows with more of the words specified. Therefore, SQL Server gives a higher rank to a row with des Rue Bouchers than to a row with des Rue. USE Northwind GO SELECT CompanyName, ContactName, Address FROM Customers WHERE CONTAINS(Address, 'ISABOUT ("*des*", Rue WEIGHT(0.5), Bouchers WEIGHT(0.9) ) ' ) GO " BOL - Accessing and Changing Relational Data - Full-text Search - Full-text Querying SQL Server Data - Using the CONTAINS Predicate - Searching for Words or Phrases Using Weighted Values (Weighted Term) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 30.01.2002, 13:10 |
|
||
|
|

start [/forum/topic.php?fid=46&fpage=3510&tid=1824135]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
57ms |
get topic data: |
7ms |
get forum data: |
2ms |
get page messages: |
24ms |
get tp. blocked users: |
1ms |
| others: | 256ms |
| total: | 376ms |

| 0 / 0 |
