Hi Tim,

> B) Disallowed characters in product names?
>
>  My product names look like this:  "ALPSRP225250610-H1.0__A"  If I try to
> search for a product by name using a Lucene query through query_tool, the
> query breaks across the "_".  What I see in the log is:
>
> WARNING: Query: [q=Filename:ALPSRP154650650-H1.0 AND Filename:A] for Product
> Type: [urn:oodt:GenericFile] returned no results
>
> So it looks like the __ gets turned into an "AND".  What's the deal and how do
> I fix it?

The '_' in the product name works for us. See:

$ ./query_tool --url $FILEMGR_URL --lucene -query 
FILENAME:acos_qSnd_090627_04_Production_v050050_Sel2900_r05_111109172137i.txt
7151

Maybe you can try putting single quotes around the file name. See:

$ ./query_tool --url $FILEMGR_URL --lucene -query 
FILENAME:'acos_qSnd_090627_04_Production_v050050_Sel2900_r05_111109172137i.txt'
7151

-- cecilia

Reply via email to