Re: issue with delete index

2010-03-12 Thread muneeb

Thanks for replying Yonik. I did actually restart the jetty after changing
schema and before re-indexing. 

But i realized that it was to do with 'omitNorms' field attribute, i had
titles with length 3 and 4 with similar length normalization score (0.5),
which I was, wrongly, expecting to be different and hence concluded that
delete index didn't work!!

-M


Yonik Seeley-2 wrote:
> 
> On Thu, Mar 11, 2010 at 12:22 PM, muneeb  wrote:
>> I have made some changes to my schema, including setting of omitNorms to
>> false for a few fields. I am using Solr1.4 with SolrJ client. I deleted
>> my
>> index using the client:
>>
>> solrserver.deleteByQuery("*:*");
>> solrserver.optimize();
> 
> Solr implements a *:* by removing the index, so this should have been
> fine.
> 
>> But after reindexing and running the queries i don't see any difference
>> in
>> query results, as if it didn't take 'omitNorms' settings into
>> consideration.
> 
> Did you restart Solr so that the schema was re-read?
> 
> -Yonik
> http://www.lucidimagination.com
> 
> 

-- 
View this message in context: 
http://old.nabble.com/issue-with-delete-index-tp27866630p27874125.html
Sent from the Solr - User mailing list archive at Nabble.com.



Re: issue with delete index

2010-03-11 Thread Yonik Seeley
On Thu, Mar 11, 2010 at 12:22 PM, muneeb  wrote:
> I have made some changes to my schema, including setting of omitNorms to
> false for a few fields. I am using Solr1.4 with SolrJ client. I deleted my
> index using the client:
>
> solrserver.deleteByQuery("*:*");
> solrserver.optimize();

Solr implements a *:* by removing the index, so this should have been fine.

> But after reindexing and running the queries i don't see any difference in
> query results, as if it didn't take 'omitNorms' settings into consideration.

Did you restart Solr so that the schema was re-read?

-Yonik
http://www.lucidimagination.com


issue with delete index

2010-03-11 Thread muneeb

Hi,

I have made some changes to my schema, including setting of omitNorms to
false for a few fields. I am using Solr1.4 with SolrJ client. I deleted my
index using the client:

solrserver.deleteByQuery("*:*");
solrserver.optimize();

But after reindexing and running the queries i don't see any difference in
query results, as if it didn't take 'omitNorms' settings into consideration. 

Can anyone tell me how to delete the index entirely so that new changes can
take place?

Thanks!!
-M
-- 
View this message in context: 
http://old.nabble.com/issue-with-delete-index-tp27866630p27866630.html
Sent from the Solr - User mailing list archive at Nabble.com.