MouseBIRN.MBATSearchingAlgorithm (r1.1 vs. r1.7)
Diffs

 <<O>>  Difference Topic MBATSearchingAlgorithm (r1.7 - 07 May 2008 - SteveAnderson)

META TOPICPARENT MBATSearch

Data Source Searching Algorithm Used in MBAT

Line: 15 to 15

Loop through all user-selected sources and submit queries to each source.
  • Changed:
    <
    <
    For each source, verify that all user-selected parameters are supported. If they are not, the query to that source will fire an error event indicating that the source does not support the specified query .
    >
    >
    For each source, verify that all user-selected parameters are supported. If they are not, the query to that source will fire an error event indicating that the source does not support the specified query. The one exception to this case occurs when the user has selected no "experimental info" (aka data type) parameter. If no data type parameter is selected, query all data types available for that source.

    Changed:
    <
    <
    Possibilities to implement in the future:

    • Compile the list of supported parameters for each source prior to the search. This list can then be used to constrain the Search GUI options so that the user cannot select invalid source/parameter combinations.
    >
    >
    To implement in the future:

    • When an adequate keyword search capability is available, add an alternative Search GUI to support keyword queries.


     <<O>>  Difference Topic MBATSearchingAlgorithm (r1.6 - 07 May 2008 - DarenLee)

    META TOPICPARENT MBATSearch

    Data Source Searching Algorithm Used in MBAT

    The following is a description of the high-level "algorithm" that summarizes the MBAT search behavior as implemented in client.gui.MainPanelMediator.doSearch().

    Changed:
    <
    <
    >
    >

    Precondition:

    1. Selected query terms are assumed to be "AND"ed together


    Algorithm for search:

     <<O>>  Difference Topic MBATSearchingAlgorithm (r1.5 - 07 May 2008 - SteveAnderson)

    META TOPICPARENT MBATSearch

    Data Source Searching Algorithm Used in MBAT

    The following is a description of the high-level "algorithm" that summarizes the MBAT search behavior as implemented in client.gui.MainPanelMediator.doSearch().

    Changed:
    <
    <
    Algorithm for search:
    >
    >
    Algorithm for search:

    Changed:
    <
    <
    Loop through all sources that support the user-selected data type (this selection may be “all”).*
    >
    >
    Loop through all user-selected sources and submit queries to each source.

  • Changed:
    <
    <
    For each source, ensure that all of the source’s required parameters are present among the user-selected parameters. Note that a source may contain a list of alternative values for certain parameters. If neither a source’s required parameter nor one of the alternatives is present among the user-selected parameters, check to see if a default value for the parameter(s) was set when the data was loaded from the metadata server. If not, skip that data source.
  • If all required parameters are found, check to make sure all remaining user-selected parameters are optional parameters for that source. If not, skip that source.
  • >
    >
    For each source, verify that all user-selected parameters are supported. If they are not, the query to that source will fire an error event indicating that the source does not support the specified query .

    Added:
    >
    >
    Possibilities to implement in the future:

    • Compile the list of supported parameters for each source prior to the search. This list can then be used to constrain the Search GUI options so that the user cannot select invalid source/parameter combinations.
    • When an adequate keyword search capability is available, add an alternative Search GUI to support keyword queries.

    Deleted:
    <
    <
    * If the metadata server is changed so that source data type is no longer distinguished from other search options, this step can be ommitted.


     <<O>>  Difference Topic MBATSearchingAlgorithm (r1.4 - 22 Feb 2008 - SteveAnderson)

    META TOPICPARENT MBATSearch

    Data Source Searching Algorithm Used in MBAT

    Line: 10 to 10

    Loop through all sources that support the user-selected data type (this selection may be “all”).*
  • Changed:
    <
    <
    For each source, ensure that all of the source’s required parameters are present among the user-selected parameters. Note that a source may contain a list of alternative values for certain parameters. If neither a source’s required parameter nor one of a set of alternative parameters is present, check to see if a default value for the parameter(s) was set when the data was loaded from the metadata server. If not, skip that data source.
    >
    >
    For each source, ensure that all of the source’s required parameters are present among the user-selected parameters. Note that a source may contain a list of alternative values for certain parameters. If neither a source’s required parameter nor one of the alternatives is present among the user-selected parameters, check to see if a default value for the parameter(s) was set when the data was loaded from the metadata server. If not, skip that data source.

  • If all required parameters are found, check to make sure all remaining user-selected parameters are optional parameters for that source. If not, skip that source.

  •  <<O>>  Difference Topic MBATSearchingAlgorithm (r1.3 - 21 Feb 2008 - SteveAnderson)

    META TOPICPARENT MBATSearch

    Data Source Searching Algorithm Used in MBAT

    Changed:
    <
    <
    The following is a description of the high-level "algorithm" that describes the search behavior as implemented in client.gui.MainPanelMediator.doSearch():
    >
    >
    The following is a description of the high-level "algorithm" that summarizes the MBAT search behavior as implemented in client.gui.MainPanelMediator.doSearch().

    Algorithm for search:

    Changed:
    <
    <
    Loop through all sources for the user-selected data type (this selection may be “all”).
    >
    >
    Loop through all sources that support the user-selected data type (this selection may be “all”).*

  • Changed:
    <
    <
    For each source, ensure that all of that source’s required parameters are present among the user-selected parameters. Note that a source may contain a list of alternative values for certain parameters. If a source’s required parameter is not present, check to see if an initial default value for that parameter was set when that parameter was loaded from the metadata server. If not, skip that data source.
    >
    >
    For each source, ensure that all of the source’s required parameters are present among the user-selected parameters. Note that a source may contain a list of alternative values for certain parameters. If neither a source’s required parameter nor one of a set of alternative parameters is present, check to see if a default value for the parameter(s) was set when the data was loaded from the metadata server. If not, skip that data source.

  • If all required parameters are found, check to make sure all remaining user-selected parameters are optional parameters for that source. If not, skip that source.
  • Added:
    >
    >

    * If the metadata server is changed so that source data type is no longer distinguished from other search options, this step can be ommitted.



     <<O>>  Difference Topic MBATSearchingAlgorithm (r1.2 - 20 Feb 2008 - SteveAnderson)

    META TOPICPARENT MBATSearch

    Data Source Searching Algorithm Used in MBAT

    Line: 10 to 10

    Loop through all sources for the user-selected data type (this selection may be “all”).
  • Changed:
    <
    <
    For each source, ensure that all of that source’s required parameters are present among the user-selected parameters. If a source’s required parameter is not present, check to see if an initial default value for that parameter was set when that parameter was loaded from the metadata server. If not, skip that data source.
    >
    >
    For each source, ensure that all of that source’s required parameters are present among the user-selected parameters. Note that a source may contain a list of alternative values for certain parameters. If a source’s required parameter is not present, check to see if an initial default value for that parameter was set when that parameter was loaded from the metadata server. If not, skip that data source.

  • If all required parameters are found, check to make sure all remaining user-selected parameters are optional parameters for that source. If not, skip that source.

  •  <<O>>  Difference Topic MBATSearchingAlgorithm (r1.1 - 20 Feb 2008 - SteveAnderson)
    Line: 1 to 1
    Added:
    >
    >
    META TOPICPARENT MBATSearch

    Data Source Searching Algorithm Used in MBAT

    The following is a description of the high-level "algorithm" that describes the search behavior as implemented in client.gui.MainPanelMediator.doSearch():

    Algorithm for search:

    1. Loop through all sources for the user-selected data type (this selection may be “all”).
    2. For each source, ensure that all of that source’s required parameters are present among the user-selected parameters. If a source’s required parameter is not present, check to see if an initial default value for that parameter was set when that parameter was loaded from the metadata server. If not, skip that data source.
    3. If all required parameters are found, check to make sure all remaining user-selected parameters are optional parameters for that source. If not, skip that source.

    Topic: MBATSearchingAlgorithm . { View | Diffs | r1.7 | > | r1.6 | > | r1.5 | More }

    Revision r1.1 - 20 Feb 2008 - 18:29 - SteveAnderson
    Revision r1.7 - 07 May 2008 - 21:45 - SteveAnderson