http://wiki.apache.org/lucene-java/LuceneFAQ#Why_am_I_getting_no_hits_.2BAC8_incorrect_hits.3F
-- Ian. On Wed, Sep 5, 2012 at 4:24 PM, Ramprakash Ramamoorthy <youngestachie...@gmail.com> wrote: > Take a look at this query : > > -HOSTNAME:ram AND SEVERITY:information > > The above query isn't giving me the intended results. I know we need to > append a * : * to a query that it is totally negative, also I found that > the above case could be solved by appending a * : * to the HOSTNAME search > criteria, but it might be a serious performance crunch, since my > application gets search queries from the end user directly. > > How do I go about this and help me arrive at an optimal solution please! > P.S : Have posted this query at stackoverflow as well > > -- > With Thanks and Regards, > Ramprakash Ramamoorthy, > Engineer Trainee, > Zoho Corporation. > +91 9626975420 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org