]> BookStack Code Mirror - bookstack/blobdiff - app/Entity.php
Updated Spanish translation
[bookstack] / app / Entity.php
index 1ea4e8dac57cc56e8b978b11ca94f7850d914142..67edec4e089eefe3d4eb69472da891cde409ed81 100644 (file)
@@ -5,8 +5,16 @@ use Illuminate\Database\Eloquent\Relations\MorphMany;
 class Entity extends Ownable
 {
 
+    /**
+     * @var string - Name of property where the main text content is found
+     */
     public $textField = 'description';
 
+    /**
+     * @var float - Multiplier for search indexing.
+     */
+    public $searchFactor = 1.0;
+
     /**
      * Compares this entity to another given entity.
      * Matches by comparing class and id.