Re: Execute query against to one document

2019-05-16 Thread Erick Erickson
This seems extremely inefficient. Let’s claim you have a document without a category. How do you determine what the category should be? Query the index? Reach out into another database and create a category? Add a default value? Depending on the source of the category, there are several options.

Execute query against to one document

2019-05-16 Thread Derrick Cui
Hi, I have a use case, but don’t know how to implement, please help. I have one large data file, let’s say 500b data, which doesn’t have category in the source. What I want to do is that execute a query on indexing documents, if the query hits great than 0, add category field and save to solr. C