Using Lucene like a relational database

前端 未结 5 2097
故里飘歌
故里飘歌 2021-01-01 03:10

I am just wondering if we could achieve some RDBMS capabilities in lucene.

Example: 1) I have 10,000 project documents (pdf files) which have to be indexed with thei

5条回答
  •  情书的邮戳
    2021-01-01 03:29

    You can use Lucene that way;

    Pros:

    Full-text search is easy to implement, which is not the case in an RDBMS.

    Cons:

    Referential integrity: you get it for free in an RDBMS, but in Lucene, you must implement it yourself.

提交回复
热议问题