Re: What is the difference between attorney:(Roger Miller) and attorney:Roger Miller

2013-11-20 Thread Erick Erickson
debug=query is your friend!


On Tue, Nov 19, 2013 at 4:17 PM, Rafał Kuć r@solr.pl wrote:

 Hello!

 Terms surrounded by  characters will be treated as phrase query. So,
 if your default query operator is OR, the attorney:(Roger Miller) will
 result in documents with first or second (or both) terms in the
 attorney field. The attorney:Roger Miller will result only in
 documents that have the phrase Roger Miller in the attorney field.

 You may want to look at Lucene query syntax to understand all the
 differences:
 http://lucene.apache.org/core/4_5_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description

 --
 Regards,
  Rafał Kuć
 Performance Monitoring * Log Analytics * Search Analytics
 Solr  Elasticsearch Support * http://sematext.com/


  Also, attorney:(Roger Miller) is same as attorney:Roger Miller right?
 Or
  the term Roger Miller is run against attorney?

  Thanks,
  -Utkarsh


  On Tue, Nov 19, 2013 at 12:42 PM, Rafał Kuć r@solr.pl wrote:

  Hello!
 
  In the first one, the two terms 'Roger' and 'Miller' are run against
  the attorney field. In the second the 'Roger' term is run against the
  attorney field and the 'Miller' term is run against the default search
  field.
 
  --
  Regards,
   Rafał Kuć
  Performance Monitoring * Log Analytics * Search Analytics
  Solr  Elasticsearch Support * http://sematext.com/
 
 
   We got different results for these two queries. The first one returned
  115
   records and the second returns 179 records.
 
   Thanks,
 
   Fudong
 
 





What is the difference between attorney:(Roger Miller) and attorney:Roger Miller

2013-11-19 Thread fudong li
We got different results for these two queries. The first one returned 115
records and the second returns 179 records.

Thanks,

Fudong


Re: What is the difference between attorney:(Roger Miller) and attorney:Roger Miller

2013-11-19 Thread Rafał Kuć
Hello!

In the first one, the two terms 'Roger' and 'Miller' are run against
the attorney field. In the second the 'Roger' term is run against the
attorney field and the 'Miller' term is run against the default search
field.

-- 
Regards,
 Rafał Kuć
Performance Monitoring * Log Analytics * Search Analytics
Solr  Elasticsearch Support * http://sematext.com/


 We got different results for these two queries. The first one returned 115
 records and the second returns 179 records.

 Thanks,

 Fudong



Re: What is the difference between attorney:(Roger Miller) and attorney:Roger Miller

2013-11-19 Thread Utkarsh Sengar
Also, attorney:(Roger Miller) is same as attorney:Roger Miller right? Or
the term Roger Miller is run against attorney?

Thanks,
-Utkarsh


On Tue, Nov 19, 2013 at 12:42 PM, Rafał Kuć r@solr.pl wrote:

 Hello!

 In the first one, the two terms 'Roger' and 'Miller' are run against
 the attorney field. In the second the 'Roger' term is run against the
 attorney field and the 'Miller' term is run against the default search
 field.

 --
 Regards,
  Rafał Kuć
 Performance Monitoring * Log Analytics * Search Analytics
 Solr  Elasticsearch Support * http://sematext.com/


  We got different results for these two queries. The first one returned
 115
  records and the second returns 179 records.

  Thanks,

  Fudong




-- 
Thanks,
-Utkarsh


Re: What is the difference between attorney:(Roger Miller) and attorney:Roger Miller

2013-11-19 Thread Rafał Kuć
Hello!

Terms surrounded by  characters will be treated as phrase query. So,
if your default query operator is OR, the attorney:(Roger Miller) will
result in documents with first or second (or both) terms in the
attorney field. The attorney:Roger Miller will result only in
documents that have the phrase Roger Miller in the attorney field.

You may want to look at Lucene query syntax to understand all the
differences: 
http://lucene.apache.org/core/4_5_0/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package_description

-- 
Regards,
 Rafał Kuć
Performance Monitoring * Log Analytics * Search Analytics
Solr  Elasticsearch Support * http://sematext.com/


 Also, attorney:(Roger Miller) is same as attorney:Roger Miller right? Or
 the term Roger Miller is run against attorney?

 Thanks,
 -Utkarsh


 On Tue, Nov 19, 2013 at 12:42 PM, Rafał Kuć r@solr.pl wrote:

 Hello!

 In the first one, the two terms 'Roger' and 'Miller' are run against
 the attorney field. In the second the 'Roger' term is run against the
 attorney field and the 'Miller' term is run against the default search
 field.

 --
 Regards,
  Rafał Kuć
 Performance Monitoring * Log Analytics * Search Analytics
 Solr  Elasticsearch Support * http://sematext.com/


  We got different results for these two queries. The first one returned
 115
  records and the second returns 179 records.

  Thanks,

  Fudong