This is an automated notification sent by LCG Savannah.
It relates to:
bugs #61100, project CDS Invenio
==============================================================================
LATEST MODIFICATIONS of bugs #61100:
==============================================================================
Follow-up Comment #1, bug #61100 (project cdsware):
cds-invenio/modules/websearch/lib$ grep find *.py | grep -v "find_" | grep -v
"\.find(" | grep -v _tests.py |grep -v finditer
search_engine_query_parser.py: self._re_search_term_pattern_match =
re.compile(r'\b(?P<combine_operator>find|and|or|not)\s+(?P<search_term>title:|keyword:)(?P<search_content>.*?\b)(?=
and | or | not |$)', re.IGNORECASE)
search_engine_query_parser.py: if query.lower().startswith("find "):
search_engine_query_parser.py: if combine_operator.lower() ==
'find':
search_engine_query_parser.py: result = 'find ' +
search_term + word
search_engine_query_parser.py: regex_string =
r'\b((?<=find)|(?<=and)|(?<=or)|(?<=not))\s*' + old_keyword
websearch_external_collections_parser.py: def __init__(self,
host="www.slac.stanford.edu", path="spires/find/hep/"):
websearch_external_collections_searcher.py: self.search_url =
"http://www.slac.stanford.edu/spires/find/hep/?rawcmd=find+"
websearch_external_collections_searcher.py: self.search_url =
"http://www.slac.stanford.edu/spires/find/books/?rawcmd=find+"
websearch_external_collections_searcher.py: self.base_url =
"http://www.slac.stanford.edu/spires/find/tserials/"
websearch_external_collections_searcher.py: self.search_url =
"http://www.slac.stanford.edu/spires/find/tserials/?rawcmd=find+"
==============================================================================
OVERVIEW of bugs #61100:
==============================================================================
URL:
<http://savannah.cern.ch/bugs/?61100>
Summary: SPIRES syntax is not fully supported
Project: CDS Invenio
Submitted by: benoitthiell
Submitted on: 2010-01-05 19:23
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
The SPIRES help page
(http://www.slac.stanford.edu/spires/hep/help/index.shtml) lists 'fin' as a
supported abbreviation for 'find'. However it does not seem to be supported
in Invenio as the SPIRES syntax is not detected.
This works: "find t ads".
This doesn't: "fin t ads".
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: 2010-02-17 00:02 By: Joe Blaylock <jblayloc>
cds-invenio/modules/websearch/lib$ grep find *.py | grep -v "find_" | grep -v
"\.find(" | grep -v _tests.py |grep -v finditer
search_engine_query_parser.py: self._re_search_term_pattern_match =
re.compile(r'\b(?P<combine_operator>find|and|or|not)\s+(?P<search_term>title:|keyword:)(?P<search_content>.*?\b)(?=
and | or | not |$)', re.IGNORECASE)
search_engine_query_parser.py: if query.lower().startswith("find "):
search_engine_query_parser.py: if combine_operator.lower() ==
'find':
search_engine_query_parser.py: result = 'find ' +
search_term + word
search_engine_query_parser.py: regex_string =
r'\b((?<=find)|(?<=and)|(?<=or)|(?<=not))\s*' + old_keyword
websearch_external_collections_parser.py: def __init__(self,
host="www.slac.stanford.edu", path="spires/find/hep/"):
websearch_external_collections_searcher.py: self.search_url =
"http://www.slac.stanford.edu/spires/find/hep/?rawcmd=find+"
websearch_external_collections_searcher.py: self.search_url =
"http://www.slac.stanford.edu/spires/find/books/?rawcmd=find+"
websearch_external_collections_searcher.py: self.base_url =
"http://www.slac.stanford.edu/spires/find/tserials/"
websearch_external_collections_searcher.py: self.search_url =
"http://www.slac.stanford.edu/spires/find/tserials/?rawcmd=find+"
_______________________________________________________
Carbon-Copy List:
CC Address | Comment
------------------------------------+-----------------------------
5878 | -COM-
6204 | -SUB-
==============================================================================
This item URL is:
<http://savannah.cern.ch/bugs/?61100>
_______________________________________________
Message sent via/by LCG Savannah
http://savannah.cern.ch/