solr multi-node

2010-06-17 Thread Antonello Mangone
Hi to every one I have a question and I hope someone can help me.
I know that mission critical reliability can be implemented with Lucene/Solr
by using multi-node configurations, and redundant architectures, but I
haven't found documentation on how to do it.
Can someone help me to find a link to read how to do it ?
Thank you all in advance ...


Re: solr multi-node

2010-06-17 Thread Antonello Mangone
Mitch, thank you very much for your help, I'll read all the links you gave
me.


2010/6/17 MitchK mitc...@web.de


 Antonello,

 here are a few links to the Solr Wiki:
 http://wiki.apache.org/solr/SolrReplication Solr Replication
 http://wiki.apache.org/solr/DistributedSearchDesign Distributed Search
 Design
 http://wiki.apache.org/solr/DistributedSearch Distributed Search
 http://wiki.apache.org/solr/SolrCloud Solr Cloud

 Hope this helps.
 - Mitch

 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/solr-multi-node-tp903159p903228.html
 Sent from the Solr - User mailing list archive at Nabble.com.



solr.solr.home

2010-05-27 Thread Antonello Mangone
Hi to everyone, I'm really sorry for the s3tupid question I'm doing, but I
didn't understand how to set the java system property solr.solr.home to my
solr home.
Can someone help me ?
Thanks in advanca


Re: solr.solr.home

2010-05-27 Thread Antonello Mangone
But where I have to write this command ???

System.setProperty(solr.solr.home,
 whateverpathyou'dliketosetonyourfilesystem);

 Claudio



multicore Vs multiple solr webapps

2010-05-27 Thread Antonello Mangone
Hi to all, I have a question for you ...
Can someone exaplain me the differences between a unique solr application
multicore and multiple solr webapps ???
Thank you all in advance


defaultSearchField

2010-05-19 Thread Antonello Mangone
Hi to everyone, I'd like to know if it's possible to use the *
defaultSearchField* on more fields ???

i.e.

defaultSearchField field1, field2, field3 /defaultSearchField


Thanks you all


schema.xml question

2010-05-07 Thread Antonello Mangone
Hello everyone, my question is 
Is it possible in schema.xml set a group of fields to use as a default field
to query in OR or  in AND ???

example:

group name=group_name
field name=a type=. /
field name=b type=. /
field name=c type=. /
/group

defaultSearchFieldgroup_name/defaultSearchField

Thanks in advance


Re: schema.xml question

2010-05-07 Thread Antonello Mangone
For the moment I don't know how to do it, but I'll follow your suggestion :)
Thank you very much ...
ps. I'm just a novel

2010/5/7 Markus Jelsma markus.jel...@buyways.nl

 You could write your own requestHandler in solrconfig.xml, it'll allow you
 to predefine parameters for your configured search components.

 -Original message-
 From: Antonello Mangone antonello.mang...@gmail.com
 Sent: Fri 07-05-2010 15:17
 To: solr-user@lucene.apache.org;
 Subject: schema.xml question

 Hello everyone, my question is 
 Is it possible in schema.xml set a group of fields to use as a default
 field
 to query in OR or  in AND ???

 example:

 group name=group_name
field name=a type=. /
field name=b type=. /
field name=c type=. /
 /group

 defaultSearchFieldgroup_name/defaultSearchField

 Thanks in advance



Re: Re: schema.xml question

2010-05-07 Thread Antonello Mangone
Thank you very much for your suggestions, I'll study immediatly ...


2010/5/7 Markus Jelsma markus.jel...@buyways.nl

 I forgot, there is actually a proper wiki page on this subject:

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





 -Original message-
 From: Antonello Mangone antonello.mang...@gmail.com
 Sent: Fri 07-05-2010 15:26
 To: solr-user@lucene.apache.org;
 Subject: Re: schema.xml question

 For the moment I don't know how to do it, but I'll follow your suggestion
 :)
 Thank you very much ...
 ps. I'm just a novel

 2010/5/7 Markus Jelsma markus.jel...@buyways.nl

  You could write your own requestHandler in solrconfig.xml, it'll allow
 you
  to predefine parameters for your configured search components.
 
  -Original message-
  From: Antonello Mangone antonello.mang...@gmail.com
  Sent: Fri 07-05-2010 15:17
  To: solr-user@lucene.apache.org;
  Subject: schema.xml question
 
  Hello everyone, my question is 
  Is it possible in schema.xml set a group of fields to use as a default
  field
  to query in OR or  in AND ???
 
  example:
 
  group name=group_name
 field name=a type=. /
 field name=b type=. /
 field name=c type=. /
  /group
 
  defaultSearchFieldgroup_name/defaultSearchField
 
  Thanks in advance
 



Re: schema.xml question

2010-05-07 Thread Antonello Mangone
It's seems like a copyField but is a group that I want ... and in your
version is not a group, I want the possibility to search in a group of field
using AND or OR

2010/5/7 Chris Hostetter hossman_luc...@fucit.org


 : group name=group_name
 : field name=a type=. /
 : field name=b type=. /
 : field name=c type=. /
 : /group
 :
 : defaultSearchFieldgroup_name/defaultSearchField

 at first glance, it seems like what you want is to use copyField...

 field name=a ... /
 field name=b ... /
 field name=c ... /
 field name=group_name ... /
 ...
 copyField src=a dest=group_name /
 copyField src=b dest=group_name /
 copyField src=c dest=group_name /
 defaultSearchFieldgroup_name/defaultSearchField




 -Hoss




hi to everyone

2010-05-06 Thread Antonello Mangone
Hi to everyone, my name is Antonello Mangone and I'm a new user of Solr
(this is the 4th day :D).
I'm just a novice and i would like to make a question ...

I'm using solr in multicore way but i don't understad how to add xml
documents to a particular core ...
Can someone help me ???

Antonello


Re: hi to everyone

2010-05-06 Thread Antonello Mangone
Ok, you're right :D

I exaplain my situation ...

I have solr locally on my machine

*/home/antonello/solrtest*

inside the folder solrtest I have:

|_ build
|_ build.xml
|_ CHANGES.txt
|_ client
|_ common-build.xml
|_ contrib
|_ dist
|_ docs
|_ etc
|_ lib
|_ LICENSE.txt
|_ logs
|_ multicore
|_ bandb
|_ conf
|_ schema.xml
|_ solrconfig.xml
|_ data
|_ index
|_ segments_1
|_ segments.gen
|_ solr.xml
|_ NOTICE.txt
|_ README.txt
|_ src
|_ start.jar
|_ start_multicore.sh
|_ webapps


I have also xml files in anoter place and I would like to add these xml
files to the bandb core.
Is there a command to add an xml file to a particular core, imagining we can
have an indefinite number of cores ?





2010/5/6 Marco Martinez mmarti...@paradigmatecnologico.com

 You should specify the core in your request, like
 http://localhost:8080/solr/*core0*/update?...  where /solr/ is your
 webapp and 'core0' is the name of the core.

 Marco Martínez Bautista
 http://www.paradigmatecnologico.com
 Avenida de Europa, 26. Ática 5. 3ª Planta
 28224 Pozuelo de Alarcón
 Tel.: 91 352 59 42


 2010/5/6 Antonello Mangone antonello.mang...@gmail.com

  Hi to everyone, my name is Antonello Mangone and I'm a new user of Solr
  (this is the 4th day :D).
  I'm just a novice and i would like to make a question ...
 
  I'm using solr in multicore way but i don't understad how to add xml
  documents to a particular core ...
  Can someone help me ???
 
  Antonello
 



Re: hi to everyone

2010-05-06 Thread Antonello Mangone
Thank you very much :D

2010/5/6 Marco Martinez mmarti...@paradigmatecnologico.com

 See this page

 http://wiki.apache.org/solr/UpdateXmlMessages#Updating_a_Data_Record_via_curland
 the solr tutorial
 http://lucene.apache.org/solr/tutorial.html (maybe you can use the
 post.jar).

 Marco Martínez Bautista
 http://www.paradigmatecnologico.com
 Avenida de Europa, 26. Ática 5. 3ª Planta
 28224 Pozuelo de Alarcón
 Tel.: 91 352 59 42


 2010/5/6 Antonello Mangone antonello.mang...@gmail.com

  Ok, you're right :D
 
  I exaplain my situation ...
 
  I have solr locally on my machine
 
  */home/antonello/solrtest*
 
  inside the folder solrtest I have:
 
  |_ build
  |_ build.xml
  |_ CHANGES.txt
  |_ client
  |_ common-build.xml
  |_ contrib
  |_ dist
  |_ docs
  |_ etc
  |_ lib
  |_ LICENSE.txt
  |_ logs
  |_ multicore
 |_ bandb
 |_ conf
 |_ schema.xml
 |_ solrconfig.xml
 |_ data
 |_ index
 |_ segments_1
 |_ segments.gen
 |_ solr.xml
  |_ NOTICE.txt
  |_ README.txt
  |_ src
  |_ start.jar
  |_ start_multicore.sh
  |_ webapps
 
 
  I have also xml files in anoter place and I would like to add these xml
  files to the bandb core.
  Is there a command to add an xml file to a particular core, imagining we
  can
  have an indefinite number of cores ?
 
 
 
 
 
  2010/5/6 Marco Martinez mmarti...@paradigmatecnologico.com
 
   You should specify the core in your request, like
   http://localhost:8080/solr/*core0*/update?...  where /solr/ is
 your
   webapp and 'core0' is the name of the core.
  
   Marco Martínez Bautista
   http://www.paradigmatecnologico.com
   Avenida de Europa, 26. Ática 5. 3ª Planta
   28224 Pozuelo de Alarcón
   Tel.: 91 352 59 42
  
  
   2010/5/6 Antonello Mangone antonello.mang...@gmail.com
  
Hi to everyone, my name is Antonello Mangone and I'm a new user of
 Solr
(this is the 4th day :D).
I'm just a novice and i would like to make a question ...
   
I'm using solr in multicore way but i don't understad how to add xml
documents to a particular core ...
Can someone help me ???
   
Antonello
   
  
 



Re: Solr 1.4 Enterprise Search Server book examples

2010-05-06 Thread Antonello Mangone
I had the same problem and I send a message ... I'm waiting for an answer :D

