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 Tom Burton-West <tb...@umich.edu> on 2012/08/22 20:56:44 UTC

Solr 4.0 Beta missing example/conf files?

Hello,

Usually in the example/solr file in Solr distributions there is a populated
conf file.  However in the distribution I downloaded of solr 4.0.0-BETA,
there is no /conf directory.   Has this been moved somewhere?

Tom

ls -l apache-solr-4.0.0-BETA/example/solr
total 107
drwxr-sr-x 2 tburtonw dlps    0 May 29 13:02 bin
drwxr-sr-x 3 tburtonw dlps   22 Jun 28 09:21 collection1
-rw-r--r-- 1 tburtonw dlps 2259 May 29 13:02 README.txt
-rw-r--r-- 1 tburtonw dlps 2171 Jul 31 19:35 solr.xml
-rw-r--r-- 1 tburtonw dlps  501 May 29 13:02 zoo.cfg

Re: Solr 4.0 Beta missing example/conf files?

Posted by Mark Miller <ma...@gmail.com>.
Yeah - we want fix that for sure. 

Sent from my iPhone

On Aug 22, 2012, at 6:34 PM, Markus Jelsma <ma...@openindex.io> wrote:

> Hi,
> 
> I would think so. Perhaps something for:
> https://issues.apache.org/jira/browse/SOLR-3288 
> 
> 
> -----Original message-----
>> From:Tom Burton-West <tb...@umich.edu>
>> Sent: Wed 22-Aug-2012 22:35
>> To: solr-user@lucene.apache.org
>> Subject: Re: Solr 4.0 Beta missing example/conf files?
>> 
>> Thanks Markus!
>> 
>> Should the README.txt file in solr/example be updated to reflect this?
>> Is that something I need to enter a JIRA issue for?
>> 
>> Tom
>> 
>> On Wed, Aug 22, 2012 at 3:12 PM, Markus Jelsma
>> <ma...@openindex.io>wrote:
>> 
>>> Hi - The example has been moved to collection1/
>>> 
>>> 
>>> 
>>> -----Original message-----
>>>> From:Tom Burton-West <tb...@umich.edu>
>>>> Sent: Wed 22-Aug-2012 20:59
>>>> To: solr-user@lucene.apache.org
>>>> Subject: Solr 4.0 Beta missing example/conf files?
>>>> 
>>>> Hello,
>>>> 
>>>> Usually in the example/solr file in Solr distributions there is a
>>> populated
>>>> conf file.  However in the distribution I downloaded of solr 4.0.0-BETA,
>>>> there is no /conf directory.   Has this been moved somewhere?
>>>> 
>>>> Tom
>>>> 
>>>> ls -l apache-solr-4.0.0-BETA/example/solr
>>>> total 107
>>>> drwxr-sr-x 2 tburtonw dlps    0 May 29 13:02 bin
>>>> drwxr-sr-x 3 tburtonw dlps   22 Jun 28 09:21 collection1
>>>> -rw-r--r-- 1 tburtonw dlps 2259 May 29 13:02 README.txt
>>>> -rw-r--r-- 1 tburtonw dlps 2171 Jul 31 19:35 solr.xml
>>>> -rw-r--r-- 1 tburtonw dlps  501 May 29 13:02 zoo.cfg
>>>> 
>>> 
>> 

RE: Solr 4.0 Beta missing example/conf files?

Posted by Markus Jelsma <ma...@openindex.io>.
Hi,

I would think so. Perhaps something for:
https://issues.apache.org/jira/browse/SOLR-3288 
 

