Simon wrote: > Is there a way to turn off the use of these clauses, or is my only > option to do some string processing on the user input to strip them > out if there is no text after them? I can't add the condition to the > define_index block using the where statement since it is a runtime > value. > > Any ideas on how I can handle this?
Is your :some_id value an attribute or a field? If it's an attribute (declared using 'has' in your define_index) then it should be impossible for your users to circumvent the filter (I think). -- James Healy <jimmy-at-deefa-dot-com> Tue, 05 May 2009 00:18:35 +1000 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en -~----------~----~----~----~------~----~------~--~---
