Search examples
BASIC SEARCH
- Search string: cell
As a result of this search the user can see all Figshare entities that contain the word “cell” in any of the metadata fields.
PHRASE SEARCH
- Search string: “stem cell”
As a result of this search the user can see all Figshare entities that contain the exact phrase “stem cell” in any of the metadata fields.
In phrase search, results are ordered as follows:
- entities containing all of the words in the search string next to another
- entities containing all words at a dynamic maximum distance depending on the metadata against which we are searching. (distance described in Search technical documentation)
- entities containing inflected words that follow the rule from bullet 1 or 2.
MULTI TERM SEARCH
- Search string: cancer cells treatment
As a result of this search the user can see all Figshare entities that contain at least one of the query terms.
When using multi term search, results are ordered as follows:
- entities containing all/ multiple terms
- entities containing one term
- entities containing inflected words
IN FIELD/ADVANCED SEARCH
“SIMPLE” IN FIELD SEARCH
As the keywords might contain special characters they have a special treatment within the Figshare search, where they are treated as an exact match.
- Search string: :keyword: cancer cell
This search returns all entities with the exact keyword cancer cell.
- Search string: :keyword: scrf=(cpcm,solvent=benzene).
This search returns all entities with the exact keyword scrf=(cpcm,solvent=benzene).
- Search string: :keyword: music and puppets
This search returns all entities with the exact keyword music and puppets. Only the operator AND works as search delimiter.
- Search string: :keyword: cancer category chemistry
This search returns all entities with the exact keyword “cancer category chemistry”. If the user wants to break the keyword and search for a specific category they need to add AND as in the complex example below:
- Search string: :keyword: cancer AND :category: chemistry
This search returns all entities where the keyword is “cancer” and the category is “chemistry” AND with a lower priority results containing all inflected words derived from the common stems.
- Search string: :keyword: X + y
This search returns all entities having the keyword “X + y” .
- Search string: :title: environmental science
This search returns all entities that have at least one of the words in the title working as “in field multi-term search” by relevance.
- Search string: :title: “Line balancing for improving production”
This search returns only the entities that have the specified phrase included in the title AND with a lower priority results containing all inflected words derived from the common stems.
- Search string: :description: growth of Indian manufacturing sector
This search returns all entities that have at least one of the words from above contained in the description from the list above as multi term search ordered by relevance AND with lower priority results containing all inflected words derived from the common stems.
- Search string: description: “industrial case study”
This search returns all entities that have the phrase from above contained in the description AND with a lower priority results containing all inflected words derived from the common stems.
COMBINED IN FIELD SEARCH
- Search string: :author: M. Hahnel OR :author: J. Smith OR :author: Albert Einstein
This search returns all entities that have at least one of the authors from the list above.
- Search string: :title: Line balancing for improving production AND :keyword: cancer cell
This search returns all entities where the title matches the string from above (multi term search by relevance) and has the “cancer cell” keyword AND with a lower priority results containing all inflected words derived from the common stems for title.
- Search string: :keyword: cancer AND :category: chemistry
This search returns all entities where the keyword is “cancer” and the category is “chemistry” AND with a lower priority results containing all inflected words derived from the common stems.
ADVANCED SEARCH MIXED WITH SIMPLE SEARCH
- Search string: :title: science AND :keyword: cell AND :search_term: private research
This search returns entities that have the word “science” in the title and the keyword “cell” and have the expression “private research” in any of the metadata fields.
- Search string: :title: law OR :keyword: democrat AND :search_term: respect
This search will return all entities that contain “law” in the title or both the keyword “democrat” and the word “respect” in any of the metadata fields.
Error handling for advanced in field search
If the syntax used for in field search is incorrect, users will see an error message anywhere they would use this search (all public and private contexts)
This example search will result in the error pictured below : `:title: something AND :category:`
