php - Indexing different type of Entities/Objects with Solr Lucene -


Assume that I want to index my store via solar lucene.

I have several types of entities: product, product review, article

How can I index those types to my Lucene, but how to do each with each schema?

You want to index 3, which are called products, product reviews and articles, of each index May be your schema. The difference between Lucene and a relational DB approach is that a line in DB translates roughly to a document in Lucene Note: Each document can have its own schema (which is relational There is another difference from DB).


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -