Re: Query for an exact match

2008-07-22 Thread Ian Connor
Indeed - one of my shards had it listed as "text" doh! thanks for the assurance that led me to find my bug On Tue, Jul 22, 2008 at 11:43 AM, Yonik Seeley <[EMAIL PROTECTED]> wrote: > On Tue, Jul 22, 2008 at 11:39 AM, Ian Connor <[EMAIL PROTECTED]> wrote: >> > omitNorms="true"/> > > This will giv

Re: Query for an exact match

2008-07-22 Thread Yonik Seeley
On Tue, Jul 22, 2008 at 11:39 AM, Ian Connor <[EMAIL PROTECTED]> wrote: > omitNorms="true"/> This will give you an exact match. As I said, if it's not, then you didn't restart and reindex, or you are querying the wrong field. -Yonik

Re: Query for an exact match

2008-07-22 Thread Ian Connor
At the moment for "string", I have: is there an example type so that it will do exact matches? Would "alphaOnlySort" do the trick? It looks like it might. On Tue, Jul 22, 2008 at 11:20 AM, Yonik Se

Re: Query for an exact match

2008-07-22 Thread Yonik Seeley
On Tue, Jul 22, 2008 at 11:08 AM, Ian Connor <[EMAIL PROTECTED]> wrote: > How can I require an exact field match in a query. For instance, if a > title field contains "Nature" or "Nature Cell Biology", when I search > title:Nature I only want "Nature" and not "Nature Cell Biology". Is > that someth

Query for an exact match

2008-07-22 Thread Ian Connor
How can I require an exact field match in a query. For instance, if a title field contains "Nature" or "Nature Cell Biology", when I search title:Nature I only want "Nature" and not "Nature Cell Biology". Is that something I do as a query or do I need to re index it with the field defined in a cert