You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by con <co...@gmail.com> on 2008/11/04 18:55:38 UTC

How to use multicore feature in JBOSS

Hi all

I have deployed the sample instance that comes with solr, in JBOSS.
But actually i want to use the multicore feature. I am not able to find
resource on how to use the multicore feature in JBOSS.
1) Which all files do I need to edit to use the multicore feature?
2) Also, where can I specify the index directly so that we can point the
indexed documents to a custom folder instead of jboss/bin?

I really appreciate any suggestion, at least which file to edit, or some
other tips to solve this problem.
Thanking in advance
con
-- 
View this message in context: http://www.nabble.com/How-to-use-multicore-feature-in-JBOSS-tp20327580p20327580.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Bias score proximity for a given field

Posted by Chris Hostetter <ho...@fucit.org>.
: Subject: Bias score proximity for a given field
: In-Reply-To: <20...@ayiin>

:   Is there a way to specify a range boosting for a numeric/date field?

1) take a look at the "bq" (boost query) param option if you wnat discrete 
ranges to get boosted scores, or take a look at bf (boost function) if you 
want to use the function syntax to get a slope of boosts over time.

2) Thread Hijacking on Mailing Lists
http://people.apache.org/~hossman/#threadhijack

When starting a new discussion on a mailing list, please do not reply to 
an existing message, instead start a fresh email.  Even if you change the 
subject line of your email, other mail headers still track which thread 
you replied to and your question is "hidden" in that thread and gets less 
attention.   It makes following discussions in the mailing list archives 
particularly difficult.
See Also:  http://en.wikipedia.org/wiki/Thread_hijacking


-Hoss


Bias score proximity for a given field

Posted by "Nguyen, Joe" <jn...@automotive.com>.
Hi 
  Is there a way to specify a range boosting for a numeric/date field?
Suppose I have articles whose published dates are in
2005,...,2008,...,2011.  I want to boost the score of 2008 article by
20%.  Articles whose published dates 3-year distance from 2008 article
would be boosted by 0%, e.g. 2005 and 2011 articles will be boosted by
0%.   

Any idea/suggestion how I implement this?   

Cheers
Joe

Re: How to use multicore feature in JBOSS

Posted by con <co...@gmail.com>.
Hi Guys 
any idea why this error is coming??
Waiting for your advice.

Thanks
con


