Re: organize folder inside Solr
You should consider taking a basic training course in Solr, and/or reading one of the available introductory books. Or even reading the introduction in my e-book: http://www.lulu.com/shop/jack-krupansky/solr-4x-deep-dive-early-access-release-7/ebook/product-21203548.html -- Jack Krupansky -Original Message- From: blach Sent: Saturday, March 8, 2014 8:44 AM To: solr-user@lucene.apache.org Subject: Re: organize folder inside Solr Well, for now, I just want to put some data (binary, PDF, JPEG, ... any) inside solr, should I put them by hand (copy/past) inside \solr-4.7.0\example\solr\collection1, or there another way to do it. thanks. Med. -- View this message in context: http://lucene.472066.n3.nabble.com/organize-folder-inside-Solr-tp4122207p4122219.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: organize folder inside Solr
Hello! There are multiple tutorials on how to do this, for example: 1. http://solr.pl/en/2011/03/21/solr-and-tika-integration-part-1-basics/ 2. http://wiki.apache.org/solr/ExtractingRequestHandler -- Regards, Rafał Kuć Performance Monitoring * Log Analytics * Search Analytics Solr & Elasticsearch Support * http://sematext.com/ > Thanks, I followed it carefully, > the example in the tutorial is indexing only Xml files, and that is my > problem, > I want my search engine to look for other formats like pictures, music, PDF, > and so on. > and I'm working just on " Collection1 ", > Med. > -- > View this message in context: > http://lucene.472066.n3.nabble.com/organize-folder-inside-Solr-tp4122207p4122242.html > Sent from the Solr - User mailing list archive at Nabble.com.
Re: organize folder inside Solr
Thanks, I followed it carefully, the example in the tutorial is indexing only Xml files, and that is my problem, I want my search engine to look for other formats like pictures, music, PDF, and so on. and I'm working just on " Collection1 ", Med. -- View this message in context: http://lucene.472066.n3.nabble.com/organize-folder-inside-Solr-tp4122207p4122242.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: organize folder inside Solr
You really have to back up and do your homework here. Please work through the tutorial below, it'll help clear up some of your confusion. For instance, you feed documents _to_ solr, after you've defined a schema, figured out your use-cases, etc. You don't just stick documents somewhere, turn Solr on and magically be able to search them. https://lucene.apache.org/solr/4_7_0/tutorial.html Best, Erick On Sat, Mar 8, 2014 at 8:44 AM, blach wrote: > Well, for now, I just want to put some data (binary, PDF, JPEG, ... any) > inside solr, > should I put them by hand (copy/past) inside > \solr-4.7.0\example\solr\collection1, > or there another way to do it. > > thanks. > Med. > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/organize-folder-inside-Solr-tp4122207p4122219.html > Sent from the Solr - User mailing list archive at Nabble.com.
Re: organize folder inside Solr
Well, for now, I just want to put some data (binary, PDF, JPEG, ... any) inside solr, should I put them by hand (copy/past) inside \solr-4.7.0\example\solr\collection1, or there another way to do it. thanks. Med. -- View this message in context: http://lucene.472066.n3.nabble.com/organize-folder-inside-Solr-tp4122207p4122219.html Sent from the Solr - User mailing list archive at Nabble.com.
Re: organize folder inside Solr
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 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.
organize folder inside Solr
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.