Re: is it posible to get more Number of characters?

2012-01-26 Thread Jörg Agatz
no,

i have a lot of charecter in my url.. it looks like a stop at xyz
charakters, so i hope to find a way use mor character






On Thu, Jan 26, 2012 at 3:11 PM, Otis Gospodnetic <
otis_gospodne...@yahoo.com> wrote:

> Hi Jörg,
>
> Hmmm, do you mind rephrasing the question?
>
> Otis
> 
> Performance Monitoring SaaS for Solr -
> http://sematext.com/spm/solr-performance-monitoring/index.html
>
>
> - Original Message -
> > From: Jörg Agatz 
> > To: solr-user@lucene.apache.org
> > Cc:
> > Sent: Thursday, January 26, 2012 5:23 AM
> > Subject: is it posible to get more Number of characters?
> >
> > is it posible to get more Number of characters?
> >
> > I have a problem with too many characters in the search, my "Think
> > Tank" is
> > very long, but this also be the case.
> > Unfortunately I can not find a setting that is responsible.
> >
>


is it posible to get more Number of characters?

2012-01-26 Thread Jörg Agatz
is it posible to get more Number of characters?

I have a problem with too many characters in the search, my "Think Tank" is
very long, but this also be the case.
Unfortunately I can not find a setting that is responsible.


More Number of characters???

2012-01-26 Thread Jörg Agatz
Ausgangssprache: Deutsch 
Geben Sie Text oder eine Website-Adresse ein oder lassen Sie ein Dokument
übersetzen .
Abbrechen 
is it posible to get more Number of characters?

I have a problem with too many characters in the search, my "Think Tank" is
very long, but this also be the case.
Unfortunately I can not find a setting that is responsible.


import Data via PHP

2011-07-14 Thread Jörg Agatz
hallo users...

i have a Problem..

I have ti indexin Data via PHP.. the Information for data existing... and
the Fiels too..



"fields id, name, url, color, size" are existing in schema, and it work..


But how can i send it to solr, i try it with curl.. but it dosent work

curl "
http://myserver/solr/update/extract?commit=true&literal.id=$id&literal.name=$name&literal.url=$url&literal.size=$size&stream.file=
"


Re: Indexing Mails

2011-05-10 Thread Jörg Agatz
will the E-Mail ID, and the recent E-Mail Ids, indext too?

and witch fiels i have to create in schema.xml?


Indexing Mails

2011-05-10 Thread Jörg Agatz
Hallo..

I search a Way to indexing e-Mails fast and easy to safe in Solr

A lot of users do this too, but i cant find a howTo or something like that.

when you have or know where i can find a HowTo..
it will nice if you can help me..


King


Multicore Search "Map size must not be negative"

2011-01-20 Thread Jörg Agatz
Hallo..

I have create multicore search and will search in more then one Core!

Now i have done:

http://192.168.105.59:8080/solr/mail/select?wt=phps&q=*:*&shards=192.168.105.59:8080/solr/mail,192.168.105.59:8080/solr/mail11

But Error...

HTTP Status 500 - Map size must not be negative
java.lang.IllegalArgumentException: Map size must not be negative at
org.apache.solr.request.PHPSerializedWriter.writeMapOpener(PHPSerializedResponseWriter.java:224)
at
org.apache.solr.request.JSONWriter.writeSolrDocument(JSONResponseWriter.java:398)
at
org.apache.solr.request.JSONWriter.writeSolrDocumentList(JSONResponseWriter.java:553)
at
org.apache.solr.request.TextResponseWriter.writeVal(TextResponseWriter.java:148)
at
org.apache.solr.request.JSONWriter.writeNamedListAsMapMangled(JSONResponseWriter.java:154)
at
org.apache.solr.request.PHPSerializedWriter.writeNamedList(PHPSerializedResponseWriter.java:100)
at
org.apache.solr.request.PHPSerializedWriter.writeResponse(PHPSerializedResponseWriter.java:95)
at
org.apache.solr.request.PHPSerializedResponseWriter.write(PHPSerializedResponseWriter.java:69)
at
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:325)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)

When i search
http://192.168.105.59:8080/solr/mail/select?wt=php&q=*:*&shards=192.168.105.59:8080/solr/mail,192.168.105.59:8080/solr/mail11

it works but i need wt=phps it is important!

but i dont understand the Problem!!!


Jörg


Re: lazy loading error?

2011-01-19 Thread Jörg Agatz
ok, but i cant find the folders in the Tomcat folder /varlib/tomcat6/solr/
no existing contrib folder or lib folder?


where will missing an ampersand missing???


curl "
http://192.168.105.210:8080/solr/rechnungen/update/extract?literal.id=1234567&uprefix=attr_commit=true";
-F "myfile=@test.xls"


>
King


lazy loading error?

2011-01-19 Thread Jörg Agatz
Hallo, i have a problem with Solr and it looks like RequestHandlers.. but i
dont know what i must do...


i have remove and reinstall Openjdk
installt maven2 and tika,

nothing Chane..

someware in idea for me?







Command:

curl "
http://192.168.105.210:8080/solr/rechnungen/update/extract?literal.id=1234567&uprefix=attr_commit=true";
-F "myfile=@test.xls"


EROOR:

Apache Tomcat/6.0.24 - Error report
HTTP Status 500 - lazy loading error


org.apache.solr.common.SolrException: lazy loading error

at
org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:249)

at
org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:231)

at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)

at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)

at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)

at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

at java.lang.Thread.run(Thread.java:636)

Caused by: org.apache.solr.common.SolrException: Error loading class
'org.apache.solr.handler.extraction.ExtractingRequestHandler'

at
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:375)

at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)

at org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:449)

at
org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:240)

... 16 more

Caused by: java.lang.ClassNotFoundException:
org.apache.solr.handler.extraction.ExtractingRequestHandler

at java.net.URLClassLoader$1.run(URLClassLoader.java:217)

at java.security.AccessController.doPrivileged(Native Method)

at java.net.URLClassLoader.findClass(URLClassLoader.java:205)

at java.lang.ClassLoader.loadClass(ClassLoader.java:321)

at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:615)

at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

at java.lang.Class.forName0(Native Method)

at java.lang.Class.forName(Class.java:264)

at
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:359)

... 19 more

type Status
reportmessage lazy loading error


org.apache.solr.common.SolrException: lazy loading error

at
org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.getWrappedHandler(RequestHandlers.java:249)

at
org.apache.solr.core.RequestHandlers$LazyRequestHandlerWrapper.handleRequest(RequestHandlers.java:231)

at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316)

at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)

at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)

at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)