-----Original message-----
> From:Tom Burton-West <tb...@umich.edu>
> Sent: Wed 22-Aug-2012 22:35
> To: solr-user@lucene.apache.org
> Subject: Re: Solr 4.0 Beta missing example/conf files?
> 
> Thanks Markus!
> 
> Should the README.txt file in solr/example be updated to reflect this?
> Is that something I need to enter a JIRA issue for?
> 
> Tom
> 
> On Wed, Aug 22, 2012 at 3:12 PM, Markus Jelsma
> <ma...@openindex.io>wrote:
> 
> > Hi - The example has been moved to collection1/
> >
> >
> >
> > -----Original message-----
> > > From:Tom Burton-West <tb...@umich.edu>
> > > Sent: Wed 22-Aug-2012 20:59
> > > To: solr-user@lucene.apache.org
> > > Subject: Solr 4.0 Beta missing example/conf files?
> > >
> > > Hello,
> > >
> > > Usually in the example/solr file in Solr distributions there is a
> > populated
> > > conf file.  However in the distribution I downloaded of solr 4.0.0-BETA,
> > > there is no /conf directory.   Has this been moved somewhere?
> > >
> > > Tom
> > >
> > > ls -l apache-solr-4.0.0-BETA/example/solr
> > > total 107
> > > drwxr-sr-x 2 tburtonw dlps    0 May 29 13:02 bin
> > > drwxr-sr-x 3 tburtonw dlps   22 Jun 28 09:21 collection1
> > > -rw-r--r-- 1 tburtonw dlps 2259 May 29 13:02 README.txt
> > > -rw-r--r-- 1 tburtonw dlps 2171 Jul 31 19:35 solr.xml
> > > -rw-r--r-- 1 tburtonw dlps  501 May 29 13:02 zoo.cfg
> > >
> >
> 

Re: Solr 4.0 Beta missing example/conf files?

Posted by Lance Norskog <go...@gmail.com>.
bin/ usually goes in the collection/ directory, but nobody uses the
programs in bin/. They are all for the old rsync replicator.

lib/ can go next to solr.xml, or in a collection. In the top
directory, lib/ jars are visible to all collections. Inside a
collection, lib/ jars are only visible to that collection.

On Thu, Aug 23, 2012 at 8:17 PM, Tom Burton-West <tb...@umich.edu> wrote:
> Thanks Erik!
>
> What confused me in the README is that it wasn't clear what
> files/directorys need to be in Solr home and what files/directories need to
> be in SolrHome/corename.  For example the /conf and /data directories are
> now under the core subdirectory.  What about /lib and /bin?   Will a core
> use a conf file in SolrHome/conf if there is no Solrhome/collection1/conf
> directory?
>
> Also when upgrading from a previous Solr setup that doesn't use a core,  I
> was definitely confused about whether or not it is mandatory to have core
> with Solr 4.0.  And when I tried not using a solr.xml file, it was very
> wierd to still get a message about a missing collection1 core directory.
>
> See this JIRA issue:https://issues.apache.org/jira/browse/SOLR-3753
>
> Tom
>
>
> On Thu, Aug 23, 2012 at 7:56 PM, Erik Hatcher <er...@gmail.com>wrote:
>
>> Tom -
>>
>> I corrected, on both trunk and 4_x, a reference to solr/conf (to
>> solr/collection1/conf) in tutorial.html.  I didn't see anything in
>> example/README that needed fixing.  Was there something that is awry there
>> that needs correcting that I missed?   If so, feel free to file a JIRA
>> marked for 4.0 so we can be sure to fix it before final release.
>>
>> Thanks,
>>         Erik
>>
>> On Aug 22, 2012, at 16:32 , Tom Burton-West wrote:
>>
>> > Thanks Markus!
>> >
>> > Should the README.txt file in solr/example be updated to reflect this?
>> > Is that something I need to enter a JIRA issue for?
>> >
>> > Tom
>> >
>> > On Wed, Aug 22, 2012 at 3:12 PM, Markus Jelsma
>> > <ma...@openindex.io>wrote:
>> >
>> >> Hi - The example has been moved to collection1/
>> >>
>> >>
>> >>
>> >> -----Original message-----
>> >>> From:Tom Burton-West <tb...@umich.edu>
>> >>> Sent: Wed 22-Aug-2012 20:59
>> >>> To: solr-user@lucene.apache.org
>> >>> Subject: Solr 4.0 Beta missing example/conf files?
>> >>>
>> >>> Hello,
>> >>>
>> >>> Usually in the example/solr file in Solr distributions there is a
>> >> populated
>> >>> conf file.  However in the distribution I downloaded of solr
>> 4.0.0-BETA,
>> >>> there is no /conf directory.   Has this been moved somewhere?
>> >>>
>> >>> Tom
>> >>>
>> >>> ls -l apache-solr-4.0.0-BETA/example/solr
>> >>> total 107
>> >>> drwxr-sr-x 2 tburtonw dlps    0 May 29 13:02 bin
>> >>> drwxr-sr-x 3 tburtonw dlps   22 Jun 28 09:21 collection1
>> >>> -rw-r--r-- 1 tburtonw dlps 2259 May 29 13:02 README.txt
>> >>> -rw-r--r-- 1 tburtonw dlps 2171 Jul 31 19:35 solr.xml
>> >>> -rw-r--r-- 1 tburtonw dlps  501 May 29 13:02 zoo.cfg
>> >>>
>> >>
>>
>>



