This is an automated notification sent by LCG Savannah.
It relates to:
bugs #61100, project CDS Invenio
==============================================================================
LATEST MODIFICATIONS of bugs #61100:
==============================================================================
Update of bug #61100 (project cdsware):
Status: None => Fixed
Open/Closed: Open => Closed
_______________________________________________________
Follow-up Comment #3:
I decided that I could do this before moving around the other tests - I'll
ask to have this in master and then move everything around together.
I added the test and squashed things together. This in in my branch
'websearch-find-fin' commit 264a3791adc6f2f2f9a4c8c46d5d569c7948cb9c.
==============================================================================
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: Fixed
Privacy: Public
Assigned to: jblayloc
Originator Email:
Open/Closed: Closed
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 03:09 By: Joe Blaylock <jblayloc>
I decided that I could do this before moving around the other tests - I'll
ask to have this in master and then move everything around together.
I added the test and squashed things together. This in in my branch
'websearch-find-fin' commit 264a3791adc6f2f2f9a4c8c46d5d569c7948cb9c.
-------------------------------------------------------
Date: 2010-02-17 01:48 By: Joe Blaylock <jblayloc>
This is fixed in commit 000dd0928be5ad548abdd70a694fa868b6d5de25 on my branch
'websearch-find-fin'. I'm not ready to mark this closed yet, however, because
it needs tests.
So this is blocking on the testing fixups referred to elsewhere.
-------------------------------------------------------
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/