Thanks Bill!!

Here is the content of the log file?(I restarted Solr so we have a clean log):

127.0.0.1 -? -? [20/03/2008:13:38:09 +0000] "GET 
/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2538 
127.0.0.1 -? -? [20/03/2008:13:38:31 +0000] "GET /solr/admin/logging.jsp 
HTTP/1.1" 200 138 
127.0.0.1 -? -? [20/03/2008:13:38:33 +0000] "GET /solr/admin/logging.xsl 
HTTP/1.1" 304 0 
127.0.0.1 -? -? [20/03/2008:13:38:33 +0000] "GET /solr/admin/meta.xsl HTTP/1.1" 
304 0 
127.0.0.1 -? -? [20/03/2008:13:38:36 +0000] "GET /solr/admin/action.jsp?log=ALL 
HTTP/1.1" 200 901 
127.0.0.1 -? -? [20/03/2008:13:38:55 +0000] "GET /solr/admin/ HTTP/1.1" 200 
3818 
127.0.0.1 -? -? [20/03/2008:13:38:59 +0000] "GET 
/solr/select/?q=solr&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2161 
127.0.0.1 -? -? [20/03/2008:13:39:01 +0000] "GET 
/solr/select/?q=solr&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2159 
127.0.0.1 -? -? [20/03/2008:13:39:17 +0000] "GET 
/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2536 
127.0.0.1 -? -? [20/03/2008:13:39:44 +0000] "POST /solr/update HTTP/1.1" 200 
152 
127.0.0.1 -? -? [20/03/2008:13:43:32 +0000] "POST /solr/update HTTP/1.1" 200 
149 
127.0.0.1 -? -? [20/03/2008:13:44:16 +0000] "GET 
/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2537 
127.0.0.1 -? -? [20/03/2008:13:44:17 +0000] "GET 
/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2536 
127.0.0.1 -? -? [20/03/2008:13:44:18 +0000] "GET 
/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2536 
127.0.0.1 -? -? [20/03/2008:13:44:26 +0000] "POST /solr/update HTTP/1.1" 200 
149 
127.0.0.1 -? -? [20/03/2008:13:44:27 +0000] "POST /solr/update HTTP/1.1" 200 
149 
127.0.0.1 -? -? [20/03/2008:13:44:51 +0000] "GET 
/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2536 
127.0.0.1 -? -? [20/03/2008:13:44:51 +0000] "GET 
/solr/select/?q=*%3A*&version=2.2&start=0&rows=10&indent=on HTTP/1.1" 200 2536 

The two POST are as a result of issuing "java -Ddata=args -jar post.jar 
"<optimize/>""

Just before I issued the first POST, there were 71 files in the index (total 
size ~1.4Gb) ... after the first POST, there were 20 files (total size ~2.7Gb) 
.. after the second POST, there were 8 files (total size ~1.3Gb)

The increase in the index size ... from 1.4Gb to 2.7Gb ... as well as the total 
files count (3 different counts) .. is something I have not observed before!!? 
In all of my previous experiments ... on the first POST ... the index size 
increased slightly, but the file count never (I think) went up!

Who can explain to me what's going on here?!!


I'm using Solr 1.2 ... the only change I have done is added new fields to 
support my data type.

-JM

-----Original Message-----
From: Bill Au <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Thu, 20 Mar 2008 8:58 am
Subject: Re: what's up with: java -Ddata=args -jar post.jar "<optimize/>"




What messages do you see in your log file?

Bill

On Wed, Mar 19, 2008 at 3:15 PM, <[EMAIL PROTECTED]> wrote:

>
> Hi,
>
>
>
> I'm a new Solr user. I figured my way around Solr just fine (I think) ...
> I can index and search ets. And so far I have indexed over 300k documents.
>
>
>
> What I can't figure out is the following. I'm using:
>
>
>
> ??? java -Ddata=args -jar post.jar "<optimize/>"
>
>
> to post an optimize command. What I'm finding is that I have to do it
> twice in order for the files to be "optimized" ... i.e.: the first post
> takes 3-4 minutes but leaves the file count as is at 44 ... the second post
> takes 2-3 seconds but shrinks the file count from 44 to 8.
>
>
> So my question is the following, is this the expected behavior or am I
> doing something wrong? Do I need two optimize posts to really optimize my
> index?!
>
>
> Thanks in advance
>
>
> -JM
>

Reply via email to