Skip to content

Unable to match similar strings #4

@gc-code

Description

@gc-code

All files that are produced by the ISIS facility take the format 'WISH1234.nxs' where 'WISH' is the instrument and '1234' is the run number. The run number can be prefixed with up to 3 zeros depending on the instrument. Many users and instrument scientists will know the run numbers associated with their experiments and may wish to find them in ICAT.

The Lucene search component can't locate the run number as a substring, instead requiring the user to enter the full file name. It appears that Lucene is limited to finding exact matches, other than when a separating character happens to fall in the right place. It would be good to remove this limitation to allow users to search by run number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions