I second Erick,
it would be as easy as adding this field to the schema :

<field name=&quot;collection&quot; type=&quot;string&quot;
indexed=&quot;false&quot; stored=&quot;true&quot; default=&quot;&lt;your
collection name>"/>

If you are using inter collections queries, just be aware there a lot of
tricky and subtle problems with it ( such as unique Identifier must have
same field name, distributed IDF inter collections ect ect)
I am preparing a blog post related that.
I will keep you updated.

Cheers



-----
---------------
Alessandro Benedetti
Search Consultant, R&D Software Engineer, Director
Sease Ltd. - www.sease.io
--
View this message in context: 
http://lucene.472066.n3.nabble.com/Collection-name-in-result-tp4342474p4342501.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to