Project

General

Profile

Actions

Bug #3314

closed

Morpho abstract search comes up with 0

Added by Callie Bowdish almost 16 years ago. Updated about 14 years ago.

Status:
Resolved
Priority:
Normal
Category:
morpho - query
Target version:
Start date:
05/22/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3314

Description

The Morpho search only for abstract comes up with zero even if that word is part of abstracts on the server. This bug is similar to 3177

Actions #1

Updated by ben leinfelder over 14 years ago

was using the pathexpr: "abstract" when it should be "abstract/para"

Actions #2

Updated by Margaret O'Brien over 14 years ago

<abstract> is TextType, which means that the <para> element is optional. queries should search any children of <abstract>

Actions #3

Updated by ben leinfelder over 14 years ago

are there other children besides <para> that we might encounter or is it literally any possible child?

Actions #4

Updated by ben leinfelder over 14 years ago

oh - it's defined, but not to any particular depth:

The "text" element allows for both formatted and
unformatted text blocks to be included in EML. It can contain a number
of relevant subsections that allow the use of titles, sections, and
paragraphs in the text block. This markup is a subset of DocBook.

I'm not sure how the path query can handle this since it won't know all the possible paths to search:

abstract/section/title
abstract/section/para
abstract/para
abstract
etc....

Actions #5

Updated by ben leinfelder over 14 years ago

Okay - we can now add as many paths as we want, provided we know what we want...
I've got 'abstract' and 'abstract/para' in as defaults.
This is also something we can specify in the config.xml later on w/o code changes...so that's a bonus.

Actions #6

Updated by Margaret O'Brien over 14 years ago

Many of the TextType elements can be nested inside each other, too - so there is really no way to get all possible paths. It seems to me that indexing in metacat has the same issue -- ie, indexing the abstract without having to list every possible path. But I dont remember how they get around it. Duane might be able to help - he had given me some tips that worked in my metacat queries.

Actions #7

Updated by ben leinfelder over 14 years ago

just using <para> to match would free us from concerns of how deeply nested they might be...but it also wouldn't restrict the searching to children of <abstract> (method description and a bunch of other fields also use TextType)
Metacat doesn't support this kind of arbitrarily/n-th nested path querying, so i'm not sure Morpho can at this point.

Actions #8

Updated by ben leinfelder about 14 years ago

closing - was included in 1.8.0 release

Actions #9

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 3314

Actions

Also available in: Atom PDF