Re: AW: My First Solr

2008-06-13 Thread Brian Carmalt
Do you see if the document update is sucessful? When you start solr with
java -jar start.jar for the example, Solr will list the the document id
of the docs that you are adding and tell you how long the update took. 

A simple  but brute force method to findout if a document has been
commited is to stop the server and then restart it.

You can also use the solr/admin/stats.jsp page to see if the docs are
there. 

After looking at your query in the results you posted, I would bet that
you are not specifying a search field. try searching for anwendung:KIS
or id:[1 TO *] to see all the docs in you index. 

Brian

Am Freitag, den 13.06.2008, 07:40 +0200 schrieb Thomas Lauer:
 i have tested:
 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 import_sample.xml
 SimplePostTool: COMMITting Solr index changes.. 



AW: AW: My First Solr

2008-06-13 Thread Thomas Lauer
ok, i find my files now. can I make all files to the default search file?

Regards Thomas

-Ursprüngliche Nachricht-
Von: Brian Carmalt [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Juni 2008 08:03
An: solr-user@lucene.apache.org
Betreff: Re: AW: My First Solr

Do you see if the document update is sucessful? When you start solr with
java -jar start.jar for the example, Solr will list the the document id
of the docs that you are adding and tell you how long the update took.

A simple  but brute force method to findout if a document has been
commited is to stop the server and then restart it.

You can also use the solr/admin/stats.jsp page to see if the docs are
there.

After looking at your query in the results you posted, I would bet that
you are not specifying a search field. try searching for anwendung:KIS
or id:[1 TO *] to see all the docs in you index.

Brian

Am Freitag, den 13.06.2008, 07:40 +0200 schrieb Thomas Lauer:
 i have tested:
 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 import_sample.xml
 SimplePostTool: COMMITting Solr index changes..



__ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3182 
(20080612) __

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com



AW: AW: AW: My First Solr

2008-06-13 Thread Thomas Lauer
Hi Brian,

i don´t find any documentation or howto for the DisMaxQueryHandler?

Regards
Thomas


-Ursprüngliche Nachricht-
Von: Brian Carmalt [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Juni 2008 08:52
An: solr-user@lucene.apache.org
Betreff: Re: AW: AW: My First Solr

The DisMaxQueryHandler is your friend.

Am Freitag, den 13.06.2008, 08:29 +0200 schrieb Thomas Lauer:
 ok, i find my files now. can I make all files to the default search file?

 Regards Thomas

 -Ursprüngliche Nachricht-
 Von: Brian Carmalt [mailto:[EMAIL PROTECTED]
 Gesendet: Freitag, 13. Juni 2008 08:03
 An: solr-user@lucene.apache.org
 Betreff: Re: AW: My First Solr

 Do you see if the document update is sucessful? When you start solr with
 java -jar start.jar for the example, Solr will list the the document id
 of the docs that you are adding and tell you how long the update took.

 A simple  but brute force method to findout if a document has been
 commited is to stop the server and then restart it.

 You can also use the solr/admin/stats.jsp page to see if the docs are
 there.

 After looking at your query in the results you posted, I would bet that
 you are not specifying a search field. try searching for anwendung:KIS
 or id:[1 TO *] to see all the docs in you index.

 Brian

 Am Freitag, den 13.06.2008, 07:40 +0200 schrieb Thomas Lauer:
  i have tested:
  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 import_sample.xml
  SimplePostTool: COMMITting Solr index changes..



 __ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3182 
 (20080612) __

 E-Mail wurde geprüft mit ESET NOD32 Antivirus.

 http://www.eset.com




__ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3182 
(20080612) __

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com



AW: My First Solr

2008-06-13 Thread Thomas Lauer
ok,

my dismax

  requestHandler name=dismax class=solr.DisMaxRequestHandler 
lst name=defaults
 str name=echoParamsexplicit/str
 float name=tie0.01/float
 str name=qf
beschreibung^0.5 ordner^1.0 register^1.2 Benutzer^1.5 guid^10.0 
mandant^1.1
 /str
 str name=pf
beschreibung^0.2 ordner^1.1 register^1.5 manu^1.4 manu_exact^1.9
 /str
 str name=bf
ord(poplarity)^0.5 recip(rord(price),1,1000,1000)^0.3
 /str
 str name=fl
guid,beschreibung,mandant,Benutzer
 /str
 str name=mm
2lt;-1 5lt;-2 6lt;90%
 /str
 int name=ps100/int
 str name=q.alt*:*/str
/lst
  /requestHandler

must i make a reindex?

I seek with this url
http://localhost:8983/solr/select?indent=onversion=2.2q=bonowstart=0rows=10fl=*%2Cscoreqt=dismaxwt=standardexplainOther=hl.fl=

The response is:
HTTP Status 400 - undefined field text

type Status report
message undefined field text
description The request sent by the client was syntactically incorrect 
(undefined field text).


Regards Thomas


-Ursprüngliche Nachricht-
Von: Brian Carmalt [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Juni 2008 09:50
An: solr-user@lucene.apache.org
Betreff: Re: My First Solr

http://wiki.apache.org/solr/DisMaxRequestHandler

In solrconfig.xml there are example configurations for the DisMax.

Sorry I told you the wrong name, not enough coffee this morning.

Brian.


Am Freitag, den 13.06.2008, 09:40 +0200 schrieb Thomas Lauer:



__ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3182 
(20080612) __

E-Mail wurde geprüft mit ESET NOD32 Antivirus.

http://www.eset.com



Re: AW: My First Solr

2008-06-13 Thread Brian Carmalt
No, you do not have to reindex. You do have to restart the server.

The bf has fields listed that are not in your document: popularity,
price. delete the bf field, you do not need it unless you want to use
boost functions. 


Brian

Am Freitag, den 13.06.2008, 10:36 +0200 schrieb Thomas Lauer:
 ok,
 
 my dismax
 
   requestHandler name=dismax class=solr.DisMaxRequestHandler 
 lst name=defaults
  str name=echoParamsexplicit/str
  float name=tie0.01/float
  str name=qf
 beschreibung^0.5 ordner^1.0 register^1.2 Benutzer^1.5 guid^10.0 
 mandant^1.1
  /str
  str name=pf
 beschreibung^0.2 ordner^1.1 register^1.5 manu^1.4 manu_exact^1.9
  /str
  str name=bf
 ord(poplarity)^0.5 recip(rord(price),1,1000,1000)^0.3
  /str
  str name=fl
 guid,beschreibung,mandant,Benutzer
  /str
  str name=mm
 2lt;-1 5lt;-2 6lt;90%
  /str
  int name=ps100/int
  str name=q.alt*:*/str
 /lst
   /requestHandler
 
 must i make a reindex?
 
 I seek with this url
 http://localhost:8983/solr/select?indent=onversion=2.2q=bonowstart=0rows=10fl=*%2Cscoreqt=dismaxwt=standardexplainOther=hl.fl=
 
 The response is:
 HTTP Status 400 - undefined field text
 
 type Status report
 message undefined field text
 description The request sent by the client was syntactically incorrect 
 (undefined field text).
 
 
 Regards Thomas
 
 
 -Ursprüngliche Nachricht-
 Von: Brian Carmalt [mailto:[EMAIL PROTECTED]
 Gesendet: Freitag, 13. Juni 2008 09:50
 An: solr-user@lucene.apache.org
 Betreff: Re: My First Solr
 
 http://wiki.apache.org/solr/DisMaxRequestHandler
 
 In solrconfig.xml there are example configurations for the DisMax.
 
 Sorry I told you the wrong name, not enough coffee this morning.
 
 Brian.
 
 
 Am Freitag, den 13.06.2008, 09:40 +0200 schrieb Thomas Lauer:
 
 
 
 __ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3182 
 (20080612) __
 
 E-Mail wurde geprüft mit ESET NOD32 Antivirus.
 
 http://www.eset.com
 



AW: AW: My First Solr

2008-06-13 Thread Thomas Lauer
HI Brian

thank you for help. Where are you from?

Regards Thomas

-Ursprüngliche Nachricht-
Von: Brian Carmalt [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 13. Juni 2008 11:43
An: solr-user@lucene.apache.org
Betreff: Re: AW: My First Solr

No, you do not have to reindex. You do have to restart the server.

The bf has fields listed that are not in your document: popularity,
price. delete the bf field, you do not need it unless you want to use
boost functions.


Brian

Am Freitag, den 13.06.2008, 10:36 +0200 schrieb Thomas Lauer:
 ok,

 my dismax

   requestHandler name=dismax class=solr.DisMaxRequestHandler 
 lst name=defaults
  str name=echoParamsexplicit/str
  float name=tie0.01/float
  str name=qf
 beschreibung^0.5 ordner^1.0 register^1.2 Benutzer^1.5 guid^10.0 
 mandant^1.1
  /str
  str name=pf
 beschreibung^0.2 ordner^1.1 register^1.5 manu^1.4 manu_exact^1.9
  /str
  str name=bf
 ord(poplarity)^0.5 recip(rord(price),1,1000,1000)^0.3
  /str
  str name=fl
 guid,beschreibung,mandant,Benutzer
  /str
  str name=mm
 2lt;-1 5lt;-2 6lt;90%
  /str
  int name=ps100/int
  str name=q.alt*:*/str
 /lst
   /requestHandler

 must i make a reindex?

 I seek with this url
 http://localhost:8983/solr/select?indent=onversion=2.2q=bonowstart=0rows=10fl=*%2Cscoreqt=dismaxwt=standardexplainOther=hl.fl=

 The response is:
 HTTP Status 400 - undefined field text
 
 type Status report
 message undefined field text
 description The request sent by the client was syntactically incorrect 
 (undefined field text).


 Regards Thomas


 -Ursprüngliche Nachricht-
 Von: Brian Carmalt [mailto:[EMAIL PROTECTED]
 Gesendet: Freitag, 13. Juni 2008 09:50
 An: solr-user@lucene.apache.org
 Betreff: Re: My First Solr

 http://wiki.apache.org/solr/DisMaxRequestHandler

 In solrconfig.xml there are example configurations for the DisMax.

 Sorry I told you the wrong name, not enough coffee this morning.

 Brian.


 Am Freitag, den 13.06.2008, 09:40 +0200 schrieb Thomas Lauer:



 __ Hinweis von ESET NOD32 Antivirus, Signaturdatenbank-Version 3182 
 (20080612) __

 E-Mail wurde geprüft mit ESET NOD32 Antivirus.

 http://www.eset.com