Get WPFTS Pro today with 25% discount!

Best Practices for Implementing Full-Text Search in Large Databases ??


  • Hello everyone,

    I am working on a project involving a database with millions of records and I need to implement an efficient full text search feature. I have been reading through the documentation here,, which has been incredibly helpful but I still have a few questions I would love to get insights on:

    What are the best indexing strategies to optimize full text search performance in large datasets: ??
    How do you handle ranking relevance for results, especially when dealing with diverse types of content: ??
    Are there any recommended libraries or frameworks that integrate seamlessly with popular DBs like PostgreSQL or MySQL for full text search: ??

    I am also curious about edge cases like handling misspellings or partial matches should these be addressed through preprocessing or are there tools that handle them natively: ??

    Looking forward to hearing your thoughts and experiences !!

    Thanks in advance !!

    With Regards,
    Marcelo


  • Hi @marcellosalass

    Actually WPFTS could be not that great for you in case you have millions of records (e.g. posts).
    The whole Wordpress could be not good for you either, because to handle such amount of data you will need to use specific optimization and caching algorithms and even clustering.

    I would like to propose you to use full-text solutions based on Apache Solr or Elastic Search - those tools are implemented in Java and work way faster than PHP+MySQL solution provided by WPFTS and they are especially good for big data.

    Alternatively you can wait until we release a new WPFTS version (in 1-2 months) that can use self-hosted Elastic Search engine to keep full-text index and uses WPFTS data collecting algorithms.

    Thank you for the question.

Suggested Topics

  • languages

    General Discussion
    7
    0 Votes
    7 Posts
    539 Views
    I

    @ismacuasni

    Yes! All perfect. Thanks!

  • Custom Directory

    General Discussion
    2
    0 Votes
    2 Posts
    554 Views
    EpsilonAdminE

    Hi @rgm_b

    Currently, the plugin works with the database, not with the physical location of the files. Actually, it does not matter where the file is stored - it will index all the files that are in WP Media Library.

    So the best way to index the folder with files - just to upload these files into the WP Media Library. Is it a problem to do that with your app?

  • Working with BuddyDrive ?

    General Discussion
    1
    0 Votes
    1 Posts
    459 Views
    No one has replied
  • Search word in a PDF

    General Discussion
    3
    0 Votes
    3 Posts
    747 Views
    J

    @epsilonadmin

    I would like to do a search for a word in a pdf file and that the result can be displayed on the same page (below the file) either in the form of a table or in the form of a list of annotations.

    Have a link between the document and the word found. For example being able to click on the word and find it directly in the file. Kind of like doing CTRL + F in a PDF file.

    Thank you.

  • Adding woocommerce SKU and taxonomy

    General Discussion
    2
    0 Votes
    2 Posts
    927 Views
    EpsilonAdminE

    Yes, it looks correct. I think there should be a better way to get taxonomy (using WP native methods). Also, I see a bit strange names for custom post meta names (MPN Number and MPN2 Number) - please be sure they are stored in a database like this exactly.

    You can check your hook using Sandbox / Test Index. Just put the product post ID into the input and press the button. It should show you all cluster values, including 'sku' and 'product taxonomy'. Next, you can go to Edit one product and press Update to force WPFTS to rebuild index for this product. After that, this product should become searchable by sku and taxonomy.

    If so, you can press Rebuild Index to rebuild an index for all products.

Be the first to read the news!

We are always improving our products, adding new functions and fixes. Subscribe now to be the first to get the updates and stay informed about our sales! We are not spammy. Seriously.

Join Us Now!

We are a professional IT-team. Many of us have been working in a Web IT field for more than 10 years. Our advanced experience of software development has been employed in the creation of the WordPress FullText Search plugin. All solutions implemented into the plugin have been used for 5 or more years in over 60 different web-projects.

We are looking forward to your comments, requests and suggestions in relation to the current plugin and future updates.

ewm-logo-450

The forum powered by NodeBB | Contributors