2010/5/6 Stefan Moises moi...@shoptimax.de

 Hi fellow Solr users,

 I have contacted Packt regarding this issue and they are already working on
 fixing it, here is the friendly response I've received:

 Dear Stefan,

 Thank you for writing to PacktPub.com.

 I'm sorry to know that you were not able to access the code files for our
 title.

 Our IT team is now investigating this issue which they feel is due to the
 heavy file size. They have also taken author's help for this

 The author has split the example code file into parts due to its massive
 size. The author is in the process to upload a few record files on a
 different site (Musicbrainz) so  they have to spent some time on getting
 permissions from them too. We are currently just waiting for him to send the
 remaining part of the code to us which will be made available on our website
 shortly.

 Please accept our apologies for the trouble.

 With warm regards

 For Packt Publishing

 Verus Pereira
 Sales Executive


 I'll let you all know once they get back to me that the files are updated.

 Cheers,
 Stefan

 Am 27.04.2010 12:00, schrieb findbestopensource:

 I downloaded the 5883_Code.zip file but not able to extract the complete
 contents.

 Regards
 Aditya
 www.findbestopensource.com



 On Tue, Apr 27, 2010 at 12:45 AM, Johan Cwiklinski
 johan.cwiklin...@ajlsm.com  wrote:



 Hello,

 Le 26/04/2010 20:53, findbestopensource a écrit :


 I am able to successfully download the code. It is of 360 MB and took
 lot


 of


 time to download.


 I'm also able to download the file ; but not to extract many of the
 files it contains after download (can list them but not extract, an
 error occurs).

 Are you able to extract the ZIP archive you've downloaded?




 https://www.packtpub.com/solr-1-4-enterprise-search-server/book
 Select the download the code link and provide your email id, Download


 link


 will be sent via email.

 Regards
 Aditya
 www.findbestopensource.com



 On Mon, Apr 26, 2010 at 8:34 PM, Abdelhamid ABIDaeh.a...@gmail.com


 wrote:




 Hi,
 I'm also interested to get those examples, would someone to share them
 ?

 On 4/26/10, markus.rietz...@rzf.fin-nrw.de


 markus.rietz...@rzf.fin-nrw.de




 wrote:
  


 i have send you a private mail.

 markus



 -Ursprüngliche Nachricht-
 Von: Johan Cwiklinski [mailto:johan.cwiklin...@ajlsm.com]
 Gesendet: Montag, 26. April 2010 10:58
 An: solr-user@lucene.apache.org
 Betreff: Solr 1.4 Enterprise Search Server book examples

 Hello,

 We've recently acquired the Solr 1.4 Enterprise Search Server book.

 I've tried to download the example ZIP file from the editor's
 website,
 but the file is actually corrupted, and I cannot unzip it :(

 Could someone tell me if I can get these examples from
 another location?

 I've send a message last week to the editor reporting the issue, but
 that is not yet fixed ; and I'd really like to take a look at the
 example code and make some tests.

 Regards,
 --
 Johan Cwiklinski







 --
 Abdelhamid ABID
 Software Engineer- J2EE / WEB





 --
 Johan Cwiklinski






 --
 ***
 Stefan Moises
 Senior Softwareentwickler

 shoptimax GmbH
 Guntherstraße 45 a
 90461 Nürnberg
 Amtsgericht Nürnberg HRB 21703
 GF Friedrich Schreieck

 Tel.: 0911/25566-25
 Fax:  0911/25566-29
 moi...@shoptimax.de
 http://www.shoptimax.de
 ***




problem int type in adding xml file

2010-05-06 Thread Antonello Mangone
Hi to all, I have a problem when I try to add an xml file to a core ...

in my xmlfile I have a field that is:

field name=flg_access
1
/field

in my schema.xml file I've defined the int type as in the examples of
tutorial

fieldType name=int class=solr.TrieIntField precisionStep=0
omitNorms=true positionIncrementGap=0/



and then I defined the field in this way 

field name=flg_access type=int indexed=true stored=true /


 when I try to import the xml file I receive this error message:

HTTP ERROR: 500 For input string: 
1


java.lang.NumberFormatException: For input string: 
1


but I'm sure I don't have spaces before and after the number ... and I
didn't have problems with float fields ...

Can someone help me ?

thank you all in advance ...


Re: problem int type in adding xml file

2010-05-06 Thread Antonello Mangone
You're right I've solved the problem in this way, but it's a bit strange
with float numbers didn't give me this problem.

2010/5/6 Erik Hatcher erik.hatc...@gmail.com

 In your example you certainly do have whitespace in there.   Make it field
 name=flg_access1/field instead.

 However, I think this is a case where Solr should be lenient and trim
 leading and trailing whitespace when parsing incoming strings into
 numbers/dates.

Erik



 On May 6, 2010, at 10:25 AM, Antonello Mangone wrote:

  Hi to all, I have a problem when I try to add an xml file to a core ...

 in my xmlfile I have a field that is:

   field name=flg_access
   1
   /field

 in my schema.xml file I've defined the int type as in the examples of
 tutorial

 fieldType name=int class=solr.TrieIntField precisionStep=0
 omitNorms=true positionIncrementGap=0/



 and then I defined the field in this way 

 field name=flg_access type=int indexed=true stored=true /


  when I try to import the xml file I receive this error message:

 HTTP ERROR: 500 For input string: 
   1
   

 java.lang.NumberFormatException: For input string: 
   1
   

 but I'm sure I don't have spaces before and after the number ... and I
 didn't have problems with float fields ...

 Can someone help me ?

 thank you all in advance ...