con wrote:
> 
> Thanks Norberto and Hossma.
> That really helped me.
> 
> Fist of all i deleted the contents in the example/solr directory and
> created a solx.xml that points to the multicore.
> That itself worked. 
> Then based on Hossman's comment i deleted the actual solr directory and
> renamed the multicore directory to solr.
> Then i created a solr.xml inside that folder.
> This along with some edits i have done previously in some of the
> configuration files of JBOSS and solr.war has now made things in good
> shape.
> 
> Now i am able to use the multicore feature in JBOSS. Thanks again to both
> of you guys.
> 
> One final question:
> Even thogh things are working fine, The debug messages that i get from the
> JBOSS console shows STDERR.
> 
> A few lines from the JBOSS console while deploying solr.war:
> 
> 11:44:20,578 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.servlet.SolrDispatchFilter init
> INFO: SolrDispatchFilter.init()
> 11:44:20,608 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader locateInstanceDir
> INFO: No /solr/home in JNDI
> 11:44:20,609 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader locateInstanceDir
> INFO: using system property solr.solr.home:
> C:\Search\apachesolr\example\solr
> 11:44:20,618 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.CoreContainer$Initializer initialize
> INFO: looking for solr.xml: C:\Search\apachesolr\example\solr\solr.xml
> 11:44:20,620 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader <init>
> INFO: Solr home set to 'C:\Search\apachesolr\example\solr/'
> 11:44:20,622 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding 'file:/C:/Search/apachesolr/example/solr/lib/jetty-6.1.3.jar'
> to Solr classloader
> 11:44:20,623 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding
> 'file:/C:/Search/apachesolr/example/solr/lib/jetty-util-6.1.3.jar' to Solr
> classloader
> 11:44:20,624 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding 'file:/C:/Search/apachesolr/example/solr/lib/jsp-2.1/' to
> Solr classloader
> 11:44:20,625 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding
> 'file:/C:/Search/apachesolr/example/solr/lib/ojdbc6-11.1.0.6.0.1.jar' to
> Solr classloader
> 11:44:20,626 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding
> 'file:/C:/Search/apachesolr/example/solr/lib/servlet-api-2.5-6.1.3.jar' to
> Solr classloader
> 11:44:20,653 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.CoreContainer load
> INFO: loading shared library: C:\Search\apachesolr\example\solr\lib
> 11:44:20,655 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding 'file:/C:/Search/apachesolr/example/solr/lib/jetty-6.1.3.jar'
> to Solr classloader
> 11:44:20,657 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding
> 'file:/C:/Search/apachesolr/example/solr/lib/jetty-util-6.1.3.jar' to Solr
> classloader
> 11:44:20,658 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding 'file:/C:/Search/apachesolr/example/solr/lib/jsp-2.1/' to
> Solr classloader
> 11:44:20,659 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding
> 'file:/C:/Search/apachesolr/example/solr/lib/ojdbc6-11.1.0.6.0.1.jar' to
> Solr classloader
> 11:44:20,660 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Adding
> 'file:/C:/Search/apachesolr/example/solr/lib/servlet-api-2.5-6.1.3.jar' to
> Solr classloader
> 11:44:20,689 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader <init>
> INFO: Solr home set to 'C:\Search\apachesolr\example\solr\core0/'
> 11:44:20,690 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
> org.apache.solr.core.SolrResourceLoader createClassLoader
> INFO: Reusing parent classloader
> 11:44:21,188 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.core.SolrConfig <init>
> INFO: Loaded SolrConfig: solrconfig.xml
> 11:44:21,225 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.schema.IndexSchema readSchema
> INFO: Reading Solr Schema
> 11:44:21,278 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.schema.IndexSchema readSchema
> INFO: Schema name=example core zero
> 11:44:21,315 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created string: org.apache.solr.schema.StrField
> 11:44:21,337 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created boolean: org.apache.solr.schema.BoolField
> 11:44:21,351 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created integer: org.apache.solr.schema.IntField
> 11:44:21,363 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created long: org.apache.solr.schema.LongField
> 11:44:21,375 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created float: org.apache.solr.schema.FloatField
> 11:44:21,388 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created double: org.apache.solr.schema.DoubleField
> 11:44:21,400 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created sint: org.apache.solr.schema.SortableIntField
> 11:44:21,413 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created slong: org.apache.solr.schema.SortableLongField
> 11:44:21,426 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created sfloat: org.apache.solr.schema.SortableFloatField
> 11:44:21,439 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created sdouble: org.apache.solr.schema.SortableDoubleField
> 11:44:21,463 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created date: org.apache.solr.schema.DateField
> 11:44:21,495 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
> 11:44:21,497 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created text_ws: org.apache.solr.schema.TextField
> 11:44:21,506 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
> 11:44:21,521 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.SynonymFilterFactory
> 11:44:21,530 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.StopFilterFactory
> 11:44:21,538 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
> 11:44:21,547 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
> 11:44:21,555 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.EnglishPorterFilterFactory
> 11:44:21,565 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null:
> org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
> 11:44:21,571 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
> 11:44:21,575 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.StopFilterFactory
> 11:44:21,578 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
> 11:44:21,581 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
> 11:44:21,583 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.EnglishPorterFilterFactory
> 11:44:21,586 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null:
> org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
> 11:44:21,587 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created text: org.apache.solr.schema.TextField
> 11:44:21,597 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
> 11:44:21,601 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.SynonymFilterFactory
> 11:44:21,604 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.StopFilterFactory
> 11:44:21,606 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
> 11:44:21,609 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
> org.apache.solr.util.plugin.AbstractPluginLoader load
> INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
> 
> ...........
> 
> similarly all the messages coming from solr are error messages, eventhogh
> things are working fine now.
> I am not sure whether it will affect the application at a later stage.
> I suspect that i am missing something in the classpath. Can anyone provide
> some tips on why this error message is displaying.
> 
> 
> Thanks again
> con
> 
> 
> Norberto Meijome-6 wrote:
>> 
>> On Tue, 4 Nov 2008 23:45:40 -0800 (PST)
>> con <co...@gmail.com> wrote:
>> 
>>> But for the first question, I am still not clear.
>>> I think to use the multicore feature we should inform the server. In the
>>> Jetty server, we are starting the server using:   java
>>> -Dsolr.solr.home=multicore -jar start.jar
>>> Once the server is started I think it will take the parameters from
>>> multicore/solr.xml.
>>> 
>>> But I am confused on how and where to pass this argument to JBOSS. 
>> 
>> Con,
>> Sorry, i don't have a jboss available to test... what happens if you use
>> the standard configuration ( with solr.xml @ the top level of your solr
>> directory, NOT in multicore/ ) 
>> 
>> launch it, look @ the debug messages , see which cores are picked up
>> (from the admin page ). 
>> 
>> FWIW, by having {solr_installation_directory}/solr.xml , I never had to
>> tell jetty where solr.xml was.  IIRC, multicore/solr.xml is the layout in
>> the example app , because the default config is 1-core only.
>> 
>> b
>> 
>> _________________________
>> {Beto|Norberto|Numard} Meijome
>> 
>> "We must openly accept all ideologies and systems as  means of solving
>> humanity's problems. One country, one nation, one ideology, one system is
>> not sufficient."
>>    Dalai Lama.
>> 
>> I speak for myself, not my employer. Contents may be hot. Slippery when
>> wet. Reading disclaimers makes you go blind. Writing them is worse. You
>> have been Warned.
>> 
>> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-multicore-feature-in-JBOSS-tp20327580p20414463.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to use multicore feature in JBOSS