-- 
Lance Norskog
goksron@gmail.com

Re: Solr 4.0 Beta missing example/conf files?

Posted by Tom Burton-West <tb...@umich.edu>.
Thanks Erik!

What confused me in the README is that it wasn't clear what
files/directorys need to be in Solr home and what files/directories need to
be in SolrHome/corename.  For example the /conf and /data directories are
now under the core subdirectory.  What about /lib and /bin?   Will a core
use a conf file in SolrHome/conf if there is no Solrhome/collection1/conf
directory?

Also when upgrading from a previous Solr setup that doesn't use a core,  I
was definitely confused about whether or not it is mandatory to have core
with Solr 4.0.  And when I tried not using a solr.xml file, it was very
wierd to still get a message about a missing collection1 core directory.

See this JIRA issue:https://issues.apache.org/jira/browse/SOLR-3753

Tom


On Thu, Aug 23, 2012 at 7:56 PM, Erik Hatcher <er...@gmail.com>wrote:

> Tom -
>
> I corrected, on both trunk and 4_x, a reference to solr/conf (to
> solr/collection1/conf) in tutorial.html.  I didn't see anything in
> example/README that needed fixing.  Was there something that is awry there
> that needs correcting that I missed?   If so, feel free to file a JIRA
> marked for 4.0 so we can be sure to fix it before final release.
>
> Thanks,
>         Erik
>
> On Aug 22, 2012, at 16:32 , Tom Burton-West wrote:
>
> > Thanks Markus!
> >
> > Should the README.txt file in solr/example be updated to reflect this?
> > Is that something I need to enter a JIRA issue for?
> >
> > Tom
> >
> > On Wed, Aug 22, 2012 at 3:12 PM, Markus Jelsma
> > <ma...@openindex.io>wrote:
> >
> >> Hi - The example has been moved to collection1/
> >>
> >>
> >>
> >> -----Original message-----
> >>> From:Tom Burton-West <tb...@umich.edu>
> >>> Sent: Wed 22-Aug-2012 20:59
> >>> To: solr-user@lucene.apache.org
> >>> Subject: Solr 4.0 Beta missing example/conf files?
> >>>
> >>> Hello,
> >>>
> >>> Usually in the example/solr file in Solr distributions there is a
> >> populated
> >>> conf file.  However in the distribution I downloaded of solr
> 4.0.0-BETA,
> >>> there is no /conf directory.   Has this been moved somewhere?
> >>>
> >>> Tom
> >>>
> >>> ls -l apache-solr-4.0.0-BETA/example/solr
> >>> total 107
> >>> drwxr-sr-x 2 tburtonw dlps    0 May 29 13:02 bin
> >>> drwxr-sr-x 3 tburtonw dlps   22 Jun 28 09:21 collection1
> >>> -rw-r--r-- 1 tburtonw dlps 2259 May 29 13:02 README.txt
> >>> -rw-r--r-- 1 tburtonw dlps 2171 Jul 31 19:35 solr.xml
> >>> -rw-r--r-- 1 tburtonw dlps  501 May 29 13:02 zoo.cfg
> >>>
> >>
>
>

Re: Solr 4.0 Beta missing example/conf files?

Posted by Erik Hatcher <er...@gmail.com>.
Tom - 

I corrected, on both trunk and 4_x, a reference to solr/conf (to solr/collection1/conf) in tutorial.html.  I didn't see anything in example/README that needed fixing.  Was there something that is awry there that needs correcting that I missed?   If so, feel free to file a JIRA marked for 4.0 so we can be sure to fix it before final release.

Thanks,
	Erik

On Aug 22, 2012, at 16:32 , Tom Burton-West wrote:

