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: [email protected]
>> To: [email protected]
>> 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_code&node=3300836&code=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_code&node=3300836&code=c29sci11c2VyQGx1Y2VuZS5hcGFjaGUub3JnfDMzMDA4MzZ8MTIyNjQ0MTk0Mg==