Posted by Chris Hostetter <ho...@fucit.org>.
: One final question:
: Even thogh things are working fine, The debug messages that i get from the
: JBOSS console shows STDERR.
: 
: A few lines from the JBOSS console while deploying solr.war:
: 
: 11:44:20,578 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
: org.apache.solr.servlet.SolrDispatchFilter init
: INFO: SolrDispatchFilter.init()
	...

none of those messages are "errors" they are log messages coming from Solr 
using a variety of log levels (that first one for example is is logged at 
the "INFO" level.

The "ERROR" and "[STDERR]" labels seem to be getting applied by JBoss -- 
you should consult JBoss documentation to find out how to control it's 
behavior when dealing with logging from applications.

(if i had to guess: the ConsoleHandler writes all messages to 
System.err and is the default hadler created by the JVM.  If JBoss 
doesn't register any java.util.logging controls (which seems somewhat 
ridiculous for any non trivial servlet container) the messages might be 
going through System.err and *then* JBoss is seeing them and reporting 
them -- which would explain the double timestamps in the log message 
formating as well)


-Hoss


Re: How to use multicore feature in JBOSS

Posted by con <co...@gmail.com>.
Thanks Norberto and Hossma.
That really helped me.

Fist of all i deleted the contents in the example/solr directory and created
a solx.xml that points to the multicore.
That itself worked. 
Then based on Hossman's comment i deleted the actual solr directory and
renamed the multicore directory to solr.
Then i created a solr.xml inside that folder.
This along with some edits i have done previously in some of the
configuration files of JBOSS and solr.war has now made things in good shape.

Now i am able to use the multicore feature in JBOSS. Thanks again to both of
you guys.

One final question:
Even thogh things are working fine, The debug messages that i get from the
JBOSS console shows STDERR.

A few lines from the JBOSS console while deploying solr.war:

