hi umar

2008-05-25 Thread Vaani

hi umar,

I always used to get these type of exception(CorruptIndexException),when i
run my solr.

can you plzz help me out how to clear this problem..


INFO: adding requestHandler: /debug/dump=solr.DumpRequestHandler
May 25, 2008 6:51:53 PM org.apache.solr.core.SolrException log
SEVERE: java.lang.RuntimeException:
org.apache.lucene.index.CorruptIndexExceptio
n: Unknown format version: -4
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:433)
at org.apache.solr.core.SolrCore.(SolrCore.java:216)
at org.apache.solr.core.SolrCore.getSolrCore(SolrCore.java:177)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.ja
va:69)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
nFilterConfig.java:221)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
tionFilterConfig.java:302)
at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFi
lterConfig.java:78)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.
java:3635)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
222)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:760)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
0)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:626)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:553)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488
)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
at
org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.apache.lucene.index.CorruptIndexException: Unknown format
version
: -4
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:204)
at
org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:189)
at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfo
s.java:610)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:184)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:148)
at
org.apache.solr.search.SolrIndexSearcher.(SolrIndexSearcher.jav
a:87)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:424)
... 30 more

May 25, 2008 6:51:53 PM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init() done
May 25, 2008 6:51:53 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init()
May 25, 2008 6:51:53 PM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init() done
May 25, 2008 6:51:53 PM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done
-- 
View this message in context: 
http://www.nabble.com/hi-umar-tp17457888p17457888.html
Sent from the Solr - User mailing list archive at Nabble.com.



Announcement of Solr Javascript Client

2008-05-25 Thread Matthias Epheser

Hi users,

As initially described in this thread [1] I am currently working on a javascript 
client library for solr. The idea is based on a demo [2] that introduces a 
reusable javascript widget client.


I spent the last weeks evaluating the best fitting technologies that ensure a 
clean generic port of the demo into the solr project. The goal is to make it 
easy to use and include in webpages on the one hand, and creating a clean 
interface to the solr server on the other hand.


With this announcement, I want to ask the community for their experience with 
solr and javascript and would appreciate feedback about this proposal:


- javascript toolkit: JQuery, because it is already shipped with the solr webapp

- Using a manager object on the client that holds all widgets and takes care of 
the communication to the solr server.


- Using the JSONResponsewriter to get the data to the widgets so they could 
update their ui.


These technologies seem to be the currently best ones IMHO, any 
feedback/experiences welcome.


Regards,
matthias








[1] 
http://www.nabble.com/-GSOC-proposal-%3A-Solr-javascript-client-library-to16422808.html#a16430329

[2] http://lovo.test.dev.indoqa.com/mepheser/moobrowser/


Re: Announcement of Solr Javascript Client

2008-05-25 Thread climbingrose
Hi Matthias,

How would you prevent Solr server from being exposed to outside world with
this javascript client? I prefer running Solr behind firewall and access it
from server side code.

Cheers.

On Mon, May 26, 2008 at 7:27 AM, Matthias Epheser <[EMAIL PROTECTED]>
wrote:

> Hi users,
>
> As initially described in this thread [1] I am currently working on a
> javascript client library for solr. The idea is based on a demo [2] that
> introduces a reusable javascript widget client.
>
> I spent the last weeks evaluating the best fitting technologies that ensure
> a clean generic port of the demo into the solr project. The goal is to make
> it easy to use and include in webpages on the one hand, and creating a clean
> interface to the solr server on the other hand.
>
> With this announcement, I want to ask the community for their experience
> with solr and javascript and would appreciate feedback about this proposal:
>
> - javascript toolkit: JQuery, because it is already shipped with the solr
> webapp
>
> - Using a manager object on the client that holds all widgets and takes
> care of the communication to the solr server.
>
> - Using the JSONResponsewriter to get the data to the widgets so they could
> update their ui.
>
> These technologies seem to be the currently best ones IMHO, any
> feedback/experiences welcome.
>
> Regards,
> matthias
>
>
>
>
>
>
>
>
> [1]
> http://www.nabble.com/-GSOC-proposal-%3A-Solr-javascript-client-library-to16422808.html#a16430329
> [2] http://lovo.test.dev.indoqa.com/mepheser/moobrowser/
>



-- 
Regards,

Cuong Hoang


hi

