Re: Fields with phrases

2006-09-11 Thread Chris Hostetter
: I have a field called "location" on my index. For example, this string: "A : B" "A C" D was stored on my index : When I search for "location: ", these are the results that I'd like to : retrieve: : 1) location: D -- 1 hit : 2) location: A -- no hits : 3) location: "A B" -- 1 hit : 4) location:

Fields with phrases

2006-09-11 Thread Leandro Saad
Hi all, I have a field called "location" on my index. For example, this string: "A B" "A C" D was stored on my index When I search for "location: ", these are the results that I'd like to retrieve: 1) location: D -- 1 hit 2) location: A -- no hits 3) location: "A B" -- 1 hit 4) location: "A C" -

Re: Fields with phrases

2006-09-11 Thread Erick Erickson
I know of no way of doing this with the standard analyzers, unless you do some fooling around.. I think you'd have to write your own analyzer/tokenizer that you use both at indexing time and query parsing time that broke the input streams up the way you want. In this case, A B would be a SINGLE t

Fields with phrases

2006-09-11 Thread Leandro Saad
Hi all, I have a field called "location" on my index. For example, this string: "A B" "A C" D was stored on my index When I search for "location: ", these are the results that I'd like to retrieve: 1) location: D -- 1 hit 2) location: A -- no hits 3) location: "A B" -- 1 hit 4) location: "A C" -