Actually, "hello world*" is possible with the ComplexPhraseQueryParser as of 4.8, see SOLR-1604 (yeah, it's been hanging around for a while).
But to your question: Just prefix it with *:*, i.e. q=*:* -hello* Best, Erick On Thu, Oct 30, 2014 at 6:29 PM, Prad Nelluru <prn...@microsoft.com> wrote: > Hi all, > > Is it possible to query Lucene with a negative wildcard query like: -hello*? > I know wildcards aren't allowed inside phrase queries, so -"hello world*" > isn't possible. > > Thanks, > Prad --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org