| От | Zev Benjamin |
|---|---|
| Тема | Full text search on partial URLs |
| Дата | |
| Msg-id | 527A8E4F.8070400@strangersgate.com обсуждение исходный текст |
| Ответы |
Re: Full text search on partial URLs
|
| Список | pgsql-general |
Hi, I have Postgres full text search set up for my application and it's been working great! However, my users would like their searches to turn up parts of URLs. For example, they would like a search for "foobar" to turn up a document that contains the string "http://example.com/foobar/blah" (and similarly for queries like "example" and "blah). With the default dictionaries for host, url, and url_path, the search query would have to contain the complete host or url path. What is the best way to accomplish this? Should I be looking at building a custom dictionary that breaks down hosts and urls or is there something simpler I can do? Thanks, Zev
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера