Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のsolrには、10個のコア(製品、売り手など)があります。クエリで「製品」コアのみを選択する必要があります:
from mysolr import Solr solr = Solr(version=4) response = solr.search(q='*:*') documents = response.documents
URL でコア名を指定するだけです。
solr = Solr(base_url='http://localhost:8080/solr/products', version=4)