at
org.apache.coyote.http11.Http11Processor.process(Htt

zip in solr

2011-01-18 Thread Jörg Agatz
Hallo..
i don't know who i can indexing "zip" Dokuments, richtext, pdf and office
documents works pretty fine, but from the "zip" files i only get the Name of
ziped dokumentds, not the Content.
maybe i have to do some other thinks bye indexing zip, but i have read that
Tika can read zip and jar and and and..

my configuration is:

one PC, with Solr and tika is installed. one other PC as crawler send
dokuments with "curl" like:
curl "
http://192.168.105.66:8983/solr/update/extract?literal.id=zip&uprefix=attr_commit=true";
-F "myfile=@file.zip"


Re: Tika Update, no Data

2011-01-17 Thread Jörg Agatz
ohh, your right.. embarrassing!


i have tryed, and it works, but it seems it works not Perfect, the txt
documents into the ZIP are not indext, lonly the Names of documents into the
zip..

King


Re: Tika Update, no Data

2011-01-17 Thread Jörg Agatz
Hey!

Thanks a lot, nice tip.. works fine..

But one Problem i have too...

to indexing ZIP. i tryed :

curl "
http://192.168.105.66:8983/solr/update/extract?literal.id=zip&uprefix=attr_commit=true";
-F "myfile@constellio_standalone-1.0.zip"

and i get:
Warning: Illegally formatted input field!
curl: option -F: is badly used here
curl: try 'curl --help' or 'curl --manual' for more information
service@joa-Desktop:~/Downloads$

Maby you hav an idea?


Tika Update, no Data

2011-01-14 Thread Jörg Agatz
hey...

i work with tika and Solr, at the Moment, i can index Dokument information
but nur content..

to the details:

part of my config:



last_modified
true
text
true
ignored_
true
links
ignored_



Part of my Schema:

























curl command:

curl "
http://192.168.105.66:8983/solr/update/extract?literal.id=1234&uprefix=attr_commit=true";
-F "myfile=@Word-Text.doc"

result in Solr:


-

TX_WORD 10.1.210.500

-

application/octet-stream

-

Word-Text.doc

-

43592

-

myfile

-

application/msword

1234


_
_
_

But i need the Content to.. what i make wrong?

Thanks for Halt

King


Re: Problem with Tika and ExtractingRequestHandler (How to from lucidimagination)

2011-01-14 Thread Jörg Agatz
no, i dont know

that is the request Hadler:



last_modified
true
text
true
ignored_
true
links
ignored_



and i start it like this:
curl "
http://192.168.105.66:8983/solr/update/extract?ext.idx.attr=true\&ext.def.fl=text"
-F "myfile=@test.txt"

with this: 
"ext.idx.attr=true\"
i think its ok? but nothing


Re: Problem with Tika and ExtractingRequestHandler (How to from lucidimagination)

2011-01-14 Thread Jörg Agatz
ok, now in the 4 test, it works ? ok.. i dont know... it works.. but now i
have a Oher Problem, i cant sent content to the Server..




when i will send Content to solr i get:




Error 400 

HTTP ERROR: 400Document [null] missing required field:
id
RequestURI=/solr/update/extracthttp://jetty.mortbay.org/";>Powered by Jetty://

























I do:
curl "
http://192.168.105.66:8983/solr/update/extract?ext.idx.attr=true\&ext.def.fl=text";
-F "myfile=@test.txt"

some ideas?


Problem with Tika and ExtractingRequestHandler (How to from lucidimagination)

2011-01-14 Thread Jörg Agatz
Hallo,

I will indexig fulltext Documents, so i read, that Tika is a god idea :-)

so i try the How to from lucidimagination (
http://www.lucidimagination.com/Community/Hear-from-the-Experts/Articles/Content-Extraction-Tika
)


first of all, i install Maven2, and mvn Tika, i have test Tika in shell
command and get results from Programm.
like: java -jar tika-app-0.8.jar -t test.pdf

Than i download the example from lucid, mvn clean install and wailt,

i doo exactly that waht the How to say, an i test it 3 times..

but when i start Solr, i get an error.

I dont know what i have to do, to indexing dokuments?
what happans with solr an tika?


__
__

HTTP ERROR: 500

Severe errors in solr configuration.

Check your log files for more detailed information on what may be wrong.

If you want solr to continue after configuration errors, change:

 false

in solrconfig.xml

-
org.apache.solr.common.SolrException: Error loading class
'org.apache.solr.handler.extraction.ExtractingRequestHandler'
at 
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:375)
at org.apache.solr.core.SolrCore.createInstance(SolrCore.java:413)
at org.apache.solr.core.SolrCore.createRequestHandler(SolrCore.java:449)
at 
org.apache.solr.core.RequestHandlers.initHandlersFromConfig(RequestHandlers.java:152)
at org.apache.solr.core.SolrCore.(SolrCore.java:556)
at 
org.apache.solr.core.CoreContainer$Initializer.initialize(CoreContainer.java:137)
at 
org.apache.solr.servlet.SolrDispatchFilter.init(SolrDispatchFilter.java:83)
at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:99)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:594)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:139)
at 
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1218)
at 
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:500)
at 
org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:147)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at 
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:117)
at org.mortbay.jetty.Server.doStart(Server.java:210)
at 
org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:40)
at org.mortbay.xml.XmlConfiguration.main(XmlConfiguration.java:929)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.mortbay.start.Main.invokeMain(Main.java:183)
at org.mortbay.start.Main.start(Main.java:497)
at org.mortbay.start.Main.main(Main.java:115)
Caused by: java.lang.ClassNotFoundException:
org.apache.solr.handler.extraction.ExtractingRequestHandler
at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at 
org.apache.solr.core.SolrResourceLoader.findClass(SolrResourceLoader.java:359)
... 30 more

RequestURI=/solr/

*Powered by Jetty:// *


other index input in Solr

2011-01-12 Thread Jörg Agatz
Guten Morgen Solr-Users,

In Deutschland ist es Morgen daher diese Begrüßung.

Ich habe ein kleines Problem mit Solr.
Ich habe einen Index, erstellt von einem anderen Programm, es ist ein Lucene
Index und kann von Luke problemlos gelesen werden.

Diesen möchte ich nun jedoch mit Solr durchsuchen lassen.
Ich starte Solr ohne probleme und kann mir in der Adminoberfläche auch den
index angucken, jedoch keine Suche darin starten, ich erhalte keine Antwort
sondern nur Fehlermeldungen.

Leider weiß ich nicht viel damit anzufangen, es scheint als wenn Solr sich
über Leere Felder im Index Beschwert, ich weiß nur nicht wie ich das Ändere.

EROOR:

HTTP Status 500 - null java.lang.NullPointerException at
org.apache.solr.request.XMLWriter.writePrim(XMLWriter.java:761) at
org.apache.solr.request.XMLWriter.writeStr(XMLWriter.java:619) at
org.apache.solr.schema.StrField.write(StrField.java:46) at
org.apache.solr.schema.SchemaField.write(SchemaField.java:108) at
org.apache.solr.request.XMLWriter.writeDoc(XMLWriter.java:307) at
org.apache.solr.request.XMLWriter$3.writeDocs(XMLWriter.java:483) at
org.apache.solr.request.XMLWriter.writeDocuments(XMLWriter.java:420) at
org.apache.solr.request.XMLWriter.writeDocList(XMLWriter.java:457) at
org.apache.solr.request.XMLWriter.writeVal(XMLWriter.java:520) at
org.apache.solr.request.XMLWriter.writeResponse(XMLWriter.java:130) at
org.apache.solr.request.XMLResponseWriter.write(XMLResponseWriter.java:34)
at
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:325)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
--

*type* Status report

*message* *null java.lang.NullPointerException at
org.apache.solr.request.XMLWriter.writePrim(XMLWriter.java:761) at
org.apache.solr.request.XMLWriter.writeStr(XMLWriter.java:619) at
org.apache.solr.schema.StrField.write(StrField.java:46) at
org.apache.solr.schema.SchemaField.write(SchemaField.java:108) at
org.apache.solr.request.XMLWriter.writeDoc(XMLWriter.java:307) at
org.apache.solr.request.XMLWriter$3.writeDocs(XMLWriter.java:483) at
org.apache.solr.request.XMLWriter.writeDocuments(XMLWriter.java:420) at
org.apache.solr.request.XMLWriter.writeDocList(XMLWriter.java:457) at
org.apache.solr.request.XMLWriter.writeVal(XMLWriter.java:520) at
org.apache.solr.request.XMLWriter.writeResponse(XMLWriter.java:130) at
org.apache.solr.request.XMLResponseWriter.write(XMLResponseWriter.java:34)
at
org.apache.solr.servlet.SolrDispatchFilter.writeResponse(SolrDispatchFilter.java:325)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:254)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636) *

