Search Bar: Difference between revisions

From Flashpoint Datahub
Jump to navigation Jump to search
(Removed redirect to Search Bar/Legacy)
Tag: Removed redirect
No edit summary
Line 1: Line 1:
This article describes how the search system in the Flashpoint Launcher works. For versions prior to 13.0, see [[Search Bar/Legacy]].
This article describes how the search system in the Flashpoint Launcher works. For versions prior to 13, see [[Search Bar/Legacy]].


==Overview==
==Overview==
Line 5: Line 5:
* A search query can contain any number of phrases (<code>tag:Arcade platform:Flash jump run</code>)
* A search query can contain any number of phrases (<code>tag:Arcade platform:Flash jump run</code>)
* Phrases containing spaces must be wrapped in quotes or will count as separate parameters (<code>developer:"Tom Fulp"</code>)
* Phrases containing spaces must be wrapped in quotes or will count as separate parameters (<code>developer:"Tom Fulp"</code>)
* Searches are not case sensitive, can have incomplete names and a name backwards (both <code>nana cr</code> and <code>CRASH NANACA</code> will find NANACA†CRASH!!)
* Searches can have incomplete names and a name backwards (both <code>nana cr</code> and <code>CRASH NANACA</code> will find NANACA†CRASH!!)
* Phrases without prefixes are matched against a curation's Title, Alternate Titles, Developer, Publisher and Series. The phrase only has to match one of these fields for the game to be included.
* Phrases without prefixes are matched against a curation's Title, Alternate Titles, Developer, Publisher and Series. The phrase only has to match one of these fields for the game to be included.
* Prefixes use <code>:</code> for fuzzy searching or <code>=</code> for an exact match. Numerical and date prefixes can additionally use <code><</code> and <code>></code> operands for less/greater than the used input
* Prefixes use <code>:</code> for fuzzy searching or <code>=</code> for an exact and case sensitive match. Numerical and date prefixes can additionally use <code><</code> and <code>></code> operands for less/greater than the used input
* Prefixes with empty quotes searches for games with said field empttied (<code>dev:""</code>)
* Prefixes with empty quotes search for games with said field emptied (<code>dev:""</code>)
* Date inputs use the <code>YYYY-MM-DD</code> format
* Searches inside [[playlists]] do not currently work.
* Searches inside [[playlists]] do not currently work.


Line 35: Line 34:
|-
|-
| releaseDate<br>rd
| releaseDate<br>rd
| <code>releaseDate:2010-01</code>
| <code>releaseDate=2010-01-21</code>
|-
|-
| dateAdded<br>da
| dateAdded<br>da
Line 88: Line 87:
| <code>lp:2023-07</code>
| <code>lp:2023-07</code>
|}
|}
Note games which you have not played yet will not show up when these are applied. <code>playTime</code> is a special field that uses time as in <code>s</code>ecs, <code>m</code>ins, <code>h</code>ours, <code>d</code>ays, <code>w</code>eeks, <code>M</code>onths and <code>y</code>ears.
Entries which you have not played yet will not show up when these are applied. <code>playTime</code> is a special field that uses time as in <code>s</code>ecs, <code>m</code>ins, <code>h</code>ours, <code>d</code>ays, <code>w</code>eeks, <code>M</code>onths and <code>y</code>ears.


==Other Prefixes==
==Other Prefixes==
Line 99: Line 98:
|-
|-
| tags
| tags
| Number of [[tags]] in the game.
| Number of [[tags]] in the curation.
| <code>tags=3</code>
| <code>tags=3</code>
|-
|-
| platforms
| platforms
| Number of [[platforms]] in the game.
| Number of [[platforms]] in the curation.
| <code>platforms>2</code>
| <code>platforms>2</code>
|-
|-
| addApps<br>aa
| addApps<br>aa
| Number of alternate applications in the game.
| Number of additional applications in the curation.
| <code>aa>0</code>
| <code>aa>0</code>
|-
|-

Revision as of 01:46, 31 March 2024

This article describes how the search system in the Flashpoint Launcher works. For versions prior to 13, see Search Bar/Legacy.

Overview

  • Flashpoint uses docopt parsing: ([-][[<field>(:|=|<|>)]|[@|#|!]](<phrase>|"<phrase>"))...
  • A search query can contain any number of phrases (tag:Arcade platform:Flash jump run)
  • Phrases containing spaces must be wrapped in quotes or will count as separate parameters (developer:"Tom Fulp")
  • Searches can have incomplete names and a name backwards (both nana cr and CRASH NANACA will find NANACA†CRASH!!)
  • Phrases without prefixes are matched against a curation's Title, Alternate Titles, Developer, Publisher and Series. The phrase only has to match one of these fields for the game to be included.
  • Prefixes use : for fuzzy searching or = for an exact and case sensitive match. Numerical and date prefixes can additionally use < and > operands for less/greater than the used input
  • Prefixes with empty quotes search for games with said field emptied (dev:"")
  • Searches inside playlists do not currently work.

Metadata Prefixes

Prefix Example
title title:Bowman
series series:Sonny
developer
dev
dev="Dev Name"
publisher
pub
publisher:Newgrounds
playMode
mode
playMode:"Single Player"
status status:Partial
releaseDate
rd
releaseDate=2010-01-21
dateAdded
da
dateAdded:2022
dateModified
dm
dateModified<2024
version version:2.0
language
lang
language=pt
tag tag:Toy
source
src
source:deviantart.com
platform
plat
platform:Flash
applicationPath
app
path
ap
applicationPath:FPNavigator
launchCommand
lc
launchCommand:localflash
notes notes:Extras
originalDescription
description
desc
od
description:ninja
id id:cdeb30c5

Playtime Prefixes

Prefix Example
playCount
pc
playCount=2
playTime
pt
playTime>1h
lastPlayed
lp
lp:2023-07

Entries which you have not played yet will not show up when these are applied. playTime is a special field that uses time as in secs, mins, hours, days, weeks, Months and years.

Other Prefixes

Prefix Explanation Example
- Excludes a parameter from the search when used before other prefixes. -tag:Soccer
tags Number of tags in the curation. tags=3
platforms Number of platforms in the curation. platforms>2
addApps
aa
Number of additional applications in the curation. aa>0
@ Short-hand for developer:. @Devname
# Short-hand for tag:. #Shooter
! Short-hand for platform:. !Unity