File Manager's query_tool --lucene -query is taking hyphen's and underscores as
breaking the query parameter in a set of AND statements
---------------------------------------------------------------------------------------------------------------------------------------
Key: OODT-350
URL: https://issues.apache.org/jira/browse/OODT-350
Project: OODT
Issue Type: Bug
Components: curator
Affects Versions: 0.3, 0.2, 0.1-incubating
Environment: CentOS 5.7, Mac OS X 10.5.7
Reporter: Cameron Goodale
Assignee: Cameron Goodale
Priority: Minor
Fix For: 0.4
UNDERSCORES - Email Excerpt from Tim Stough on the user list:
"...I tried the query that you suggested with a few minor mods for my install:
./query_tool --url http://localhost:9000 --lucene -query
CAS.ProductName:acos_qSnd_090627_04_Production_v050050_Sel2900_r05_111109172137i.txt
and got the following in my File Manager logs:
datacasting 3.1.0cWARNING: Query: [q=CAS.ProductName:acos AND
CAS.ProductName:qSnd_090627_04 AND
CAS.ProductName:Production_v050050_Sel2900_r05_111109172137i AND
CAS.ProductName:txt] for Product Type: [urn:oodt:GenericFile] returned no
results
The addition of single, or double quotes had no effect....."
HYPHENS - Email Excerpt from Cameron Goodale on user and dev lists, searching
on CAS.ProductType:TCCON-garmisch"
"...WARNING: Query: [q=ProductType:TCCON AND ProductType:garmisch] for Product
Type: [urn:co2:TCCON-garmisch] returned no results..."
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira