You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Cameron Goodale (Created) (JIRA)" <ji...@apache.org> on 2011/11/18 07:15:51 UTC
[jira] [Created] (OODT-350) File Manager's query_tool --lucene
-query is taking hyphen's and underscores as breaking the query parameter
in a set of AND statements
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
[jira] [Resolved] (OODT-350) File Manager's query_tool --lucene
-query is taking hyphen's and underscores as breaking the query parameter
in a set of AND statements
Posted by "Cameron Goodale (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cameron Goodale resolved OODT-350.
----------------------------------
Resolution: Fixed
Resolved in revision 1203505
> 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.1-incubating, 0.2, 0.3
> Environment: CentOS 5.7, Mac OS X 10.5.7
> Reporter: Cameron Goodale
> Assignee: Cameron Goodale
> Priority: Minor
> Fix For: 0.4
>
> Attachments: OODT-350.Goodale.2011-11-17.patch.txt
>
>
> 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
[jira] [Updated] (OODT-350) File Manager's query_tool --lucene
-query is taking hyphen's and underscores as breaking the query parameter
in a set of AND statements
Posted by "Cameron Goodale (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OODT-350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cameron Goodale updated OODT-350:
---------------------------------
Attachment: OODT-350.Goodale.2011-11-17.patch.txt
Huge thanks to Chris Mattmann for helping me track down the code to change, and thanks to Brian Foster for finding and fixing this issue in his wengine branched filemgr code.
> 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.1-incubating, 0.2, 0.3
> Environment: CentOS 5.7, Mac OS X 10.5.7
> Reporter: Cameron Goodale
> Assignee: Cameron Goodale
> Priority: Minor
> Fix For: 0.4
>
> Attachments: OODT-350.Goodale.2011-11-17.patch.txt
>
>
> 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