*description* *The server encountered an internal error (null
java.lang.NullPointerException at
org.apache.solr.request.XMLWriter.writePrim(XMLWriter.java:761) at
org.apache.solr.request.XMLWriter.writeStr(XMLWriter.java:619) at
org.apache.solr.schema.StrField.write(StrField.java:46) at
org.apache.solr.schema.SchemaField.write(SchemaField.java:108) at
org.apache.solr.re

Optimize a Index

2011-01-07 Thread Jörg Agatz
Hallo, i have a Index withe 800.000 Dokuments, and now i hope it will be
Faster, if i optimize the Index, it sounds good ;-)

But i cant find an Example to Optimize one of milticors or all cors..


Maby one of you have a little example for that ..

King


indexing data VIA HTTP URL

2010-12-17 Thread Jörg Agatz
hallo, i wont to indexing data from a webpage, like a Comment ore something
else..

so i hope it exist a way to Update the Data Realtime...
like:

http://192.168.105.59:8080/solr/index2/update?commit=true -H "Content-Type:
text/xml" --data-binary 'testdoc'

but this is not Possible..


exist a way to index data in this way?

King


Re: Multicore Search broken

2010-12-16 Thread Jörg Agatz
I have tryed some Thinks, now i have new news,

when i search in :
http://localhost:8080/solr/mail/select?q=*:*&shards=localhost:8080/solr/mail,localhost:8080/solr/
mail
it works, so it looks that it is not a Problem with the JAVA or something
like this,

i have a Idea, it is Possible, that the diferences configs?

pleas, when you have an idea, than told me this...


Multicore Search broken

2010-12-16 Thread Jörg Agatz
Hallo users,

I have create a Multicore instance from Solr with Tomcat6,
i create two Cores "mail" and "index2" at first, mail and index2 are the
Same config, after this, i change the Mail config and Indexing 30 xml

No when i search in each core:

http://localhost:8080/solr/mail/select?q=*:*&shards=localhost:8080/solr/mail,localhost:8080/solr/
index2

i get a Error

__


HTTP Status 500 - null java.lang.NullPointerException at
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:462)
at
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:298)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:290)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)
__


when i search in one of the Cores, it works,
http://localhost:8080/solr/mail/select?q=*:*
=
30 results
http://localhost:8080/solr/index2/select?q=*:*
 =
one result


Someone hase a Idea, what is Wrong ?


Re: Results from More then One Cors?

2010-12-16 Thread Jörg Agatz
ok, works Great, at the Beginning, but now i get a Big Error :-(


HTTP Status 500 - null java.lang.NullPointerException at
org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:462)
at
org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:298)
at
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:290)
at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1316) at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:338)
at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:241)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:636)


indexing a lot of XML dokuments

2010-12-16 Thread Jörg Agatz
hi, users, i serch e way to indexing a lot of iml Dokuments so fast as
Possible.

i have more than 1 million docs on Server 1 and a SolR multicor an Server 2
with tomcat.

i dont know ho i can do it easy and fast..

I cant find a idea in the wiki, maby you have some ideas?

King


Problem with multicore

2010-12-15 Thread Jörg Agatz
Hallo Users,

I habve a Problem wit Solr 1.4.1 on Ubuntu 10.10

I have download the new version and extract it!

than i have copy the solr.xml from example/multicore/solr.xml to
/examples/solr/solr.xml











  

  





  





than i create folders example/solr/core0 and example/solr/core1
and in each folder a conf folder, with the original schema.xml and
solrconfig.xml ect..

start Solr with "sudo java -Dsolr.solr.home=multicore -jar start.jar"

but nuw i cant index something with:

sudo java -Ddata=args -Dcommit=yes -Durl=
http://localhost:8983/solr/core1/update -jar post.jar *.xml

i always get:

SimplePostTool: version 1.2

SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8,
other encodings are not currently supported

SimplePostTool: POSTing args to http://localhost:8983/solr/core1/update..

SimplePostTool: FATAL: Solr returned an error:
Unexpected_character_m_code_109_in_prolog_expected___at_rowcol_unknownsource_11

serv...@joa-desktop:~/Desktop/apache-solr-1.4.1/example/exampledocs$


Some ideas what i have make wrong?

King


XML to solr

2010-11-15 Thread Jörg Agatz
hi Users.

I have a Question,

i have a lot of XML to indexing, at the Moment i have two XML files, one
original, and one for solr a (Search_xml)

for example:




6483030ed18d8b7a58a701c8bb638d20
0012_20101105111938206.pdf
PDM



xx


EK-Anfrage







Search_xml :






6483030ed18d8b7a58a701c8bb638d20
0012_20101105111938206.pdf
PDM
xx
EK-Anfrage



My Question is now, (how) can i indexing the Original XML? without move the
XML to a special search XML?


segments_7eq4 not found !!!! HELP

2010-11-15 Thread Jörg Agatz
Hallo,

I have a Problem..

Last month i get an Error, segment "7eq4 " not found, so i cant indexing
anything but can search in the index.
i remove the index and create a new, but now i get the Same error again...

maby you can help me, can tell me what ist wrong with my Solr
at the Moment i have 260445 documents in the index, TO much?

error:
"
*SimplePostTool: FATAL: Solr returned an error:
homeservicesolrapachesolrnightlyexamplesolrdataindexsegments_7eq4_No_such_file_or_directory__javaioFileNotFoundException_
homeservicesolrapachesolrnightlyexamplesolrdataindexsegments_7eq4_No_such_file_or_directory__at_javaioRandomAccessFileopenNative_Method__at_
javaioRandomAccessFileinitRandomAccessFilejava212__at_orgapachelucenestoreSimpleFSDirectory$SimpleFSIndexInput$DescriptorinitSimpleFSDirectoryjava77__at_
orgapachelucenestoreSimpleFSDirectory$SimpleFSIndexInputinitSimpleFSDirectoryjava99__at_orgapachelucenestoreNIOFSDirectory$NIOFSIndexInputinitNIOFSDirectoryjava88__at_
orgapachelucenestoreNIOFSDirectoryopenInputNIOFSDirectoryjava69__at_orgapachelucenestoreFSDirectoryopenInputFSDirectoryjava670__at_
orgapacheluceneindexSegmentInfosreadSegmentInfosjava229__at_orgapacheluceneindexSegmentInfos$1doBodySegmentInfosjava302__at_
orgapacheluceneindexSegmentInfos$FindSegmentsFilerunSegmentInfosjava697__at_orgapacheluceneindexSegmentInfos$FindSegmentsFilerunSegmentInfosjava531__at_
orgapacheluceneindexSegmentInfosreadSegmentInfosjava299__at_orgapacheluceneindexIndexWriterinitIndexWriterjava1506__at_
orgapacheluceneindexIndexWriterinitIndexWriterjava1331__at_orgapachesolrupdateSolrIndexWriterinitSolrIndexWriterjava177__at_
orgapachesolrupdateUpdateHandlercreateMainIndexWriterUpdateHandlerjava123__at_orgapachesolrupdateDirectUpdateHandler2openWriterDirectUpdateHandler2java172__at_
orgapachesolrupdateDirectUpdateHandler2addDocDirectUpdateHandler2java219__at_
orgapachesolrupdateprocessorRunUpdateProcessorprocessAddRunUpdateProcessorFactoryjava61__at_
orgapachesolrhandlerXMLLoaderprocessUpdateXMLLoaderjava140__at_orgapachesolrhandlerXMLLoaderloadXMLLoaderjava69__at_
orgapachesolrhandlerContentStreamHandlerBasehandleRequestBodyContentStreamHandlerBasejava54__at_
orgapachesolrhandlerRequestHandlerBase*
"


Re: Problem with Indexing

2010-10-12 Thread Jörg Agatz
java -Xmx1024m -jar start.jar


Re: Problem with Indexing

2010-10-11 Thread Jörg Agatz
ok, i have try it.. and now iget this error:

POSTing file e067f59c-d046-11df-b552-000c29e17baa_SEARCH.xml
SimplePostTool: FATAL: Solr returned an error:
this_writer_hit_an_OutOfMemoryError_cannot_flush__javalangIllegalStateException_this_writer_hit_an_OutOfMemoryError_cannot_flush__at_orgapacheluceneindexIndexWriterdoFlushInternalIndexWriterjava4204__at_orgapacheluceneindexIndexWriterdoFlushIndexWriterjava4192__at_orgapacheluceneindexIndexWriterflushIndexWriterjava4183__at_orgapacheluceneindexIndexWriterupdateDocumentIndexWriterjava2647__at_orgapacheluceneindexIndexWriterupdateDocumentIndexWriterjava2601__at_orgapachesolrupdateDirectUpdateHandler2addDocDirectUpdateHandler2java241__at_orgapachesolrupdateprocessorRunUpdateProcessorprocessAddRunUpdateProcessorFactoryjava61__at_orgapachesolrhandlerXMLLoaderprocessUpdateXMLLoaderjava139__at_orgapachesolrhandlerXMLLoaderloadXMLLoaderjava69__at_orgapachesolrhandlerContentStreamHandlerBasehandleRequestBodyContentStreamHandlerBasejava54__at_orgapachesolrhandlerRequestHandlerBasehandleRequestRequestHandlerBasejava131__at_orgapachesolrcoreSolrCoreexecuteSolrCorejava1316__at_orgapachesolrservletSolrDispatchFilterexecuteSolrDispatchFilterjava338__at_orgapachesolrservletSolrDispatchFilterdoFilterSolrDispatchFilterjava241__at_orgmortbayjettyservletServletHandler$CachedChaindoFilterServletHandlerjava1089__at_orgmortbayjettyservletServletHandlerhandleServletHandlerjava365__at_orgmortbayjettysecuritySecurityHandlerhandleSecurityHandlerjava216__at_orgmortbayjettyservletSessionHandlerhandleSessionHandlerjava181__at_orgmortbayjettyhandlerContextHandlerhandleContextHandlerjava712__at_orgmortbayjettywebappWebAppContexthandleWebAppContextjava405__at_orgmortbayjettyhandlerContextHandlerCollectionhandleContextHandlerCollectionjava211__at_orgmortbayjettyhandlerHandlerCollectionhandleHandlerCollectionjava114__at_orgmortbayjettyhandlerHandlerWrapperhandleHandlerWrapperjava139__at_orgmortbayjettyServerhandleServerjava285__at_

i dont know, how i can index a lot of xml (fast)


Problem with Indexing

2010-10-01 Thread Jörg Agatz
Hallo,

i tryed to index a lot of XML. 700.000 to 800.000 but i becom a Error: and a
Java heap Space error..

i doo this:

find -maxdepth 1 -mindepth 1 -name '*_SEARCH*' -exec java -jar
/opt/solr/apache-solr-1.4.0/example/exampledocs/post.jar '{}' +

and i get this:

...
...
...
...
SimplePostTool: POSTing file e3a02194-cd21-11df-b405-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file e448d816-cd21-11df-8bf5-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file e4a5f00a-cd21-11df-8530-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file e503f452-cd21-11df-ac74-000c29e17baa_SEARCH.xml
SimplePostTool: FATAL: Solr returned an error:
Illegal_character_CTRLCHAR_code_27__at_rowcol_unknownsource_22110


Or i get somethink likethis:


...
...
...
...
SimplePostTool: POSTing file a501b15c-cc98-11df-a262-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file a6cef6de-cc98-11df-84f2-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file a7ae877c-cc98-11df-b4e4-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file a7ee32dc-cc98-11df-8b09-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file a954f8c2-cc98-11df-81f5-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file a9babbda-cc98-11df-bc9d-000c29e17baa_SEARCH.xml
SimplePostTool: FATAL: Solr returned an error:
Java_heap_space__javalangOutOfMemoryError_Java_heap_space_
SimplePostTool: version 1.2
SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8,
other encodings are not currently supported
SimplePostTool: POSTing files to http://localhost:8983/solr/update..
SimplePostTool: POSTing file 5c4a2eb0-cc9f-11df-bbd1-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file 5caf02d6-cc9f-11df-92cc-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file 5d58b81c-cc9f-11df-958a-000c29e17baa_SEARCH.xml
SimplePostTool: POSTing file 5e5b2998-cc9f-11df-9a3b-000c29e17baa_SEARCH.xml
...
...
...


Maby you have an Idie for me?


Re: Results from More then One Cors?

2010-08-13 Thread Jörg Agatz
Sorry..


I tryed it with more Details :-)..


So i have a lot of cors.. 10 to 20... now i search a way to get results from
5 to ten Cors at the same time..
i need to sort ol results need view facet search out of the 10 cors at the
same time.

So one query, one server with 20 Corrs and o result with the results from
all 20 Corrs..

i hope my question is clearly.. my english is not the best.. Sorry


Results from More then One Cors?

2010-08-12 Thread Jörg Agatz
Hallo Users...

I tryed to get results from more then one Cores..
But i dont know how..

Maby you have a Idea..

I need it into PHP

King


delete Problem..

2010-08-10 Thread Jörg Agatz
Hallo Users...

I have a Problem, to delete some indext Item

i Tryed it with :

java -Ddata=args -jar
/home/service/solr/apache-solr-nightly/example/exampledocs/post.jar
"EMAIL_HEADER_FROM:test.de"

but Nothing,

EMAIL_HEADER_FROM is a "String"
and in the past it ever works. but now?
I cant delete it.

i can delete some mail when i tryed to delet only one like This:

java -Ddata=args -jar
/home/service/solr/apache-solr-nightly/example/exampledocs/post.jar
"4b829265.7010...@test.de.20100803133543"


Re: fq= "more then one" ?

2010-07-12 Thread Jörg Agatz
OK...
Thanks..

It works if i try it direktly..
but in PHP it dosent:

*Warning*: file_get_contents(http://@mail.de OR
EMAIL_HEADER_TO:t...@mail.de )) [
function.file-get-contents]:
failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request in *
/var/www/new/msearchres.php* on line *32*


Code:

$url='
http://172.20.1.33:8983/solr/select?wt=phps&q='.urlencode($q).'&sort='.urlencode($sort).'%20'.$direction.'&fq=(EMAIL_HEADER_FROM:'.$wo.'
OR EMAIL_HEADER_TO:'.$wo.')';

if(isset($_GET['s'])) $url.="&start=".$_GET['s'];
$serializedResult = file_get_contents($url);
$results = unserialize($serializedResult);