> Thanks Markus!
> 
> Should the README.txt file in solr/example be updated to reflect this?
> Is that something I need to enter a JIRA issue for?
> 
> Tom
> 
> On Wed, Aug 22, 2012 at 3:12 PM, Markus Jelsma
> <ma...@openindex.io>wrote:
> 
>> Hi - The example has been moved to collection1/
>> 
>> 
>> 
>> -----Original message-----
>>> From:Tom Burton-West <tb...@umich.edu>
>>> Sent: Wed 22-Aug-2012 20:59
>>> To: solr-user@lucene.apache.org
>>> Subject: Solr 4.0 Beta missing example/conf files?
>>> 
>>> Hello,
>>> 
>>> Usually in the example/solr file in Solr distributions there is a
>> populated
>>> conf file.  However in the distribution I downloaded of solr 4.0.0-BETA,
>>> there is no /conf directory.   Has this been moved somewhere?
>>> 
>>> Tom
>>> 
>>> ls -l apache-solr-4.0.0-BETA/example/solr
>>> total 107
>>> drwxr-sr-x 2 tburtonw dlps    0 May 29 13:02 bin
>>> drwxr-sr-x 3 tburtonw dlps   22 Jun 28 09:21 collection1
>>> -rw-r--r-- 1 tburtonw dlps 2259 May 29 13:02 README.txt
>>> -rw-r--r-- 1 tburtonw dlps 2171 Jul 31 19:35 solr.xml
>>> -rw-r--r-- 1 tburtonw dlps  501 May 29 13:02 zoo.cfg
>>> 
>> 


Re: Solr 4.0 Beta missing example/conf files?

Posted by Tom Burton-West <tb...@umich.edu>.
Thanks Markus!

Should the README.txt file in solr/example be updated to reflect this?
Is that something I need to enter a JIRA issue for?

Tom

On Wed, Aug 22, 2012 at 3:12 PM, Markus Jelsma
<ma...@openindex.io>wrote:

> Hi - The example has been moved to collection1/
>
>
>
> -----Original message-----
> > From:Tom Burton-West <tb...@umich.edu>
> > Sent: Wed 22-Aug-2012 20:59
> > To: solr-user@lucene.apache.org
> > Subject: Solr 4.0 Beta missing example/conf files?
> >
> > Hello,
> >
> > Usually in the example/solr file in Solr distributions there is a
> populated
> > conf file.  However in the distribution I downloaded of solr 4.0.0-BETA,
> > there is no /conf directory.   Has this been moved somewhere?
> >
> > Tom
> >
> > ls -l apache-solr-4.0.0-BETA/example/solr
> > total 107
> > drwxr-sr-x 2 tburtonw dlps    0 May 29 13:02 bin
> > drwxr-sr-x 3 tburtonw dlps   22 Jun 28 09:21 collection1
> > -rw-r--r-- 1 tburtonw dlps 2259 May 29 13:02 README.txt
> > -rw-r--r-- 1 tburtonw dlps 2171 Jul 31 19:35 solr.xml
> > -rw-r--r-- 1 tburtonw dlps  501 May 29 13:02 zoo.cfg
> >
>

RE: Solr 4.0 Beta missing example/conf files?

Posted by Markus Jelsma <ma...@openindex.io>.
Hi - The example has been moved to collection1/

 
 
-----Original message-----
> From:Tom Burton-West <tb...@umich.edu>
> Sent: Wed 22-Aug-2012 20:59
> To: solr-user@lucene.apache.org
> Subject: Solr 4.0 Beta missing example/conf files?
> 
> Hello,
> 
> Usually in the example/solr file in Solr distributions there is a populated
> conf file.  However in the distribution I downloaded of solr 4.0.0-BETA,
> there is no /conf directory.   Has this been moved somewhere?
> 
> Tom
> 
> ls -l apache-solr-4.0.0-BETA/example/solr
> total 107
> drwxr-sr-x 2 tburtonw dlps    0 May 29 13:02 bin
> drwxr-sr-x 3 tburtonw dlps   22 Jun 28 09:21 collection1
> -rw-r--r-- 1 tburtonw dlps 2259 May 29 13:02 README.txt
> -rw-r--r-- 1 tburtonw dlps 2171 Jul 31 19:35 solr.xml
> -rw-r--r-- 1 tburtonw dlps  501 May 29 13:02 zoo.cfg
>