Using CURL to index directory

2011-10-24 Thread Jagdish Kumar

Hi
 
I have been using curl for indexing individual files, does anyone of you knows 
how to index entire directory using curl ?
 
Thanks
Jagdish   

RE: Using CURL to index directory

2011-10-24 Thread Jagdish Kumar

Thanks for quick response
 
I am working on Windows machine and also I need to post text, zip, pdfs, images 
etc , it would be gr8 if you can help me out with multiple filetypes on windows
 
Thanks
Jagdish
 



Date: Mon, 24 Oct 2011 09:30:49 +0200
Subject: Re: Using CURL to index directory
From: dirceu...@gmail.com
To: solr-user@lucene.apache.org

Hi,


Try the attached post-text.sh file.
It was not written by me, it's part of a great tutorial written by Avi 
Rappoport that you can find at: 
http://www.lucidimagination.com/devzone/technical-articles/whitepapers/indexing-text-and-html-files-solr


Regards,


On Mon, Oct 24, 2011 at 9:13 AM, Jagdish Kumar jagdish.thapar...@hotmail.com 
wrote:


Hi

I have been using curl for indexing individual files, does anyone of you knows 
how to index entire directory using curl ?

Thanks
Jagdish   


-- 
Dirceu Vieira JĂșnior
---
+47 9753 2473
dirceuvjr.blogspot.com
twitter.com/dirceuvjr
  

RE: Solritas issue in opening files

2011-09-02 Thread Jagdish Kumar

Thanks Erik for ur inputs .. I will try them out and see if I get any further 
on this.
 
Thanks
Jagdish
 

 Date: Thu, 1 Sep 2011 06:28:34 -0700
 From: ml-node+3301258-983586473-392...@n3.nabble.com
 To: solr-user@lucene.apache.org
 Subject: Re: Solritas issue in opening files
 
 
 
 If your files are under Solr's conf/ directory, you can get them served up 
 using the ShowFileRequestHandler (see how the /browse serves up CSS and the 
 autocomplete JQuery library). But otherwise, Solritas doesn't give you any 
 capability to serve up files and the browsers aren't too happy about that 
 either crossing domains and all.
 
 This is not a Solr issue, it's a browser issue. But Solr (not Solritas per 
 se) offers the ShowFileRequestHandler to serve up things under conf/ if you 
 can get your files under there.
 
 Erik
 
 On Sep 1, 2011, at 07:19 , jagdish2011 [via Lucene] wrote:
 
  
  
  
  Hi Balaji
  
  Thanks for your reply, I have tried file:///Absolute path stuff as well.. 
  it still fails to open the file in mozilla/ IE both
  
  My files are not placed in Solr-home , can that be the issue ? please 
  suggest.
  
  Thanks 
  Jagdish
  
  
  Date: Thu, 1 Sep 2011 03:40:00 -0700
  From: ml-node+3300872-1705263717-392...@n3.nabble.com
  To: solr-user@lucene.apache.org
  Subject: Re: Solritas issue in opening files
  
  Hi
  
  To open files from local system use file protocol . (file:///followed by
  absolute path)
  
  If you are running the application in jboss instead of jetty you can deploy
  the input files as a separate war which is exploded and then avoid using
  file protocol.
  
  File protocol is erroneous. It is not supported by reputed browser like
  Firefox.
  
  
  
  __
  If you reply to this email, your message will be added to the discussion 
  below:
  http://lucene.472066.n3.nabble.com/Solritas-issue-in-opening-files-tp3300836p3300872.html
  This email was sent by Balaji N.S. (via Nabble)
  To receive all replies by email, subscribe to this discussion: 
  http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=subscribe_by_codenode=3300836code=c29sci11c2VyQGx1Y2VuZS5hcGFjaGUub3JnfDMzMDA4MzZ8MTIyNjQ0MTk0Mg==
  
  
  ___
  If you reply to this email, your message will be added to the discussion 
  below:
  http://lucene.472066.n3.nabble.com/Solritas-issue-in-opening-files-tp3300836p3300964.html
  
  To unsubscribe from Solritas issue in opening files, visit 
  http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3300836code=c29sci11c2VyQGx1Y2VuZS5hcGFjaGUub3JnfDMzMDA4MzZ8MTIyNjQ0MTk0Mg==
 
 
 
 ___
 If you reply to this email, your message will be added to the discussion 
 below:
 http://lucene.472066.n3.nabble.com/Solritas-issue-in-opening-files-tp3300836p3301258.html
 
 To unsubscribe from Solritas issue in opening files, visit 
 http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3300836code=c29sci11c2VyQGx1Y2VuZS5hcGFjaGUub3JnfDMzMDA4MzZ8MTIyNjQ0MTk0Mg==
  

Image results in Solr Search

2011-09-02 Thread Jagdish Kumar

Hi
 
I am trying indexing and searching various type of files in Solr3.3.0, I am 
able to index image files but it fail to show these files in result of any 
search operation.
 
I am not aware of how Solr works for searching images, I mean it is content 
based or meta data based .. I am not sure.
 
If any of you have done Image Searches with Solr , I request you to please help 
me out with this.
 
Thanks 
Jagdish   

Solritas issue in opening files

2011-09-01 Thread Jagdish Kumar

Hi 
 
I have indexed some files from a directory and I can see them in results @ 
http://localhost:8080/solr/browse
I have also added a field Location which displays the file Location as Link :
 
Following changes I have done for Links stuff:
1. Added field column=fileAbsolutePath name=links/ in data-config.xml for 
FileListEntityProcessor.
2.MetaData field field name=links type=string indexed=true stored=true 
multiValued=true/ is already there in schema.xml
3.I have updated doc.vm with : divLocation: a 
href=#field('links')mlt=true#field('links')/a/div
 
It does shows a Location field in resultsas a hyperlink, but when I try and 
open file by clicking on the link, it fails to open the file from local.
 
It would be gr8 if someone can help me out with this issue.
 
Thanks and regards
Jagdish
  

RE: Solritas issue in opening files

2011-09-01 Thread Jagdish Kumar

Hi Balaji
 
Thanks for your reply, I have tried file:///Absolute path stuff as well.. it 
still fails to open the file in mozilla/ IE both
 
My files are not placed in Solr-home , can that be the issue ? please suggest.
 
Thanks 
Jagdish
 

 Date: Thu, 1 Sep 2011 03:40:00 -0700
 From: ml-node+3300872-1705263717-392...@n3.nabble.com
 To: solr-user@lucene.apache.org
 Subject: Re: Solritas issue in opening files
 
 Hi
 
 To open files from local system use file protocol . (file:///followed by
 absolute path)
 
 If you are running the application in jboss instead of jetty you can deploy
 the input files as a separate war which is exploded and then avoid using
 file protocol.
 
 File protocol is erroneous. It is not supported by reputed browser like
 Firefox.
 
 
 
 __
 If you reply to this email, your message will be added to the discussion 
 below:
 http://lucene.472066.n3.nabble.com/Solritas-issue-in-opening-files-tp3300836p3300872.html
 This email was sent by Balaji N.S. (via Nabble)
 To receive all replies by email, subscribe to this discussion: 
 http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=subscribe_by_codenode=3300836code=c29sci11c2VyQGx1Y2VuZS5hcGFjaGUub3JnfDMzMDA4MzZ8MTIyNjQ0MTk0Mg==
  

MongoDB and Solr Integration

2011-08-29 Thread Jagdish Kumar

Hi
 
I need to integrate MongoDB with Solr, can anyone please help me out with this 
as I m not able to find any relevant information on net.
 
Thanks and regards
Jagdish   

RE: MongoDB and Solr Integration

2011-08-29 Thread Jagdish Kumar

Hi Gora
 
Nothing concreate I was able to get out of this query .. have you done any such 
stuff on ur own?
 
Thanks and regards
Jagdish
 

 From: g...@mimirtech.com
 Date: Mon, 29 Aug 2011 12:47:21 +0530
 Subject: Re: MongoDB and Solr Integration
 To: solr-user@lucene.apache.org
 
 On Mon, Aug 29, 2011 at 12:38 PM, Jagdish Kumar
 jagdish.thapar...@hotmail.com wrote:
 
  Hi
 
  I need to integrate MongoDB with Solr, can anyone please help me out with 
  this as I m not able to find any relevant information on net.
 [...]
 
 The links from http://lmgtfy.com/?q=mongodb+solr do not help?
 
 Regards,
 Gora
  

RE: MongoDB and Solr Integration

2011-08-29 Thread Jagdish Kumar

Thanks Gora for ur reply .. I will follow these links and see if they work for 
me ...
 
Thanks and regards
Jagdish
 

 From: g...@mimirtech.com
 Date: Mon, 29 Aug 2011 13:23:19 +0530
 Subject: Re: MongoDB and Solr Integration
 To: solr-user@lucene.apache.org
 
 On Mon, Aug 29, 2011 at 1:01 PM, Jagdish Kumar
 jagdish.thapar...@hotmail.com wrote:
 
  Hi Gora
 
  Nothing concreate I was able to get out of this query .. have you done any 
  such stuff on ur own?
 [...]
 
 Hmm, maybe there is nothing ready-made in the language that
 you want (which is that?), but surely this thread
 http://markmail.org/message/6aqwjrqnwgn6whpw#query:mongodb%20oplog%20solr+page:1+mid:fir2ebruipdpxwrv+state:results
 which points to a thread discussing a Ruby implementation
 http://groups.google.com/group/mongodb-user/browse_thread/thread/b4a2417288dabe97/49241abdcb4fc677
 is of help. There is also someone who has a PHP implementation,
 though they do say that it is slow:
 http://blog.knuthaugen.no/2010/04/cooking-with-mongodb-and-solr.html
 
 As the threads suggest, using Mongo's oplog to trigger Solr
 indexing seems to be the way to go:
 http://www.mongodb.org/display/DOCS/Replication+Internals
 
 We were supposed to do this for a client, but that project did
 not work out. Let me see if I can find some time to look at this.
 
 Regards,
 Gora
  

RE: MongoDB and Solr Integration

2011-08-29 Thread Jagdish Kumar


 Hi Anshum
 
thanks for the link.. I could see some snnipets in there .. can u help me out 
with some more eloborative expalanation?
 
Thanks and regards
Jagdish

 From: ansh...@gmail.com
 Date: Mon, 29 Aug 2011 14:54:15 +0530
 Subject: Re: MongoDB and Solr Integration
 To: solr-user@lucene.apache.org
 
 Hi Jagdeesh,
 
 I wouldn't say that it will completely solve your problem, but I guess this
 blog post would help you get started.
 http://ai-cafe.blogspot.com/2011/08/indexing-mongodb-data-for-solr.html
 
 --
 Anshum Gupta
 http://ai-cafe.blogspot.com
 
 
 On Mon, Aug 29, 2011 at 2:16 PM, Jagdish Kumar 
 jagdish.thapar...@hotmail.com wrote:
 
 
  Thanks Gora for ur reply .. I will follow these links and see if they work
  for me ...
 
  Thanks and regards
  Jagdish
 
 
   From: g...@mimirtech.com
   Date: Mon, 29 Aug 2011 13:23:19 +0530
   Subject: Re: MongoDB and Solr Integration
   To: solr-user@lucene.apache.org
  
   On Mon, Aug 29, 2011 at 1:01 PM, Jagdish Kumar
   jagdish.thapar...@hotmail.com wrote:
   
Hi Gora
   
Nothing concreate I was able to get out of this query .. have you done
  any such stuff on ur own?
   [...]
  
   Hmm, maybe there is nothing ready-made in the language that
   you want (which is that?), but surely this thread
  
  http://markmail.org/message/6aqwjrqnwgn6whpw#query:mongodb%20oplog%20solr+page:1+mid:fir2ebruipdpxwrv+state:results
   which points to a thread discussing a Ruby implementation
  
  http://groups.google.com/group/mongodb-user/browse_thread/thread/b4a2417288dabe97/49241abdcb4fc677
   is of help. There is also someone who has a PHP implementation,
   though they do say that it is slow:
   http://blog.knuthaugen.no/2010/04/cooking-with-mongodb-and-solr.html
  
   As the threads suggest, using Mongo's oplog to trigger Solr
   indexing seems to be the way to go:
   http://www.mongodb.org/display/DOCS/Replication+Internals
  
   We were supposed to do this for a client, but that project did
   not work out. Let me see if I can find some time to look at this.
  
   Regards,
   Gora
 
 
  

SolrJ and DIH query

2011-08-29 Thread Jagdish Kumar

Hi All
 
I have been using DataImportHandler and full import in Solr , now I want SorJ 
to index files from a directory either by using DataImportHandler or some other 
way.
 
I am not sure the how to go about it :
1. Do I just need to copy solrJ and relevant jars to lib folder of Solr ?
2. Do I need to modify some specific classes of solrJ jars and rebundle them?
3.Can any one mention specific steps required to get solrJ working?
 
Thanks and regards
Jagdish   

Issue in indexing Zip file content with apache-solr-3.3.0

2011-08-23 Thread Jagdish Kumar

Hi All
 
I am using apache-solr-3.3.0 with apache-solr-cell-3.3.0.jar, though I am able 
to index the zip files, but I get no results if I search for content present in 
zip file. Please suggest possible solution.
 
Thanks and regards
Jagdish   

Using Solr for indexing and searching files in a directory

2011-08-17 Thread Jagdish Kumar

Hi All
 
I have this requirement of indexing and searching files (txt, doc,pdf) on my 
disk using Solr Search which I have installed.
I am unable to find a relevant tutorial for the same, I would be thankfull if 
anyone of you can actually help me out with the specific steps required.
 
Thanks and regards
Jagdish