|
Sphinx
Community
Services
Misc
Subscribe in a reader
|
Can I filter by attributes with SphinxQL
Common forum |
1 | 2 | 3 | 4 | 5 | ... |
273 | 274 | 275 | 276 | next »» | Create new thread
|
ericchaves
Name: Eric Posts: 13 |
2010-07-28 20:17:42
| reply!
Hi Folks,
I'm using SphinxQL to test and some indexes implementation, but I could not figure out
how I do filter a query based on an attribute value. For example, one index hold all
posts and declares a multi valued attribute (a set of user ids) that has commented on it.
With SPhinxQL, how would I filter it by an specific id?
Thanks in advance
|
|
barryhunter
Name: Barry Hunter Posts: 1700 |
to: ericchaves, 2010-07-28 20:24:01
| reply!
... WHERE MATCH(...) AND user_id = 45
|
|
ericchaves
Name: Eric Posts: 13 |
to: barryhunter, 2010-07-29 16:59:25
| reply!
>
> ... WHERE MATCH(...) AND user_id = 45
>
>
Thanks!
|
Common forum |
1 | 2 | 3 | 4 | 5 | ... |
273 | 274 | 275 | 276 | next »» | Create new thread
|