Next: Troubleshooting Priors, Previous: Git-related Priors, Up: Priors [Contents]
p-search comes with a few filesystem related priors. These are only selectable if a candidate document is known to be file.
The modified-time prior measures the time between a specified target and the modified time on the OS file, and uses it to calculate a score. The workings of this prior function similar to the Git time-of-commit prior.
This argument sets the scale of the exponential distribution to assign scores. The available values are :days
, :weeks
, :months
, :years
. Select the value where you believe the most important differentiation is located.
The date you are want modification time to be close to. The difference from this time will be used to calculate the score.
The subdirectory prior will let you select a file directory and any candidate in that directory will get a score boost.
The target directory which you believe the search result to be contained in.