Browse Source

extract keywords from URI

main
ghost 1 year ago
parent
commit
3235133cd0
  1. 7
      config/sphinx.conf.txt

7
config/sphinx.conf.txt

@ -14,6 +14,10 @@ source hostPage : common
sql_query = \ sql_query = \
SELECT `hostPage`.`hostPageId`, \ SELECT `hostPage`.`hostPageId`, \
`hostPage`.`uri`, \ `hostPage`.`uri`, \
REPLACE(`hostPage`.`uri`, '.', ' '), \
REPLACE(`hostPage`.`uri`, '-', ' '), \
REPLACE(`hostPage`.`uri`, '_', ' '), \
REPLACE(`hostPage`.`uri`, '/', ' '), \
`hostPage`.`rank`, \ `hostPage`.`rank`, \
`host`.`name`, \ `host`.`name`, \
IF (`host`.`port` IS NOT NULL, \ IF (`host`.`port` IS NOT NULL, \
@ -34,9 +38,6 @@ source hostPage : common
sql_attr_uint = rank sql_attr_uint = rank
sql_attr_string = mime sql_attr_string = mime
sql_attr_string = uri
sql_attr_string = hostURL
sql_attr_string = hostPageURL
} }
index hostPage index hostPage

Loading…
Cancel
Save