Hello,

We have problems with some queries. All of them include the tag NOT, and 
in my opinion, the results don´t make any sense.

First problem:

This query " NOT Proc:ID01 "   returns   95806 results, however this one "
NOT Proc:ID01 OR FileType:PDF_TEXT" returns  11484 results. But it's 
impossible that adding a tag OR the query has less number of results.

Second problem. Here the problem is because of the brackets and the NOT 
tag:

 This query:

(NOT Proc:"ID01" AND NOT FileType:PDF_TEXT) AND sys_FileType:PROTOTIPE 
returns 0 documents.

But this query:

(NOT Proc:"ID01" AND NOT FileType:PDF_TEXT AND sys_FileType:PROTOTIPE) 
returns 53 documents, which is correct. So, the problem is the position of 
the bracket. I have checked the same query without NOTs, and it works fine 
returning the same number of results in both cases.  So, I think the 
problem is the combination of the bracket positions and the NOT tag.

This second problem is less important, but the queries comes from a web 
page and I'd have to change it, so I need to know if the problem is Solr 
or not.



This is the part of the scheme that applies:

<fieldType name="string" class="solr.StrField" sortMissingLast="true"/>



Thank you very much,




David Dávila 

DIT - 915828763

Reply via email to