Can you post your code? Make sure that when you use wildcard in your custom query parser, it will generate either WildcardQuery or PrefixQuery correctly.
is_maximum wrote: > > Yes karl, when I explore the index by Luke I can see the terms > for example I have a field namely, patientResult, it contains value "Ca. > Oxalate:many" and also other values such as "Ca. Oxalate:few" etc. > > the problems are when I put this query: patientResult:(Ca. Oxalate:few) > the result is > 84329 Ca. Oxalate:few > 112519 Ca. Oxalate:many > 139141 Ca. Oxalate:many > 394321 Ca. Oxalate:few > 397671 Ca. Oxalate:nod > 387549 Ca. Oxalate: mod > > however this is not the required result but another problem is when I put > patientResult:Oxalate or patientResult:Oxalate* no result will return!!! > > let me tell you that I am extended MultiFieldQueryParser to override its > methods and in getFieldQuery(...) method I return TermQuery > > I don't know what I was made wrong? > > > > > On 8/15/07, karl wettin <[EMAIL PROTECTED]> wrote: >> >> >> 15 aug 2007 kl. 07.18 skrev Mohammad Norouzi: >> >> > I am using WhitespaceAnalyzer and the query is " icdCode:H* " but >> > there is >> > no result however I know that there are many documents with this >> > field value >> > such as H20, H20.5 etc. this field is tokenized and indexed >> > what is >> > wrong with this? >> > when I test this query with Luke it will return no result as well. >> >> Can you also use Luke to inspect documents you know should contain these >> terms and make sure it really is in there? >> >> -- >> karl >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > Regards, > Mohammad > -------------------------- > see my blog: http://brainable.blogspot.com/ > another in Persian: http://fekre-motefavet.blogspot.com/ > > -- View this message in context: http://www.nabble.com/query-question-tf4271198.html#a12185271 Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]