Menu

full text search syntax

ra-na
2020-01-05
2020-01-10
  • ra-na

    ra-na - 2020-01-05

    Hello everybody,

    I recently installed version 5.1.13 on an Ubuntu 18.04LTS server. SeedDMS works robustly and fast. Great application.

    Now I added some 500+ PDF documents to it.

    When I do a full text search with several search strings it SeedDMS searches always with OR.
    Example: search for "telephone" and "invoice" returns all documents that contain "telephone" and all invoices.
    I want to get the invoices for telephone instaed.

    What would be the search syntax to get results for first keyword AND second keyword only, if there is any.

    Thanks in advance!

     
  • ra-na

    ra-na - 2020-01-10

    Hello,

    since I did not get any answer to this question I think I should share my findings:

    I found a tutorial on ZEND Lucene searching here:
    https://framework.zend.com/manual/1.12/en/learning.lucene.queries.html

    Most of the examples seem to work with SeedDMS. E.g.:
    A serach for +telephone +invoices returns all documents that contain both serch strings. This also works with more than two.
    ? is useful as a wildcard for a single character. This is very useful since the OCR software sometimes does not recognize umlauts or special characters correctly.

    I am not yet sure about phrases "".

    Worth to mention is that searching for numbers eg. contact numbers -if they do not contain any other character- rarely returns the expected result.

    Hope that helps anybody.
    Have a nice weekend!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.