Well, a couple of things: 1> Solr does NOT index documents in XML, that is just the input format. Well, one of the input formats. Internally there's a complex inverted index storage format. 2> What do you mean "organize into folders"? The common way is just to put them all into a single core and also index a field with the path to the file. You can then do things like "show all files in folder X" by adding an fq=filepath:"path/to/folder/x" to your query.
Also look at PathTokenizerHierarchyFactory for interesting ways to get partial paths, in the above you'd use fq=filepath:"path/to" to get everything in the tree below "path/to".. But this really sounds like an XY problem. You've asked for information about cores without clearly stating what problem you're trying to solve. How are people intending to _use_ the search app you're going to build? Best, Erick On Sat, Mar 8, 2014 at 7:01 AM, blach <stag...@gmail.com> wrote: > Hello, > I'm beginner in Apache Solr, > My task is to organize folders inside the Solr > I've read a bit about collections, cores, and all that, what I don't > understand is why every document inside the collection is in XML or Json? > how can I put my folder inside Solr, should I create another collection, and > put my converted data (to xml) into it? > please guide me I'm lost. > > Best regards. > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/organize-folder-inside-Solr-tp4122207.html > Sent from the Solr - User mailing list archive at Nabble.com.