fq= "more then one" ?

2010-07-12 Thread Jörg Agatz
Hallo,

i tryes to ceate a new Search for mails, and become a Problem..

If i search:
http://172.20.1.33:8983/solr/select/?q=*:*&start=0&fq=EMAIL_HEADER_FROM:t...@mail.de

it works, i only get E-Mails from t...@mail.de
But i need something like That:

http://172.20.1.33:8983/solr/select/?q=*:*&start=0&fq=EMAIL_HEADER_FROM:t...@mail.de&fq=EMAIL_HEADER_TO:t...@mail.de

But that, dosent work, it looks like, i can Only one parameter in FQ..

Maby you can help me.

King


problem to indexing

2010-07-11 Thread Jörg Agatz
Hallo Users..

I have a lot of work :-)
i havt ti indexing Mails.. .. And it works, but sometime i get Errors, ind i
Dont know why..

Maby you can Help..


My XML:




acd1a9416fe3ddaca1442e44e0ca8751
0747046bcc415546b565108e3da19406bf677f9...@

20100709140235
103261
/2010/07/0747046bcc415546b565108e3da19406bf677f9...@

0747046bcc415546b565108e3da19406bf677f9...@x

4b4366d9.60...@dueker.de
0747046bcc415546b565108e3da19406bf6778c...@x

4b4366d9.60...@xxx
ncor...@x
t...@xxx
20100106064718


Butterfly
Valves
&
Gate
Valves.xls



My Error:

SimplePostTool: FATAL: Solr returned an error:
Unexpected_character__code_60_expected_a_name_start_character__at_rowcol_unknownsource_2044__javaioIOException_Unexpected_character__
code_60_expected_a_name_start_character__at_rowcol_unknownsource_2044__at_orgapachesolrhandlerXMLLoaderloadXMLLoaderjava73__
at_orgapachesolrhandlerContentStreamHandlerBasehandleRequestBodyContentStreamHandlerBasejava54__at_
orgapachesolrhandlerRequestHandlerBasehandleRequestRequestHandlerBasejava131__at_orgapachesolrcoreSolrCoreexecuteSolrCorejava1299__
at_orgapachesolrservletSolrDispatchFilterexecuteSolrDispatchFilterjava338__at_
orgapachesolrservletSolrDispatchFilterdoFilterSolrDispatchFilterjava241__at_
orgmortbayjettyservletServletHandler$CachedChaindoFilterServletHandlerjava1089__at_
orgmortbayjettyservletServletHandlerhandleServletHandlerjava365__at_orgmortbayjettysecuritySecurityHandlerhandleSecurityHandlerjava216__at_
orgmortbayjettyservletSessionHandlerhandleSessionHandlerjava181__at_orgmortbayjettyhandlerContextHandlerhandleContextHandlerjava712__at_
orgmortbayjettywebappWebAppContexthandleWebAppContextjava405__at_
orgmortbayjettyhandlerContextHandlerCollectionhandleContextHandlerCollectionjava211__at_
orgmortbayjettyhandlerHandlerCollectionhandleHandlerCollectionjava114__at_orgmortbayjettyhandlerHandlerWrapperhandleHandlerWrapperjava139__
at_orgmortbayjettyServerhandleServerjava285__at_orgmortbayjettyHttpConnectionhandleRequestHttpConnectionjava502__at_
orgmortbayjettyHttpConnection$RequestHandlercontentHttpConnectionjava835__at_orgmortbayjettyHttpParserparseNextHttpParserjava641__at_
orgmortbayjettyHttpParserparseAvailableHttpParserjava208__at_orgmortbayjettyHttpConnectionhandleHttpConnectionjava378__at_
orgmortbayjettybioSocketConnector$ConnectionrunSocketConnectorjava226__at_
orgmortbaythreadBoundedThreadPool$PoolThreadrunBoundedThreadPooljava442_Cau

I cant find annything

King


Re: PHP output at a multiValued AND dynamicField

2010-06-02 Thread Jörg Agatz
i don't understand what you mean!


Re: PHP output at a multiValued AND dynamicField

2010-06-02 Thread Jörg Agatz
yes i done.. but i dont know how i get the information out of the big
Array...

Al fields like P_VIP_ADR_*


PHP output at a multiValued AND dynamicField

2010-06-02 Thread Jörg Agatz
Hallo Users...

I have a Problem...
In my SolR, i have a lot of multiValued, dynamicFields and now i must print
ther Fields in php..

But i dont know how...


In schema.xml:

  
  
  
  
  
  
  
  

output from Solr:


A201005311740560002.xml
NO
A201005311740560002
2010-05-31 17:40:56
−

Q:\DatenIBP\AADMS\telli_vip\xml\A201005311740560002.xml


D





Leichlingen


42799











Schlo� Eicherhof

ADRESS
KYETG201005311740560002


I don now ha is the name of the Fields, so i dont know how i get the name to
"printr" it in PHP

Maby someone of you has a answer of the problem?

King


Re: question about indexing...

2010-05-26 Thread Jörg Agatz
OK, Done.. i reboot the Server.
Now it works..

is the Textfield Single instance? how can i make it?

In textfield indext the Word :
"Hallo"

if i search
"Hallo" i found
"hallo" i found
"Hall*" i dont
"hall*" i found

But some user will search "Hall*"



One more little Question i have...

The Difference from "text", "string", "textgen" ect..
Where i can sort, where i can search ect.

i do not found a list of carakter of each type.


Re: question about indexing...

2010-05-26 Thread Jörg Agatz
Sorry, i mean:

The XML like This:




Re: question about indexing...

2010-05-26 Thread Jörg Agatz
Ok, Done...
But no changes!

I have the following in the Schema.xml Made:











all

The XML like This:



i search "hallo" "Hallo" "leute" or "name" but i caqnt Find anythink.
"*:*" brings me the one indexed file.

What happens?


Re: question about indexing...

2010-05-25 Thread Jörg Agatz
i create a new Index, but nothing Change.

 







I search for :

" *:* "
I fond it

i search vor "hallo" "Hallo" "hallo*" "Hallo*"or some other content from the
CDATA field i dosent.


Re: question about indexing...

2010-05-25 Thread Jörg Agatz
ok, done..

But now i dosent find any word in the CDATA field.
i make :



it is a string field Multivalued..

King


question about indexing...

2010-05-25 Thread Jörg Agatz
I have a work!,
i musst indexing a lot of E-Mails, so i will create a Script to generate me
a xml of the Mails.

Now is the question, what happens when i creade a field "body" and in this
field comes a lot of "<" or ">" like this:
Confidentiality Caution: This message and all its included content and

assets are confidential and for the individual use of the entity to
whom it is send to only. If you, the reader of this message, have
recieved this communication by error please notify me about this
immediately, by return address, and delete the message and its assets.
Thank you.
> Apropos: In eurem Footer scheint ein "r" zu fehlen (Headqua_r_ter).
>
> Snapt Pty Ltd: Stephan Plesnik schrieb:
>>
>> Headquaters:

>

> 
> Diese E-Mail, einschließlich sämtlicher mit ihr übertragenen Dateie
> n,
> ist vertraulich und ist für die ausschließliche Verwendung durch die
> Person oder das Unternehmen vorgesehen, an die/das sie adressiert ist.
> Sollten Sie diese E-Mail fälschlicherweise erhalten haben,
> benachrichtigen Sie bitte unseren Systemverwalter
> (serv...@plesnik.de).
> Diese E-Mail wurde auf die Abwesenheit von Computerviren überprüft.
> ---
> 

