On Saturday, March 08, 2008, SNake! wrote: > Actually I am using Luke to check my index, I found it seems to index > the field without the number (in the case using text type). > > And then I try to give the field like "[1],[2],[10]" as keyword type. > I try to query as authorIDs:"\[1\]" but return no result
Make sure you are using a number analyzer. By default, Zend_Search_Lucene (and thus sfLucene) does not index numbers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---