: :Full text search query ::
| От | JD |
|---|---|
| Тема | : :Full text search query :: |
| Дата | |
| Msg-id | CABokaaOpUwgRXqaPhAbRmseaxQgqVv8Nd0PB0S5s86OTJiHSfw@mail.gmail.com обсуждение исходный текст |
| Ответы |
Re: : :Full text search query ::
|
| Список | pgsql-general |
Hi All,
please find herewith the following query
1. select * from partdetails where scode=118 and
(to_tsvector('english'::regconfig, part_number::text)) @@ to_tsquery('104')
it is showing only 1 record as output, it is expected to give 17 records as output.
2. select * from partdetails where scode=118 and
(to_tsvector('english'::regconfig, part_number::text)) @@ to_tsquery('104/')
it is showing only 1 record as output, it is expected to give 17 records as output.
3. select * from partdetails where scode=118 and
(to_tsvector('english'::regconfig, part_number::text)) @@ to_tsquery('104/1')
it is showing 17 records as output.
In our search case we are passing parameter value as 104 and expected to get 17 records.
Kindly some one guide here.
В списке pgsql-general по дате отправления: