More Number of characters???

2012-01-26 Thread Jörg Agatz
Ausgangssprache: Deutsch javascript:void(0)
Geben Sie Text oder eine Website-Adresse ein oder lassen Sie ein Dokument
übersetzen http://translate.google.de/?tr=fhl=de.
Abbrechen http://translate.google.de/?tr=thl=de
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.


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 joerg.ag...@googlemail.com
  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.
 



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..

?php
$id = $_POST['id'];
$name = $_POST['name'];
$url = $_POST['url'];
$color = $_POST['color'];
$size = $_POST['size'];
ect...
?

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=trueliteral.id=$idliteral.name=$nameliteral.url=$urlliteral.size=$sizestream.file=



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


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?


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=phpsq=*:*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=phpq=*:*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


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=1234567uprefix=attr_commit=true;
-F myfile=@test.xls


EROOR:

htmlheadtitleApache Tomcat/6.0.24 - Error report/titlestyle!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--/style
/headbodyh1HTTP 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

/h1HR size=1 noshade=noshadepbtype/b Status
report/ppbmessage/b ulazy 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

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=1234567uprefix=attr_commit=true;
-F myfile=@test.xls



King


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=zipuprefix=attr_commit=true;
-F myfile=@file.zip


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=zipuprefix=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?


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: 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:

html
head
meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/
titleError 400 /title
/head
bodyh2HTTP ERROR: 400/h2preDocument [null] missing required field:
id/pre
pRequestURI=/solr/update/extract/ppismalla href=
http://jetty.mortbay.org/;Powered by Jetty:///a/small/i/pbr/

br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/
br/

/body
/html


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?


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

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 'adddocfield
name=idtestdoc/field/doc/add'

but this is not Possible..


exist a way to index data in this way?

King


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


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)


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/http://localhost:8983/solr/core0/select?q=*:*sort=myfield+descshards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2
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=*:*http://localhost:8983/solr/core0/select?q=*:*sort=myfield+descshards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2
=
30 results
http://localhost:8080/solr/index2/select?q=*:*http://localhost:8983/solr/core0/select?q=*:*sort=myfield+descshards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2
 =
one result


Someone hase a Idea, what is Wrong ?


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/http://localhost:8983/solr/core0/select?q=*:*sort=myfield+descshards=localhost:8983/solr/core0,localhost:8983/solr/core1,localhost:8983/solr/core2
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...


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

?xml version=1.0 encoding=UTF-8 ?

!--

 Licensed to the Apache Software Foundation (ASF) under one or more

 contributor license agreements.  See the NOTICE file distributed with

 this work for additional information regarding copyright ownership.

 The ASF licenses this file to You under the Apache License, Version 2.0

 (the License); you may not use this file except in compliance with

 the License.  You may obtain a copy of the License at


 http://www.apache.org/licenses/LICENSE-2.0


 Unless required by applicable law or agreed to in writing, software

 distributed under the License is distributed on an AS IS BASIS,

 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

 See the License for the specific language governing permissions and

 limitations under the License.

--


!--

 All (relative) paths are relative to the installation path



  persistent: Save changes made via the API to this file

  sharedLib: path to a lib directory that will be shared across all cores

--

solr persistent=false


  !--

  adminPath: RequestHandler path to manage cores.

If 'null' (or absent), cores will not be manageable via request handler

  --

  cores adminPath=/admin/cores

core name=core0 instanceDir=core0 /

core name=core1 instanceDir=core1 /

  /cores

/solr



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


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*



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:

add
doc
SECTION type=FILE_ITEMS
field name=MD5SUM6483030ed18d8b7a58a701c8bb638d20/field
field name=DATEINAME0012_20101105111938206.pdf/field
field name=FILE_TYPEPDM/field
/SECTION
SECTION type=ERP
SECTION type=ERP_FILE_ITEMS
field name=IDxx/field
/SECTION
SECTION type=ERP_FILE_CONTENT
field name=VORGANGSARTEK-Anfrage/field
/SECTION
/SECTION
/doc
/add



Search_xml :




add
doc
field
name=FILE_ITEMS_MD5SUM6483030ed18d8b7a58a701c8bb638d20/field
field
name=FILE_ITEMS_DATEINAME0012_20101105111938206.pdf/field
field name=FILE_ITEMS_FILE_TYPEPDM/field
field name=ERP_ERP_FILE_ITEMS_IDxx/field
field name=ERP_ERP_FILE_CONTENT_VORGANSARTEK-Anfrage/field
/doc
/add

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


