Re: Unique City, State results from index based on zip

2007-04-04 Thread Erick Erickson
The default operator for QueryParser is OR, so what you may really be getting is hits on Mill, and Vally is irrelevant. But this is just a guess, it'd be way more helpful if you told us what your index structure was and what query you actually submitted, for which query.toString is really helpful

Re: Unique City, State results from index based on zip

2007-04-04 Thread Jokin Cuadrado
don't index the city names with the zip codes. indexed text - Stored Value --- 94941 - 94941 Mill Vallley 94114 - 94114 Mill Vallley Mill Vallley - Mill Vallley 29715 - 29715 Fort Mill 29708 - 29708 Fort Mill