nowhere (unless I overlooked it) do you ever populate city_search in the first place, it's simply defined..
Also, I don't think (but check it) that <copyField> is chainable. I don't *think* that <copyField source="city" dest="city_search"/ <copyField source="city_search" dest = "citytext_search" /> will populate citytext_search. Ahmet's suggestion to do two <copyField>s with source="city" is spot-on.... Best Erick On Sun, Nov 14, 2010 at 5:48 PM, Ahmet Arslan <iori...@yahoo.com> wrote: > > > but I dont understand why its not indexed. > > Probably something wrong with data-config.xml. > > > So you can see, that the city field DOES index some data, > > whereas the > > city_search and citytext_search have NO data at all... > > Then populate these two fields from city via copyField. It is 100% legal. > > <copyField source="city" dest="city_search"/> > <copyField source="city" dest="citytext_search"/> > > > >