lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Luis Lebolo <luis.leb...@gmail.com>
Subject Re: Query Parser OR AND and NOT
Date Mon, 15 Apr 2013 16:40:45 GMT
What if you try

city:(*:* -H*) OR zip:30*

Sometimes Solr requires a list of documents to subtract from (think of "*:*
-someQuery" converts to "all documents without someQuery").

You can also try looking at your query with debugQuery = true.

-Luis


On Mon, Apr 15, 2013 at 12:25 PM, Peter Schütt <newsgroups@pstt.de> wrote:

> Hallo,
>
>
> Roman Chyla <roman.chyla@gmail.com> wrote in
> news:CAEN8dyWjRL+E3B0HpC9NTLmJTrKASRQLVKZhKqXopMLHHFnJQQ@mail.gmail.com:
>
> > should be: -city:H* OR zip:30*
> >
> -city:H* OR zip:30*               numFound:2520
>
> gives the same wrong result.
>
>
> Another Idea?
>
> Ciao
>   Peter Schütt
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message