expressing this logic

2007-04-25 Thread Michael Kimsal
Hello all: I'm trying to find a record in my index where the 'type' is changelog and the 'filename' has 'angel' in it. Expressing this as type:changelog filename:+angel or filename:+angel* or filename:+*angel throws a parse error (probably understandably) type:changelog (filename:+angel or

Re: expressing this logic

2007-04-25 Thread Walter Underwood
Enable leading wildcards and try this: type:changelog AND filename:*angel* wunder On 4/25/07 1:34 PM, Michael Kimsal [EMAIL PROTECTED] wrote: Thanks. I'm still no results with your suggestion though. I also tried type:+changelog AND ( (filename:angel) OR (filename:angel*) OR

Re: expressing this logic

2007-04-25 Thread Erik Hatcher
What it probably boils down to is how you analyzed (or didn't) those fields. What is your schema for those fields? Erik On Apr 25, 2007, at 4:40 PM, Michael Kimsal wrote: leading and trailing at the same time don't work. :( This is supposedly fixed in a lucene nightly, but I

Re: expressing this logic

2007-04-25 Thread James liu
if use customer Analyzer, u can use solr admin gui, and click analyzer which can help you use customer analyzer(i use it to be sure my customer analyzer is ok). if u wanna know query syntax ,,,it same with lucene,,so u can read http://lucene.apache.org/java/docs/queryparsersyntax.html