2008-05-25 Thread dharhsana

hi ,

when iam running my solr i offen get corrupted index exception,i don't no
how to solve this problem,can any one plzz help out in solving this
problem..

INFO: adding requestHandler: /debug/dump=solr.DumpRequestHandler
May 26, 2008 8:48:39 AM org.apache.solr.core.SolrException log
SEVERE: java.lang.RuntimeException:
org.apache.lucene.index.CorruptIndexExceptio
n: Unknown format version: -4
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:433)
at org.apache.solr.core.SolrCore.(SolrCore.java:216)
at org.apache.solr.core.SolrCore.getSolrCore(SolrCore.java:177)
at
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.ja
va:69)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(Applicatio
nFilterConfig.java:221)
at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(Applica
tionFilterConfig.java:302)
at
org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFi
lterConfig.java:78)
at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.
java:3635)
at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4
222)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase
.java:760)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:74
0)
at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)

at
org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.ja
va:626)
at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.j
ava:553)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:488
)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java
:311)
at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(Lifecycl
eSupport.java:120)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)

at
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)

at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443
)
at
org.apache.catalina.core.StandardService.start(StandardService.java:4
48)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:700
)
at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
Caused by: org.apache.lucene.index.CorruptIndexException: Unknown format
version
: -4
at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:204)
at
org.apache.lucene.index.IndexReader$1.doBody(IndexReader.java:189)
at
org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfo
s.java:610)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:184)
at org.apache.lucene.index.IndexReader.open(IndexReader.java:148)
at
org.apache.solr.search.SolrIndexSearcher.(SolrIndexSearcher.jav
a:87)
at org.apache.solr.core.SolrCore.getSearcher(SolrCore.java:424)
... 30 more

May 26, 2008 8:48:39 AM org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init() done
May 26, 2008 8:48:39 AM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init()
May 26, 2008 8:48:39 AM org.apache.solr.servlet.SolrServlet init
INFO: SolrServlet.init() done
May 26, 2008 8:48:39 AM org.apache.solr.servlet.SolrUpdateServlet init
INFO: SolrUpdateServlet.init() done



with regards,
T.Rekha.
-- 
View this message in context: http://www.nabble.com/hi-tp17465265p17465265.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: Announcement of Solr Javascript Client

2008-05-25 Thread Noble Paul നോബിള്‍ नोब्ळ्
This would be useful for admin pages or an internal application. If
you expose solr to outside users , they can just bring down your solr
instance.
--Noble

On Mon, May 26, 2008 at 8:17 AM, climbingrose <[EMAIL PROTECTED]> wrote:
> Hi Matthias,
>
> How would you prevent Solr server from being exposed to outside world with
> this javascript client? I prefer running Solr behind firewall and access it
> from server side code.
>
> Cheers.
>
> On Mon, May 26, 2008 at 7:27 AM, Matthias Epheser <[EMAIL PROTECTED]>
> wrote:
>
>> Hi users,
>>
>> As initially described in this thread [1] I am currently working on a
>> javascript client library for solr. The idea is based on a demo [2] that
>> introduces a reusable javascript widget client.
>>
>> I spent the last weeks evaluating the best fitting technologies that ensure
>> a clean generic port of the demo into the solr project. The goal is to make
>> it easy to use and include in webpages on the one hand, and creating a clean
>> interface to the solr server on the other hand.
>>
>> With this announcement, I want to ask the community for their experience
>> with solr and javascript and would appreciate feedback about this proposal:
>>
>> - javascript toolkit: JQuery, because it is already shipped with the solr
>> webapp
>>
>> - Using a manager object on the client that holds all widgets and takes
>> care of the communication to the solr server.
>>
>> - Using the JSONResponsewriter to get the data to the widgets so they could
>> update their ui.
>>
>> These technologies seem to be the currently best ones IMHO, any
>> feedback/experiences welcome.
>>
>> Regards,
>> matthias
>>
>>
>>
>>
>>
>>
>>
>>
>> [1]
>> http://www.nabble.com/-GSOC-proposal-%3A-Solr-javascript-client-library-to16422808.html#a16430329
>> [2] http://lovo.test.dev.indoqa.com/mepheser/moobrowser/
>>
>
>
>
> --
> Regards,
>
> Cuong Hoang
>



-- 
--Noble Paul