Hi Walter,

If I try this from my Mac shell:

curl http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary:"Oracle Fusion"

I don't get a response.

If I try this, it works!:

curl "http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=name:Oracle";

So I think the entire curl url needs to be in quotes in the command line and my problem is that I do not know how to put the url in quotes and then the field value in quotes inside that.

BTW - If I try the first URL from a browser, it works just fine.

Any suggestions?

On 1/22/15, 5:54 PM, Walter Underwood wrote:
Your query is this:

summary:Oracle Fusion Middleware

That searches for “Oracle” in the summary field and “Fusion” and “Middleware” 
in whatever your default field is.

You want:

summary:”Oracle Fusion Middleware”

wunder
Walter Underwood
wun...@wunderwood.org
http://observer.wunderwood.org/


On Jan 22, 2015, at 2:47 PM, Carl Roberts <carl.roberts.zap...@gmail.com> wrote:

Hi,

How do you query a sentence composed of multiple words in a description field?

I want to search for sentence "Oracle Fusion Middleware" but when I try the 
following search query in curl, I get nothing:

curl "http://localhost:8983/solr/nvd-rss/select?q=summary:Oracle Fusion 
Middleware&wt=xml&indent=true"

If I actually try using "Oracle+Fusion+Middleware" I get hits with Oracle or Fusion or 
Middleware but not just the ones with the string "Oracle Fusion Middleware".

This is the response:

<?xml version="1.0" encoding="UTF-8"?>
<response>

<lst name="responseHeader">
  <int name="status">0</int>
  <int name="QTime">1</int>
  <lst name="params">
    <str name="indent">true</str>
    <str name="q">summary:Oracle Fusion Middleware</str>
    <str name="wt">xml</str>
  </lst>
</lst>
<result name="response" numFound="128" start="0">
  <doc>
    <str name="id">CVE-2014-6526</str>
    <str name="summary">Unspecified vulnerability in the Oracle Directory Server 
Enterprise Edition component in Oracle Fusion Middleware 7.0 allows remote attackers to affect 
integrity via unknown vectors related to Admin Console.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6526</str>
    <long name="_version_">1491039690408591361</long></doc>
  <doc>
    <str name="id">CVE-2014-6548</str>
    <str name="summary">Unspecified vulnerability in the Oracle SOA Suite component 
in Oracle Fusion Middleware 11.1.1.7 allows local users to affect confidentiality, integrity, and 
availability via vectors related to B2B Engine.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6548</str>
    <long name="_version_">1491039690410688513</long></doc>
  <doc>
    <str name="id">CVE-2014-6580</str>
    <str name="summary">Unspecified vulnerability in the Oracle Reports Developer 
component in Oracle Fusion Middleware 11.1.1.7 and 11.1.2.2 allows remote attackers to affect 
integrity via unknown vectors.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6580</str>
    <long name="_version_">1491039690424320000</long></doc>
  <doc>
    <str name="id">CVE-2014-6594</str>
    <str name="summary">Unspecified vulnerability in the Oracle iLearning component 
in Oracle iLearning 6.0 and 6.1 allows remote attackers to affect confidentiality via unknown vectors 
related to Learner Pages.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6594</str>
    <long name="_version_">1491039690435854337</long></doc>
  <doc>
    <str name="id">CVE-2015-0372</str>
    <str name="summary">Unspecified vulnerability in the Oracle Containers for J2EE 
component in Oracle Fusion Middleware 10.1.3.5 allows remote attackers to affect confidentiality via 
unknown vectors.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0372</str>
    <long name="_version_">1491039690456825857</long></doc>
  <doc>
    <str name="id">CVE-2015-0376</str>
    <str name="summary">Unspecified vulnerability in the Oracle WebCenter Content 
component in Oracle Fusion Middleware 11.1.1.8.0 allows remote attackers to affect integrity via 
unknown vectors related to Content Server.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0376</str>
    <long name="_version_">1491039690458923008</long></doc>
  <doc>
    <str name="id">CVE-2015-0420</str>
    <str name="summary">Unspecified vulnerability in the Oracle Forms component in 
Oracle Fusion Middleware 11.1.1.7 and 11.1.2.2 allows remote attackers to affect confidentiality via 
unknown vectors related to Forms Services.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0420</str>
    <long name="_version_">1491039690481991681</long></doc>
  <doc>
    <str name="id">CVE-2015-0436</str>
    <str name="summary">Unspecified vulnerability in the Oracle iLearning component 
in Oracle iLearning 6.0 and 6.1 allows remote attackers to affect confidentiality via unknown vectors 
related to Login.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2015-0436</str>
    <long name="_version_">1491039690488283137</long></doc>
  <doc>
    <str name="id">CVE-2014-6525</str>
    <str name="summary">Unspecified vulnerability in the Oracle Web Applications 
Desktop Integrator component in Oracle E-Business Suite 11.5.10.2, 12.0.6, 12.1.3, 12.2.2, 12.2.3, 
and 12.2.4 allows remote authenticated users to affect integrity via unknown vectors related to 
Templates.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6525</str>
    <long name="_version_">1491039690408591360</long></doc>
  <doc>
    <str name="id">CVE-2014-6556</str>
    <str name="summary">Unspecified vulnerability in the Oracle Applications DBA 
component in Oracle E-Business Suite 11.5.10.2, 12.0.6, 12.1.3, 12.2.2, 12.2.3, and 12.2.4 allows 
remote authenticated users to affect confidentiality, integrity, and availability via vectors related 
to AD_DDL.</str>
    <str 
name="link">http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2014-6556</str>
    <long name="_version_">1491039690412785664</long></doc>
</result>
</response>

Reply via email to