Or






I think it dosen´t Work!
howcan i make it, so that each content inpuit in the Solr


Re: Multicore - Post xml to core0, core1 or core2

2009-12-16 Thread Jörg Agatz
Good eavening,

I  tryed to indexing the Test csv..
i use this: java -Durl=http://localhost:8983/solr/core0/update -jar post.jar
books.csv

But i become an error.

SimplePostTool: WARNING: Make sure your XML documents are encoded in UTF-8,
other encodings are not currently supported
SimplePostTool: POSTing files to http://localhost:8983/solr/core0/update..
SimplePostTool: POSTing file books.csv
SimplePostTool: FATAL: Solr returned an error:
Unexpected_character_i_code_105_in_prolog_expected___at_rowcol_unknownsource_11


I  dont know what that mean!

King


Multiindexing

2009-12-07 Thread Jörg Agatz
Hi Users..

i need help with Multiindexing in Solr,

i want one Core, and 3 to 5 diferent indizes. So i can search in simultan in
all or in some of them.
i find the Help im WIKI.. but it dosent Help.
http://wiki.apache.org/solr/MultipleIndexes?highlight=%28multi%29
there stand nothing about Multiindexing in Solr.
in the Book from Solr1.4 too

exist no way to use more than one index in one core/instance?

King


Re: Fulltext crawler

2009-11-30 Thread Jörg Agatz
book? i order "Solr 1.4" today, i see some examples in this book?


Multi index

2009-11-28 Thread Jörg Agatz
Hallo Users...

At the Moment i test MultiCorae Solr, but i cant search in more than one
core direktly..

Exist a way to use multiindex, 3-5 Indizes in one core ans search direkty in
all? ore only in one?

it is realy important or my Projekt.

Thanks

King


Fulltext crawler

2009-11-26 Thread Jörg Agatz
*Hey guys*,I search a Fulltext crawler for Solr, to index HTML,OpenOffice
and Ms Office documets,PDF and muchmore formates.
How indexed you the Data?

Maby you can help me to find a Crawler.

King


Re: Solr 1.4 search in more the one Core

2009-11-25 Thread Jörg Agatz
I think NO, because there is a Crawler for fulltext indexig that
permernently uptate the Indexes

When you have a Crawler for documents,office ect, than i can switch to solr
totaly.


Re: Solr 1.4 search in more the one Core

2009-11-25 Thread Jörg Agatz
> Why do you want to search across cores on the same Solr?
>
> --
> Regards,
> Shalin Shekhar Mangar.
>

I only need Multiindexing, but i find no other way to import other indizes.

I have some old indexes from a other Projekt, and will us this in Solr. i i
use one index it works, but i have a lot of index, so i need to find a way
search in more then one index, so more then one Cores


Solr 1.4 search in more the one Core

2009-11-25 Thread Jörg Agatz
Hollo,

I try to search in more than one Core.

I search in Wiki, but i dont find any way to search in 2 of the 3 cores and
a way to seacht in all cores.

maby Someone of you have tryed the same an can help me?


Buggy search Solr1.4 Multicore

2009-11-25 Thread Jörg Agatz
Hi...

I have a Problem with Solr, I try it with 3 cores, and it starts. I can
search but i only become results, when i exaktly search for the howls field.

i mean, in the field stand: "Dell Widescreen Ultra"

when i search for
"name:Widescreen" i get Nothing
"name:Dell Widescreen Ultra" i get the file
"name:Dell*" i get the file

now i creat copyfiels and search only for "Dell*" and get it, bit
"Widescreen" Nothing

What is wrong with the index?

I will search each word in each field!

Pleas Help me


Re: Multicore - Post xml to core0, core1 or core2

2009-11-25 Thread Jörg Agatz
Thanks, it works realy fine..

Maby you have an Ideo, to search in Core0 and Core1

I want to search in all cores, or only in 2 of 3 cores.


Multicore - Post xml to core0, core1 or core2

2009-11-25 Thread Jörg Agatz
Hallo, at the moment i tryed to create a Solr instance wite more then one
Cores

I use solr 1.4 and multicore Runs :-)
But i dont know how i post a XML in one of my cores. At the Moment i use

"java -jar post.jar *.xml"

now i will fill the core0 index with core0*.xml , and core1 with core1*.xml
But how?
in the wiki i cant find anythink about that.

King


Output all, from one field

2009-11-23 Thread Jörg Agatz
Hallo,

I search for a way, to output all content from one field..

Like name:

"NAME:*"

And Solr gifs me all Names

or "color:*"

and i become all colors

can io do this? or is this Impossible?

Jörg


Re: Wildcards at the Beginning of a Search.

2009-11-12 Thread Jörg Agatz
is in solr 1.4 maby a way to search with an wildcard at the beginning?

in 1.3 i cant activate it.

KingArtus


Re: memory size

2009-11-11 Thread Jörg Agatz
I have change the php.ini, now it works...
it was a Problem in PHP, because i grouping the Results in PHP, when i have
much results i need more memory

Thanks for the Help


memory size

2009-11-10 Thread Jörg Agatz
Hallo,

I have a Problem withe the Memory Size, but i dont know how i can repair it.

Maby it is a PHP problem, but i dont know.

My Error:

Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to
allocate 16515072 bytes)


I hope you can help me

KinGArtus


Problem with Wildcard...

2009-09-29 Thread Jörg Agatz
Hi Users...

i have a Problem

I have a lot of fields, (type=text) for search in all fields i copy all
fields in the default text field and use this for default search.

Now i will search...

This is into a Field

"RI-MC500034-1"
when i search "RI-MC500034-1" i found it...
if i seacht "RI-MC5000*" i dosen´t

when i search "500034" i found it...
if i seacht "5000*" i dosen´t

what can i do to use the Wildcards?

KingArtus


Sort a Multivalue field

2009-09-09 Thread Jörg Agatz
Hallo Friends,

I have a Problem...

my Search engins Server runs since a lot of weeks...
Now i gett new XML, and one of the fields ar Multivalue,,

Ok, i change the Schema.xml, set it to Multivalue and it works :-) no Error
by the Indexing.. Now i go to the Gui, and will sort this Field, and BAM, i
cant sort.

"it is impossible to sort a Tokenized field"

Than i think, ok, i doo it in a CopyField and sort the CopyField..
and voila, i dont get an error, but hie dosent sort realy, i get an output,
but no change by "desc" ore "asc"

What can i do to sort this Field.. i thinkt, when i soert this field (only
Numbers) the file comes multible in the output, like this...


xml:
field aaa>1122
field aaa>2211
field aaa>3322

sort field aaa

*1122*
1134
1145
*2211*
2233
3355
3311
3312
*3322*
...
...
...

i hope you have a idea, i am at the end with my ideas

KingArtus


solr-user@lucene.apache.org

2009-07-30 Thread Jörg Agatz
Also, i use the Comandline tool "java .jar post.jar xyz.xml"

i donkt know what you are mean with

It sounds like you're not using 'entities' for your '&' characters
(ampersands) in your XML.
These should be converted to "&" This should look familiar if you've
ever written any HTML.
I dont understand this

i musst change even & to & ?


solr-user@lucene.apache.org

2009-07-30 Thread Jörg Agatz
Good Morning SolR :-) its morning in Germany!

i have a Problem, with the Indexing...

I often become an Error.

