On Fri, Oct 16, 2009 at 2:20 PM, Shalin Shekhar Mangar <shalinman...@gmail.com> wrote: > On Fri, Oct 16, 2009 at 9:56 PM, Audrey Foo <au...@hotmail.com> wrote: > >> >> Hi Shalin >> I mixed up and sent the wrong schema, one that I had been testing with. >> I was using the same configuration as the example schema with the same >> results. I re-tested by re-indexing just to confirm. Also, yes I do have >> lowercase factory after the word delimiter. >> powerShot does not return the results for 'powershot' only for power and >> shot. >> If I switch lowercase factory before word delimiter, then I do get the >> results for powershot, but may not get the results if just searching 'power' >> or 'shot'. >> > > OK, thanks for the clarification. You need to add preserveOriginal="1" to > your index-time WDF configuration. This will index the original token as > well as the parts so that all of "powershot", "power" and "shot" should > match "powerShot".
That's not the problem... the WDF config in the example server splits and catenates... no need for preserving the original. The issue is that a query of "powershot" or "power shot" would match an index with "PowerShot" or "power-shot". But if the index contains "powershot", then a query of "powerShot" will be split to "power Shot" and not match. It's a known limitation on the query side (can't both catenate and split on the query side). -Yonik http://www.lucidimagination.com