11:44:20,578 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.servlet.SolrDispatchFilter init
INFO: SolrDispatchFilter.init()
11:44:20,608 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader locateInstanceDir
INFO: No /solr/home in JNDI
11:44:20,609 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader locateInstanceDir
INFO: using system property solr.solr.home:
C:\Search\apachesolr\example\solr
11:44:20,618 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.CoreContainer$Initializer initialize
INFO: looking for solr.xml: C:\Search\apachesolr\example\solr\solr.xml
11:44:20,620 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to 'C:\Search\apachesolr\example\solr/'
11:44:20,622 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding 'file:/C:/Search/apachesolr/example/solr/lib/jetty-6.1.3.jar'
to Solr classloader
11:44:20,623 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding
'file:/C:/Search/apachesolr/example/solr/lib/jetty-util-6.1.3.jar' to Solr
classloader
11:44:20,624 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding 'file:/C:/Search/apachesolr/example/solr/lib/jsp-2.1/' to Solr
classloader
11:44:20,625 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding
'file:/C:/Search/apachesolr/example/solr/lib/ojdbc6-11.1.0.6.0.1.jar' to
Solr classloader
11:44:20,626 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding
'file:/C:/Search/apachesolr/example/solr/lib/servlet-api-2.5-6.1.3.jar' to
Solr classloader
11:44:20,653 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.CoreContainer load
INFO: loading shared library: C:\Search\apachesolr\example\solr\lib
11:44:20,655 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding 'file:/C:/Search/apachesolr/example/solr/lib/jetty-6.1.3.jar'
to Solr classloader
11:44:20,657 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding
'file:/C:/Search/apachesolr/example/solr/lib/jetty-util-6.1.3.jar' to Solr
classloader
11:44:20,658 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding 'file:/C:/Search/apachesolr/example/solr/lib/jsp-2.1/' to Solr
classloader
11:44:20,659 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding
'file:/C:/Search/apachesolr/example/solr/lib/ojdbc6-11.1.0.6.0.1.jar' to
Solr classloader
11:44:20,660 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Adding
'file:/C:/Search/apachesolr/example/solr/lib/servlet-api-2.5-6.1.3.jar' to
Solr classloader
11:44:20,689 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader <init>
INFO: Solr home set to 'C:\Search\apachesolr\example\solr\core0/'
11:44:20,690 ERROR [STDERR] 7 Nov, 2008 11:44:20 AM
org.apache.solr.core.SolrResourceLoader createClassLoader
INFO: Reusing parent classloader
11:44:21,188 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.core.SolrConfig <init>
INFO: Loaded SolrConfig: solrconfig.xml
11:44:21,225 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.schema.IndexSchema readSchema
INFO: Reading Solr Schema
11:44:21,278 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.schema.IndexSchema readSchema
INFO: Schema name=example core zero
11:44:21,315 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created string: org.apache.solr.schema.StrField
11:44:21,337 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created boolean: org.apache.solr.schema.BoolField
11:44:21,351 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created integer: org.apache.solr.schema.IntField
11:44:21,363 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created long: org.apache.solr.schema.LongField
11:44:21,375 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created float: org.apache.solr.schema.FloatField
11:44:21,388 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created double: org.apache.solr.schema.DoubleField
11:44:21,400 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sint: org.apache.solr.schema.SortableIntField
11:44:21,413 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created slong: org.apache.solr.schema.SortableLongField
11:44:21,426 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sfloat: org.apache.solr.schema.SortableFloatField
11:44:21,439 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created sdouble: org.apache.solr.schema.SortableDoubleField
11:44:21,463 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created date: org.apache.solr.schema.DateField
11:44:21,495 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
11:44:21,497 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text_ws: org.apache.solr.schema.TextField
11:44:21,506 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
11:44:21,521 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.SynonymFilterFactory
11:44:21,530 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.StopFilterFactory
11:44:21,538 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
11:44:21,547 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
11:44:21,555 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.EnglishPorterFilterFactory
11:44:21,565 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null:
org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
11:44:21,571 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
11:44:21,575 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.StopFilterFactory
11:44:21,578 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
11:44:21,581 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory
11:44:21,583 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.EnglishPorterFilterFactory
11:44:21,586 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null:
org.apache.solr.analysis.RemoveDuplicatesTokenFilterFactory
11:44:21,587 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created text: org.apache.solr.schema.TextField
11:44:21,597 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WhitespaceTokenizerFactory
11:44:21,601 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.SynonymFilterFactory
11:44:21,604 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.StopFilterFactory
11:44:21,606 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.WordDelimiterFilterFactory
11:44:21,609 ERROR [STDERR] 7 Nov, 2008 11:44:21 AM
org.apache.solr.util.plugin.AbstractPluginLoader load
INFO: created null: org.apache.solr.analysis.LowerCaseFilterFactory

...........

similarly all the messages coming from solr are error messages, eventhogh
things are working fine now.
I am not sure whether it will affect the application at a later stage.
I suspect that i am missing something in the classpath. Can anyone provide
some tips on why this error message is displaying.


Thanks again
con


Norberto Meijome-6 wrote:
> 
> On Tue, 4 Nov 2008 23:45:40 -0800 (PST)
> con <co...@gmail.com> wrote:
> 
>> But for the first question, I am still not clear.
>> I think to use the multicore feature we should inform the server. In the
>> Jetty server, we are starting the server using:   java
>> -Dsolr.solr.home=multicore -jar start.jar
>> Once the server is started I think it will take the parameters from
>> multicore/solr.xml.
>> 
>> But I am confused on how and where to pass this argument to JBOSS. 
> 
> Con,
> Sorry, i don't have a jboss available to test... what happens if you use
> the standard configuration ( with solr.xml @ the top level of your solr
> directory, NOT in multicore/ ) 
> 
> launch it, look @ the debug messages , see which cores are picked up (from
> the admin page ). 
> 
> FWIW, by having {solr_installation_directory}/solr.xml , I never had to
> tell jetty where solr.xml was.  IIRC, multicore/solr.xml is the layout in
> the example app , because the default config is 1-core only.
> 
> b
> 
> _________________________
> {Beto|Norberto|Numard} Meijome
> 
> "We must openly accept all ideologies and systems as  means of solving
> humanity's problems. One country, one nation, one ideology, one system is
> not sufficient."
>    Dalai Lama.
> 
> I speak for myself, not my employer. Contents may be hot. Slippery when
> wet. Reading disclaimers makes you go blind. Writing them is worse. You
> have been Warned.
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-multicore-feature-in-JBOSS-tp20327580p20375364.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to use multicore feature in JBOSS

Posted by Norberto Meijome <nu...@gmail.com>.
On Tue, 4 Nov 2008 23:45:40 -0800 (PST)
con <co...@gmail.com> wrote:

> But for the first question, I am still not clear.
> I think to use the multicore feature we should inform the server. In the
> Jetty server, we are starting the server using:   java
> -Dsolr.solr.home=multicore -jar start.jar
> Once the server is started I think it will take the parameters from
> multicore/solr.xml.
> 
> But I am confused on how and where to pass this argument to JBOSS. 

Con,
Sorry, i don't have a jboss available to test... what happens if you use the standard configuration ( with solr.xml @ the top level of your solr directory, NOT in multicore/ ) 

launch it, look @ the debug messages , see which cores are picked up (from the admin page ). 

FWIW, by having {solr_installation_directory}/solr.xml , I never had to tell jetty where solr.xml was.  IIRC, multicore/solr.xml is the layout in the example app , because the default config is 1-core only.

b

_________________________
{Beto|Norberto|Numard} Meijome

"We must openly accept all ideologies and systems as  means of solving humanity's problems. One country, one nation, one ideology, one system is not sufficient."
   Dalai Lama.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.

Re: How to use multicore feature in JBOSS

Posted by Chris Hostetter <ho...@fucit.org>.
: But for the first question, I am still not clear.
: I think to use the multicore feature we should inform the server. In the
: Jetty server, we are starting the server using:   java
: -Dsolr.solr.home=multicore -jar start.jar
: Once the server is started I think it will take the parameters from
: multicore/solr.xml.
: 
: But I am confused on how and where to pass this argument to JBOSS. 

i don't know anything about jboss, so i can't relaly answer your specific 
question, but as for your general question: the way to test out the 
example "multicore" configuration is to make Solr aware of where the "Solr 
Home" is ... once it knows that, then it looks for the solr.xml file, and 
if it exists, you get multicore support.

if you can get the defualt exmaple working in JBoss, then whatever you did 
to make it aware of the "example/solr" solr home, you do the same thing to 
make it use "example/multicore" as the solr home instead (that might just 
be renaming the multicore directory to "solr" so that the default behavior 
-- use ./solr in the current working directory -- gets used.

if you want to figure out other, better, ways of setting solr home in 
JBoss, you'll need to find out how to go about configuring jboss to run 
apps with either Java SYstem properties set (ie: solr.solr.home) or iwth 
JNDI variables set ("solr/home")...

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


-Hoss


Re: How to use multicore feature in JBOSS

Posted by con <co...@gmail.com>.


Thanks Norberto 
Thanks for your reply
Its my mistake to forget the basics. :-( 
But for the first question, I am still not clear.
I think to use the multicore feature we should inform the server. In the
Jetty server, we are starting the server using:   java
-Dsolr.solr.home=multicore -jar start.jar
Once the server is started I think it will take the parameters from
multicore/solr.xml.

But I am confused on how and where to pass this argument to JBOSS. 

Looking forward for a positive reply
Thanking in advance
coN



Norberto Meijome-6 wrote:
> 
> On Tue, 4 Nov 2008 09:55:38 -0800 (PST)
> con <co...@gmail.com> wrote:
> 
>> 1) Which all files do I need to edit to use the multicore feature?
>> 2) Also, where can I specify the index directly so that we can point the
>> indexed documents to a custom folder instead of jboss/bin?
> 
> Con, please check the wiki - the answers should be there 
> 
> (
>  1) = solr.xml ( previously multicore.xml)
> 2) look in solrconfig.xml for each core
> )
> _________________________
> {Beto|Norberto|Numard} Meijome
> 
> Windows: "Where do you want to go today?"
> Linux: "Where do you want to go tomorrow?"
> FreeBSD: "Are you guys coming, or what?"
> 
> I speak for myself, not my employer. Contents may be hot. Slippery when
> wet. Reading disclaimers makes you go blind. Writing them is worse. You
> have been Warned.
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-multicore-feature-in-JBOSS-tp20327580p20337321.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: How to use multicore feature in JBOSS

Posted by Norberto Meijome <nu...@gmail.com>.
On Tue, 4 Nov 2008 09:55:38 -0800 (PST)
con <co...@gmail.com> wrote:

> 1) Which all files do I need to edit to use the multicore feature?
> 2) Also, where can I specify the index directly so that we can point the
> indexed documents to a custom folder instead of jboss/bin?

Con, please check the wiki - the answers should be there 

(
 1) = solr.xml ( previously multicore.xml)
2) look in solrconfig.xml for each core
)
_________________________
{Beto|Norberto|Numard} Meijome

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.