I think it is because in the XML stand this Character "&"
I need the Character, what happens?


SimplePostTool: FATAL: Solr returned an error:
comctcwstxexcWstxLazyException_Unexpected_character___code_32_missing_name__at_rowcol_unknownsource_1465__comctcwstxexcWstxLazyException_comctcwstxexcWstxUnexpectedCharException_Unexpected_character___code_32_missing_name__at_rowcol_unknownsource_1465__at_comctcwstxexcWstxLazyExceptionthrowLazilyWstxLazyExceptionjava45__at_comctcwstxsrStreamScannerthrowLazyErrorStreamScannerjava729__at_comctcwstxsrBasicStreamReadersafeFinishTokenBasicStreamReaderjava3659__at_comctcwstxsrBasicStreamReadergetTextBasicStreamReaderjava809__at_orgapachesolrhandlerXMLLoaderreadDocXMLLoaderjava278__at_orgapachesolrhandlerXMLLoaderprocessUpdateXMLLoaderjava139__at_orgapachesolrhandlerXMLLoaderloadXMLLoaderjava69__at_orgapachesolrhandlerContentStreamHandlerBasehandleRequestBodyContentStreamHandlerBasejava54__at_orgapachesolrhandlerRequestHandlerBasehandleRequestRequestHandlerBasejava131__at_orgapachesolrcoreSolrCoreexecuteSolrCorejava1299__at_orgapachesolrservletSolrDispatchFilterexecuteSolrDispatchFilterjava338__at_orgapachesolrservletSolrDispatchFilterdoFilterSolrDispatchFilterjava241__at_orgmortbayjettyservletServletHandler$CachedChaindoFilterServletHandlerjava1089__at_orgmortbayjettyservletServletHandlerhandleServletHandlerjava365__at_orgmortbayjettysecuritySecurityHandlerhandleSecurityHandlerjava216__at_orgmortbayjettyservletSessionHandlerhandleSessionHandlerjava181__at_orgmortbayjettyhandlerContextHandlerhandleContextHandlerjava712__at_orgmortbayjettywebappWebAppContexthandleWebAppContextjava405__at_orgmortbayjettyhandlerContextHandlerCollectionhandleContextHandlerCollectionjava211__at_orgmortbayjettyhandlerHandlerCollectionhandleHandlerCollectionjava114__at_orgmortbayjettyhandlerHandlerWrapperhandleHandlerWrapperjava139__at_orgmortbayjettyServerhandleServerjava285__at_orgmortbayjettyHt

_


Sort field

2009-07-23 Thread Jörg Agatz
Hallo...

I have a problem...

i want to sort a field

at the Moment the field type is "text", but i have test it with "string" or
"date"
the content of the field looks like "22.07.09" it is a Date.

when i sort, i get :

failed to open stream: HTTP request failed! HTTP/1.1 500
there_are_more_terms_than_documents_in_field_ERP_ERP_FILE_CONTENT_DATUM_but_its_impossible_to_sort_on_tokenized_f
in */var/www/search.php* on line *23

What happen?


*


Wildcards at the Beginning of a Search.

2009-07-20 Thread Jörg Agatz
Hallo Solr Users...

I tryed to search with a Wildcard at the beginning from a search.

for example, i will search for "*est" and get "test, vogelnest, fest, "
But it dosent work, i alsways get an error...

Now my Big brother GOOGLE tolds me, that it can work but a search with a
Wildcad at the beginning need a long time...

Now i will test ist. but How?


Re: case-sensitive

2009-07-15 Thread Jörg Agatz
yes, thats right...

i have use in al Time

"string" So i dont change something, without the field
like this:



now i test what you say...



And i become a Error


case-sensitive

2009-07-15 Thread Jörg Agatz
I search for the Otions for "case-*sensitive" ore *Key* sensitive" to some
or all Fields..
Exist a Option for that? in the Solr Schema.xml?

Problem:

I search in a Field for "ri*" but the real Name is "RI-700690"
"RI*" brings Results, but sumtimes it is "NI", and sumetimes it is "ni" or
something like that.

Jörg
*


DefaultSearchField ? "important"

2009-07-14 Thread Jörg Agatz
Hallo Users...
And good Morning, in germany it is morning :-)

I have a realy important Prroblem...

My Fields are realy Bad.. Like
"CUPS_EBENE1_EBENE2_TASKS_CATEGORIE"

I have no Content field ore somthing like this...
So when i will search somthing, i need to search in ALL fields, but when i
search "*:test" it dosent Work,
And when i put "*" in the defaultSearchField" it dosent Work too

How i can Search in ALL fields?


Re: Nightly-Build NO wildcards?

2009-06-30 Thread Jörg Agatz
Ok, thats work...
Sorry for this Simple question


Nightly-Build NO wildcards?

2009-06-30 Thread Jörg Agatz
Hallo Users...

I have download today the New Nightly Build for a testing System...

I have eddit my "schema.xml"
and runn the Server...
Indext my Own Text XML and search for this...

I indext file name:

Test01 in file 1
Test02 in file 2
Test03 in file 3
Test04 in file 4
Test05 in file 5
Test06 in file 6

Now i Search "Test*" and Hope to become all 6 Files, but i get Nothing.

When i search Test01 i get one file, ect..

What happens with the Wildcard funtion...


I have test your Schema-XML and your Test XML, but the Same..

Some ideas?


Only the Newes File as Result

2009-06-05 Thread Jörg Agatz
Hallo, Solr users...

I have a Problem!

I Have a lot of files, fome of the Files are exist in more than one version.
often they are only little changes in the files...

Now i musst find a way to get only the last of each file.
The normal Results are maby 500 Documents, but from each document are exist
2 or 3 revisions, nuw i hop to find with your help a way to get, only the
300 - 200 newes Document!


Maby you have an idea for me.

Jörg


Search combination?

2009-06-02 Thread Jörg Agatz
Hi users...

i have a Problem...

i will search for:

http://192.168.105.54:8983/solr/itas?q=size:7*&extension:db

i mean i search for all documents they are size 7* and extension:pdf,

But it dosent work
i get some other files, with extension doc ore db
what is Happens about ?

Jörg


Solritas Problem with "faces"

2009-06-02 Thread Jörg Agatz
Hi... I have in Solritas a Problem with the Faces...

I seach for "Ipod" ore "plesnik" and the faces are say,

(PDF) 39
(TXT)109
(DOC)1200

When i click on the PDF, i want to see 39 PDF´s with te Kayword "plesnik"
but i get more the 800 thats are all pdf´s in the index..
is this a Bug? ore a Fetures?


Re: Solrits - Problem with facing after restart yetty

2009-05-29 Thread Jörg Agatz
HTTP ERROR: 500

null

java.lang.NullPointerException
at java.io.StringReader.(StringReader.java:33)
at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:169)
at 
org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:78)
at org.apache.solr.search.QParser.getQuery(QParser.java:131)
at 
org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:91)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:174)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1328)
at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:341)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:244)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

RequestURI=/solr/itas

*Powered by Jetty:// *




My Conf:


 
   browse
   velocity.properties
   Solritas

   velocity
   *:*
   10
   *,score
   on
   extension
   1
   
 



*
*


Re: Solrits - Problem with facing after restart yetty

2009-05-29 Thread Jörg Agatz
also,

i have after using the Nightly bUILD FROM tODY, 29.05.2009
BUT THE sAME ERROR...

HTTP ERROR 500

null

java.lang.NullPointerException
...
...
...

