You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Carl Roberts <ca...@gmail.com> on 2015/01/22 23:47:40 UTC
How do you query a sentence composed of multiple words in a description
field?
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>
Re: How do you query a sentence composed of multiple words in a
description field?
Posted by Jack Krupansky <ja...@gmail.com>.
It appears that you are actually intending to query a phrase rather than a
complete sentence. The former are easy - just enclose the phrase in quotes.
Fielded query applies to a single term, a quoted phrase, or a parenthesized
sub-query, so in your query it applied only to that first term, so Solr
tried to find the remaining terms in the default query field.
-- Jack Krupansky
On Thu, Jan 22, 2015 at 5:47 PM, Carl Roberts <carl.roberts.zapata@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>
>
Re: How do you query a sentence composed of multiple words in a description field?
Posted by Walter Underwood <wu...@wunderwood.org>.
It isn’t that complicated. You need to understand URL escaping for working with any REST client. As soon as you need to read the logs, you’ll need to understand it.
The double quote becomes %22 and the colon becomes %3A. In a parameter, the spaces can be +, but in a path they need to be %20.
http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary%3A%22Oracle+Fusion%22
wunder
Walter Underwood
wunder@wunderwood.org
http://observer.wunderwood.org/
On Jan 23, 2015, at 7:08 AM, Carl Roberts <ca...@gmail.com> wrote:
> Thanks Erick,
>
> I think I am going to start using the browser for testing...:) Perhaps also a REST client for the Mac.
>
> Regards,
>
> Joe
>
> On 1/22/15, 6:56 PM, Erick Erickson wrote:
>> Have you considered using the admin/query form? Lots of escaping is done
>> there for you. Once you have the form of the query down and know what to
>> expect, it's probably easier to enter "escaping hell" with curl and the
>> like....
>>
>> And what is your schema definition for the field in question? the
>> admin/analysis page can help a lot here.....
>>
>> Best,
>> Erick
>>
>> On Thu, Jan 22, 2015 at 3:51 PM, Carl Roberts <carl.roberts.zapata@gmail.com
>>> wrote:
>>> Thanks Shawn - I tried this but it does not work. I don't even get a
>>> response from curl when I try that format and when I look at the logging on
>>> the console for Jetty I don't see anything new - it seems that the request
>>> is not even making it to the server.
>>>
>>>
>>>
>>> On 1/22/15, 6:43 PM, Shawn Heisey wrote:
>>>
>>>> On 1/22/2015 4:31 PM, Carl Roberts wrote:
>>>>
>>>>> 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.
>>>>>
>>>> Quotes are a special character to the shell on your mac, and get removed
>>>> from what the curl command sees. You'll need to put the whole thing in
>>>> quotes (so that characters like & are not interpreted by the shell) and
>>>> then escape the quotes that you want to actually be handled by curl:
>>>>
>>>> curl
>>>> "http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary
>>>> :\"Oracle
>>>> Fusion\""
>>>>
>>>> Thanks,
>>>> Shawn
>>>>
>>>>
>
Re: How do you query a sentence composed of multiple words in a description
field?
Posted by Carl Roberts <ca...@gmail.com>.
Thanks Erick,
I think I am going to start using the browser for testing...:) Perhaps
also a REST client for the Mac.
Regards,
Joe
On 1/22/15, 6:56 PM, Erick Erickson wrote:
> Have you considered using the admin/query form? Lots of escaping is done
> there for you. Once you have the form of the query down and know what to
> expect, it's probably easier to enter "escaping hell" with curl and the
> like....
>
> And what is your schema definition for the field in question? the
> admin/analysis page can help a lot here.....
>
> Best,
> Erick
>
> On Thu, Jan 22, 2015 at 3:51 PM, Carl Roberts <carl.roberts.zapata@gmail.com
>> wrote:
>> Thanks Shawn - I tried this but it does not work. I don't even get a
>> response from curl when I try that format and when I look at the logging on
>> the console for Jetty I don't see anything new - it seems that the request
>> is not even making it to the server.
>>
>>
>>
>> On 1/22/15, 6:43 PM, Shawn Heisey wrote:
>>
>>> On 1/22/2015 4:31 PM, Carl Roberts wrote:
>>>
>>>> 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.
>>>>
>>> Quotes are a special character to the shell on your mac, and get removed
>>> from what the curl command sees. You'll need to put the whole thing in
>>> quotes (so that characters like & are not interpreted by the shell) and
>>> then escape the quotes that you want to actually be handled by curl:
>>>
>>> curl
>>> "http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary
>>> :\"Oracle
>>> Fusion\""
>>>
>>> Thanks,
>>> Shawn
>>>
>>>
Re: How do you query a sentence composed of multiple words in a
description field?
Posted by Erick Erickson <er...@gmail.com>.
Have you considered using the admin/query form? Lots of escaping is done
there for you. Once you have the form of the query down and know what to
expect, it's probably easier to enter "escaping hell" with curl and the
like....
And what is your schema definition for the field in question? the
admin/analysis page can help a lot here.....
Best,
Erick
On Thu, Jan 22, 2015 at 3:51 PM, Carl Roberts <carl.roberts.zapata@gmail.com
> wrote:
> Thanks Shawn - I tried this but it does not work. I don't even get a
> response from curl when I try that format and when I look at the logging on
> the console for Jetty I don't see anything new - it seems that the request
> is not even making it to the server.
>
>
>
> On 1/22/15, 6:43 PM, Shawn Heisey wrote:
>
>> On 1/22/2015 4:31 PM, Carl Roberts wrote:
>>
>>> 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.
>>>
>> Quotes are a special character to the shell on your mac, and get removed
>> from what the curl command sees. You'll need to put the whole thing in
>> quotes (so that characters like & are not interpreted by the shell) and
>> then escape the quotes that you want to actually be handled by curl:
>>
>> curl
>> "http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary
>> :\"Oracle
>> Fusion\""
>>
>> Thanks,
>> Shawn
>>
>>
>
Re: How do you query a sentence composed of multiple words in a description
field?
Posted by Carl Roberts <ca...@gmail.com>.
Thanks Shawn - I tried this but it does not work. I don't even get a
response from curl when I try that format and when I look at the logging
on the console for Jetty I don't see anything new - it seems that the
request is not even making it to the server.
On 1/22/15, 6:43 PM, Shawn Heisey wrote:
> On 1/22/2015 4:31 PM, Carl Roberts wrote:
>> 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.
> Quotes are a special character to the shell on your mac, and get removed
> from what the curl command sees. You'll need to put the whole thing in
> quotes (so that characters like & are not interpreted by the shell) and
> then escape the quotes that you want to actually be handled by curl:
>
> curl
> "http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary:\"Oracle
> Fusion\""
>
> Thanks,
> Shawn
>
Re: How do you query a sentence composed of multiple words in a description
field?
Posted by Shawn Heisey <ap...@elyograg.org>.
On 1/22/2015 4:31 PM, Carl Roberts wrote:
> 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.
Quotes are a special character to the shell on your mac, and get removed
from what the curl command sees. You'll need to put the whole thing in
quotes (so that characters like & are not interpreted by the shell) and
then escape the quotes that you want to actually be handled by curl:
curl
"http://localhost:8983/solr/nvd-rss/select?wt=json&indent=true&q=summary:\"Oracle
Fusion\""
Thanks,
Shawn
Re: How do you query a sentence composed of multiple words in a description
field?
Posted by Carl Roberts <ca...@gmail.com>.
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
> wunder@wunderwood.org
> http://observer.wunderwood.org/
>
>
> On Jan 22, 2015, at 2:47 PM, Carl Roberts <ca...@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>
Re: How do you query a sentence composed of multiple words in a description field?
Posted by Walter Underwood <wu...@wunderwood.org>.
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
wunder@wunderwood.org
http://observer.wunderwood.org/
On Jan 22, 2015, at 2:47 PM, Carl Roberts <ca...@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>