views:

16

answers:

1

Hi, Can any one guide how to search number with wildcard on thinking sphinx...

I have tried, by using

User.search "12", :star => true

which result only 12 but i need to display the number whichever has 12. like prefix and suffix...

A: 

Hi Senthil

Have you enabled either min_infix_len or min_prefix_len, and enable_star? The documentation covers these settings in a bit more detail.

pat
thanks working fine !!!
Senthil Kumar Bhaskaran