The url is: .../solr/itas?fq=cat:"test"
when i tryed .../solr/itas?q=SEARCHWORD&cat:"test" ir worket, links dosent
work


Re: Solrits - Problem with facing after restart yetty

2009-05-29 Thread Jörg Agatz
i the Bug fixt in the news Nightliy Bilds?


Re: Solrits - Sort Buttons under the searchform

2009-05-28 Thread Jörg Agatz
In the First, i tryed to print the Respons on the Display..
i tryed with this Code:


   SORT
   HIER wird SORTIERT
   you search for $(response.responseHeader.params.q)



But it dosent Work, hi only Print:

SORT
HIER wird SORTIERT
you search for $(response.responseHeader.params.q)


Solrits - Sort Buttons under the searchform

2009-05-28 Thread Jörg Agatz
Hollo..

I Tryed to create a Sort button unter the SearchForm...

i would like to sort : "score" and "date"  so i musst use the Link:

* http://192.168.105.54:8983/solr/itas?q=SEARCHWORD&sort=date asc*
and
*http://192.168.105.54:8983/solr/itas?q=SEARCHWORD&sort=date desc
*
and the Same with score, but i dont know how i get the "q=SEARCHWORD"

in XLST i know ihow i get thm but in Solrtis, i dosent
Maby somewone know how i can get the Information, to create the sort-link

And, on with place i must input them?
i tryed it in Browse.vm

Jörg
*
*


Re: Solrits - Problem with Index...

2009-05-26 Thread Jörg Agatz
in witch Ducument i must remove the defType parameter..

i found "defType"only in solrConfig.xml. but i found two Configs..
one in "apache-solr-nightly\example\solr\conf". and one in
"apache-solr-nightly\contrib\velocity\src\main\solr\conf"

i only remove "defType=dismax" ? in with of the Conf?


Re: Solrits - Problem with Index...

2009-05-26 Thread Jörg Agatz
ok, now i understand.. the phraser fram solrtis, or the phraser, that
solrtis is using... do not work with: (fieldname:term)

but how i can change the default search field from solrtis?
and how can i search in a special field?

Change /itas to use "lucene" (or remove the defType parameter altogether)
and you'll have the same syntax available to both the admin search box and
the Solritas UI.

whith way is the best? and easyest way for me?


Re: Solrits - Problem with facing after restart yetty

2009-05-26 Thread Jörg Agatz
>
>>
>>
>>
> You must be using trunk from last week? A bug got in, but if you grab the
> latest, its fixed.
>
> - Mark
>
>
I use a Nightly Build from 24.05, there is the bug dosent fixet?

is it fixed in th enext nightly? i cant use Trunk, because, i cant use SVN
behind the Proxy, so i musst use the nightlybuild


Re: Solrits - Problem with Index...

2009-05-26 Thread Jörg Agatz
>
>
> Sounds like it's just purely working out the basics of what field(s) you
> want to search on, and indexing them properly.
>
>Erik
>
>
coud bee, but when i use the admin page to search.. it works...

I search in the field "summary" the word "plesnik"

so i doo "*summary:plesnik*" in the search field


Solrits - Problem with facing after restart yetty

2009-05-26 Thread Jörg Agatz
Hi..

I tryed the Original stepp by stepp way from solritas, start indexing, ect..
after this i can use the "cat" links in the left sithe of the webfrontend..

Like "*cat:"electronics"*"
but when i shutdown the Server, "*strg+C*" in the shell, and restart it
with: "*java -Dsolr.solr.home=../contrib/velocity/src/main/solr/ -jar
start.jar*"
it dosen't

i get:

HTTP ERROR: 500

org.apache.lucene.index.ReadOnlySegmentReader cannot be cast to
org.apache.solr.search.SolrIndexReader

java.lang.ClassCastException:
org.apache.lucene.index.ReadOnlySegmentReader cannot be cast to
org.apache.solr.search.SolrIndexReader
at org.apache.solr.search.DocSetBase$1.getDocIdSet(DocSet.java:254)
at 
org.apache.lucene.search.IndexSearcher.doSearch(IndexSearcher.java:237)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:221)
at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:212)
at org.apache.lucene.search.Searcher.search(Searcher.java:150)
at 
org.apache.solr.search.SolrIndexSearcher.getDocListAndSetNC(SolrIndexSearcher.java:1245)
at 
org.apache.solr.search.SolrIndexSearcher.getDocListC(SolrIndexSearcher.java:890)
at 
org.apache.solr.search.SolrIndexSearcher.search(SolrIndexSearcher.java:337)
at 
org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:176)
at 
org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195)
at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
at org.apache.solr.core.SolrCore.execute(SolrCore.java:1328)
at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:340)
at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:243)
at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089)
at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365)
at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405)
at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211)
at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:285)
at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:502)
at 
org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:821)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:208)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:378)
at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:226)
at 
org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)

RequestURI=/solr/itas

what happens?


Re: Solrits - Problem with Index...

2009-05-26 Thread Jörg Agatz
Fist the Facts...
Ubuntu 8.10 2GB RAM
Nightlybuild from 24.05.09

fields in index:
extension, title, url, last-modified, size, some oter...
136 Documents in the index


when i do this:

http://192.168.105.54:8983/solr/itas/?q=summary%3Aplesnik&version=2.2&start=0&rows=10&indent=on&wt=velocity&v.template=browse

I get Nothing back from solritas

0 results found in 30 ms


if i do this (Frontpage)
http://192.168.105.54:8983/solr/itas/?

i Get:
136 results found in 38 ms
i see all documents.

I cant search.. always get Nothing..


when i use the Original Test index, i become resurlts, somthing wrong, but
what?


Solrits - Problem with Index...

2009-05-26 Thread Jörg Agatz
Hallo...

I create with a croler a Index, it is not a original Solr index, but a
"Lucene" so it works...
when i go to the Admin Page i can send a Search and get a result...

Like tis:

URL:
http://192.168.105.56:8983/solr/select/?q=summary%3Aplesnik&version=2.2&start=0&rows=10&indent=on
Result:
*


0
3

on
0
summary:plesnik
2.2
10






Ingenieurbüro Dr. Plesnik GmbH



pdf


20090518


application/pdf


150654



Ingenieurbüro Dr. Plesnik GmbH




file://Q%3A/Daten/AADMS/rechnungswesen/cache/gutschrift/GS09050401.pdf


*

It is only one example, the hole relsults to long :-)

But when i do the Same with Solritas, i get Nothing...

i do this:
http://192.168.105.56:8983/solr/itas/?q=summary%3Aplesnik&version=2.2&start=0&rows=10&indent=on

But when i do this:
http://192.168.105.56:8983/solr/itas/?q=
i get the Hole index as result

I cant search anything in Solritas...
Someone know what happens?


problem with Solrits (schow only some of the fields)

2009-05-25 Thread Jörg Agatz
Hallo...

I have a Problem...

I will use Solitas for solr..
But i have a Problem...
At the moment, Solitas present All fields in the Results, but i musst change
it and present only some, Like id, name, cat and inStock (exampledocuments)

i think that is the code to post all fields..


  #foreach($fieldname in $doc.fieldNames)
 
   $fieldname :
   
   #foreach($value in $doc.getFieldValues($fieldname))
 $value
   #end
   
 
  #end
  #if($params.getBool("debugQuery",false))
toggle explain
$response.getExplainMap().get($doc.getFirstValue('id'))
  #end



Maby someone can explain me how i can change the code to get some fields
Jörg Agatz