Commit 8535b9d2 authored by PidgeyL's avatar PidgeyL
Browse files

documentation for fulltext search

parent 46a926a4
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -130,6 +130,12 @@
    To add verbose output, add parameter <span class="code">-v</span><br />
    To let the script run automatically at a regular interval, add parameter <span class="code">-l</span><br />
  </p>
  <h3>Fulltext Search</h3>
  <p>
    If you want to enable fulltext search, you have to enable this in the database. <br />
    To do this, log into the Mongo database (<span class="code">$ mongo</span>) and run the following command: <span class="code">db.adminCommand({"setParameter": 1, "textSearchEnabled":True})</span>. <br />
    <b>Note:</b> when the Mongo database is shut down, fulltext search will be disabled again. Simply run the same command again to activate it.
  </p>
  <h2>Final notes</h2>
  <p>
    After this procedure the database is initialized and up to date. From this point on, to update the database, you only have to repeat the procedure to <a href="#update">update the database</a>.<br />
+3 −0
Original line number Diff line number Diff line
@@ -28,6 +28,9 @@
            </ol>
          {% endif %}
          {% include 'table.html' %}
          {% if not vendor and cve|length == 100 %}
            <p>Top 100 results</p>
          {% endif %}
        </div>
        <!-- end content -->
      </div>