Re: Problem with Indexing

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


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
deletequeryEMAIL_HEADER_FROM:test.de/query/delete

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
deletequery4b829265.7010...@test.de.20100803133543/query/delete


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=0fq=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=0fq=EMAIL_HEADER_FROM:t...@mail.defq=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


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 email_header_to%3at...@mail.de)) [
function.file-get-contentshttp://172.20.1.33/new/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=phpsq='.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);


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:

?xml version=1.0 encoding=UTF-8 ?
add
doc
field name=FILE_ITEMS_MD5SUMacd1a9416fe3ddaca1442e44e0ca8751/field
field
name=FILE_ITEMS_DATEINAME0747046bcc415546b565108e3da19406bf677f9...@
/field
field name=FILE_ITEMS_ARCHIVED20100709140235/field
field name=FILE_ITEMS_SIZE103261/field
field
name=FILE_ITEMS_PFAD/2010/07/0747046bcc415546b565108e3da19406bf677f9...@
/field
field
name=EMAIL_ID_ID0747046bcc415546b565108e3da19406bf677f9...@x
/field
field name=EMAIL_ID_IN_REPLY_TO4b4366d9.60...@dueker.de/field
field
name=EMAIL_ID_REFERENCE0747046bcc415546b565108e3da19406bf6778c...@x
/field
field name=EMAIL_ID_REFERENCE4b4366d9.60...@xxx/field
field name=EMAIL_HEADER_FROMncor...@x/field
field name=EMAIL_HEADER_TOt...@xxx/field
field name=EMAIL_HEADER_DATE20100106064718/field
field name=EMAIL_HEADER_SUBJECT![CDATA[RE:LA
LALALALALALALALALALALALALALA (PART 1)]]/field
field name=EMAIL_BODY_BODY![CDATA[]]/field
field name=EMAIL_ATTACHMENT_ATTACHMENTButterfly/field
field name=EMAIL_ATTACHMENT_ATTACHMENTValves/field
field name=EMAIL_ATTACHMENT_ATTACHMENT/field
field name=EMAIL_ATTACHMENT_ATTACHMENTGate/field
field name=EMAIL_ATTACHMENT_ATTACHMENTValves.xls/field
/doc
/add

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


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:

  field name=P_VIP_KUNDE_ID type=string indexed=true stored=true/
  dynamicField name=P_VIP_KUNDE_*  type=textindexed=true
stored=true multiValued=true/
  field name=P_VIP_ADR_ID type=string indexed=true stored=true/
  dynamicField name=P_VIP_ADR_*  type=textindexed=true
stored=true multiValued=true/
  field name=P_VIP_PERSON_ID type=string indexed=true stored=true/
  dynamicField name=P_VIP_PERSON_*  type=textindexed=true
stored=true multiValued=true/
  field name=P_VIP_INFO_ID type=string indexed=true stored=true/
  field name=P_VIP_INFO_TEXT type=text indexed=true stored=true/

output from Solr:

doc
str name=P_FILE_ITEMS_FILENAMEA201005311740560002.xml/str
str name=P_FILE_ITEMS_GESPERRTNO/str
str name=P_FILE_ITEMS_IDA201005311740560002/str
str name=P_FILE_ITEMS_LAST_CHANGE2010-05-31 17:40:56/str
−
str name=P_FILE_ITEMS_PFAD
Q:\DatenIBP\AADMS\telli_vip\xml\A201005311740560002.xml
/str
arr name=P_VIP_ADR_LAND
strD/str
/arr
arr name=P_VIP_ADR_LANDTEXT
str/
/arr
arr name=P_VIP_ADR_ORT
strLeichlingen/str
/arr
arr name=P_VIP_ADR_PLZ
str42799/str
/arr
arr name=P_VIP_ADR_POSTFACH
str/
/arr
arr name=P_VIP_ADR_POSTFACHOR
str/
/arr
arr name=P_VIP_ADR_POSTFACHPL
str/
/arr
arr name=P_VIP_ADR_STRASSE
strSchlo� Eicherhof/str
/arr
str name=P_VIP_ELEMENT_CATADRESS/str
str name=P_VIP_KUNDE_IDKYETG201005311740560002/str
/doc

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: 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_*


Re: PHP output at a multiValued AND dynamicField

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


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:




field name=all type=string indexed=true stored=true
multiValued=true/
field name=P_CONTENT_ITEMS_COMMENT type=text indexed=true
stored=true multiValued=true/
field name=comment type=string indexed=true stored=true
multiValued=true/


copyField source=P_CONTENT_ITEMS_COMMENT dest=all/

defaultSearchFieldall/defaultSearchField

The XML like This:

field name=COMMENT![CDATA[
Hallo leute. mein name ist dein name und wir wollen eigentlich nur unsere
Ruhe haben.
bich du er sie es/b
Ha ha Ha ha ha ha ha ha ha ha
]]/field

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-26 Thread Jörg Agatz
Sorry, i mean:

The XML like This:

field name=P_CONTENT_ITEMS_COMMENT![CDATA[
Hallo leute. mein name ist dein name und wir wollen eigentlich nur unsere
Ruhe haben.
bich du er sie es/b
Ha ha Ha ha ha ha ha ha ha ha
]]/field


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.


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

hallo Mr. xy
thanks for greats
dear Mr. xyz


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


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 :

field name=P_CONTENT_ITEMS_COMMENT![CDATA[
Hallo leute. mein name ist dein name und wir wollen eigentlich nur unsere
Ruhe haben.
bich du er sie es/b
Ha ha Ha ha ha ha ha ha ha ha
]]/field

it is a string field Multivalued..

King


Re: question about indexing...

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

 field name=COMMENT type=string indexed=true stored=true
multiValued=true/





field name=COMMENT
![CDATA[
Hallo leute. mein name ist dein name und wir wollen eigentlich nur unsere
Ruhe haben.
bich du er sie es/b
Ha ha Ha ha ha ha ha ha ha ha
]]/field

I search for :

 *:* 
I fond it

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


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


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


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.


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


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?


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


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.


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 aaa1122/aaa
field aaa2211/aaa
field aaa3322/aaa

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


FATAL ERROR

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

_


Re: FATAL ERROR

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 amp; This should look familiar if you've
ever written any HTML.
I dont understand this

i musst change even  to amp; ?


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?


DefaultSearchField ? important

2009-07-15 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?


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
*


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:

field name=DOCUMENTTYPE_SPEC_CTC type=string indexed=true
stored=true omitNorms=true /

now i test what you say...

field name=DOCUMENTTYPE_SPEC_CTC type=text indexed=true stored=true
omitNorms=true /

And i become a Error


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?


Re: Nightly-Build NO wildcards?

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


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


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?


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


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.init(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:// http://jetty.mortbay.org/*


goog_1243600484811

My Conf:

requestHandler name=/itas class=solr.SearchHandler
 lst name=defaults
   str name=v.templatebrowse/str
   str name=v.propertiesvelocity.properties/str
   str name=titleSolritas/str

   str name=wtvelocity/str
   str name=q.alt*:*/str
   str name=rows10/str
   str name=fl*,score/str
   str name=faceton/str
   str name=facet.fieldextension/str
   str name=facet.mincount1/str
   str name=qf/str
 /lst



*
http://jetty.mortbay.org/*


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=SEARCHWORDsort=date asc*
and
*http://192.168.105.54:8983/solr/itas?q=SEARCHWORDsort=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 - 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:

div class=sort-fields
   centerbSORT/b/centerbr
   HIER wird SORTIERTbr
   you search for $(response.responseHeader.params.q)
/div


But it dosent Work, hi only Print:

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


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%3Aplesnikversion=2.2start=0rows=10indent=on
Result:
*
response
lst name=responseHeader
int name=status0/int
int name=QTime3/int
lst name=params
str name=indenton/str
str name=start0/str
str name=qsummary:plesnik/str
str name=version2.2/str
str name=rows10/str
/lst
/lst
result name=response numFound=115 start=0
doc
arr name=content
str
Ingenieurbüro Dr. Plesnik GmbH
/str
/arr
arr name=extension
strpdf/str
/arr
arr name=last-modified
str20090518/str
/arr
arr name=mimetype
strapplication/pdf/str
/arr
arr name=size
str150654/str
/arr
arr name=summary
str
Ingenieurbüro Dr. Plesnik GmbH
/str
/arr
arr name=url
str
file://Q%3A/Daten/AADMS/rechnungswesen/cache/gutschrift/GS09050401.pdf
/str
/arr
/doc*

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%3Aplesnikversion=2.2start=0rows=10indent=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?


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%3Aplesnikversion=2.2start=0rows=10indent=onwt=velocityv.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 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


 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


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 Index...

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

i found defTypeonly 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?


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..

div class=result-document
  #foreach($fieldname in $doc.fieldNames)
 p
   span class=field-name$fieldname :/span
   span
   #foreach($value in $doc.getFieldValues($fieldname))
 $value
   #end
   /span
 /p
  #end
  #if($params.getBool(debugQuery,false))
a href=# onclick='jQuery(this).siblings(pre).toggle(); return
false;'toggle explain/a
pre 
style=display:none$response.getExplainMap().get($doc.getFirstValue('id'))/pre
  #end

/div

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