Re: Would changing the schema version from 1.5 to 1.6 require a reindex

2020-02-23 Thread Paras Lehana
Hi Karl,

Maybe someone else could help if reindexing is needed if we upgrade Schema
version. However, I guess, useDocValuesAsStored only impacts the query side
assuming docValues had already been stored during indexing. It's actually
easier to try querying the fields after enabling this parameter and see if
that works without reindexing!


On Thu, 13 Feb 2020 at 14:21, Karl Stoney
 wrote:

> Hey,
> I’m going to bump our schema version from 1.5 to 1.6 to get the implicit
> useDocValuesAsStored=true, would this require a reindex?
>
> Thanks
> Karl
> This e-mail is sent on behalf of Auto Trader Group Plc, Registered Office:
> 1 Tony Wilson Place, Manchester, Lancashire, M15 4FN (Registered in England
> No. 9439967). This email and any files transmitted with it are confidential
> and may be legally privileged, and intended solely for the use of the
> individual or entity to whom they are addressed. If you have received this
> email in error please notify the sender. This email message has been swept
> for the presence of computer viruses.
>


-- 
-- 
Regards,

*Paras Lehana* [65871]
Development Engineer, *Auto-Suggest*,
IndiaMART InterMESH Ltd,

11th Floor, Tower 2, Assotech Business Cresterra,
Plot No. 22, Sector 135, Noida, Uttar Pradesh, India 201305

Mob.: +91-9560911996
Work: 0120-4056700 | Extn:
*11096*

-- 
*
*

 


Would changing the schema version from 1.5 to 1.6 require a reindex

2020-02-13 Thread Karl Stoney
Hey,
I’m going to bump our schema version from 1.5 to 1.6 to get the implicit 
useDocValuesAsStored=true, would this require a reindex?

Thanks
Karl
This e-mail is sent on behalf of Auto Trader Group Plc, Registered Office: 1 
Tony Wilson Place, Manchester, Lancashire, M15 4FN (Registered in England No. 
9439967). This email and any files transmitted with it are confidential and may 
be legally privileged, and intended solely for the use of the individual or 
entity to whom they are addressed. If you have received this email in error 
please notify the sender. This email message has been swept for the presence of 
computer viruses.


Re: Changing the schema

2011-06-15 Thread Chris Hostetter

: If I change the field type in my schema, do I need to rebuild the entire
: index? I'm at a point now where it takes over a day to do a full import due
: to the sheer size of my application and I would prefer not having to reindex
: just because I want to make a change somewhere.

it really depends on the change.

gneral rule of thumb is "yes" but there are lots of exceptions depending 
on what you're doing and how concerned you are about consistency -- 
adding fields/fieldTypes really doesn't require reindexing unless you have 
a default value.  removing "required" or going from single valued to 
multivalued (ie: relaxing rules) doesn't require reindexing. changing 
analyzers ... oy.  that's a big ball of wax.

if you really know what you are doing, and fully understand what's 
changing under the covers, there are lots of cases where you don't need to 
reindex ... but it's not recommended in general.






-Hoss


Re: Changing the schema

2011-05-13 Thread Stefan Matheis
Chamnap,

On Fri, May 13, 2011 at 2:59 PM, Chamnap Chhorn  wrote:
> I wonder what if I add new field in the schema, do i have to reindex?

If you're using that field within the DIH .. then of course yes, but
normally/otherwise: No :)

On Fri, May 13, 2011 at 2:59 PM, Chamnap Chhorn  wrote:
> If no need to reindex, can i just update the schema.xml directly? After
> that, Should I restart the tomcat service?

At least, you have to reload the Core-Config .. don't know exactly how
that works while using Tomcat -- with the packaged Jetty, it's just
hitting /admin/cores (while in Multicore-Mode) or restarting the
Java-Process (in Singlecore-Mode)

On Fri, May 13, 2011 at 2:59 PM, Chamnap Chhorn  wrote:
> If no need to reindex, how about the existing documents? If I do a query
> with new field, does it cause errors?

Afaik, the document are just not affected from searching and therefore
missing in/excluded from the result.

Regards
Stefan


Re: Changing the schema

2011-05-13 Thread Chamnap Chhorn
I wonder what if I add new field in the schema, do i have to reindex?

If no need to reindex, can i just update the schema.xml directly? After
that, Should I restart the tomcat service?

If no need to reindex, how about the existing documents? If I do a query
with new field, does it cause errors?

On Fri, May 13, 2011 at 1:38 PM, Otis Gospodnetic <
otis_gospodne...@yahoo.com> wrote:

> Brian,
>
> Yes, you do need to reindex.  We've used Hadoop with Solr to speed up
> indexing
> by orders of magnitude for some of our customers.  Something to consider.
>
> Otis
> 
> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> Lucene ecosystem search :: http://search-lucene.com/
>
>
>
> - Original Message 
> > From: Brian Lamb 
> > To: solr-user@lucene.apache.org
> > Sent: Thu, May 12, 2011 11:53:27 AM
> > Subject: Changing the schema
> >
> > If I change the field type in my schema, do I need to rebuild the  entire
> > index? I'm at a point now where it takes over a day to do a full  import
> due
> > to the sheer size of my application and I would prefer not having  to
> reindex
> > just because I want to make a change  somewhere.
> >
> > Thanks,
> >
> > Brian Lamb
> >
>



-- 
Chhorn Chamnap
http://chamnapchhorn.blogspot.com/


Re: Changing the schema

2011-05-12 Thread Otis Gospodnetic
Brian,

Yes, you do need to reindex.  We've used Hadoop with Solr to speed up indexing 
by orders of magnitude for some of our customers.  Something to consider.

Otis

Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/



- Original Message 
> From: Brian Lamb 
> To: solr-user@lucene.apache.org
> Sent: Thu, May 12, 2011 11:53:27 AM
> Subject: Changing the schema
> 
> If I change the field type in my schema, do I need to rebuild the  entire
> index? I'm at a point now where it takes over a day to do a full  import due
> to the sheer size of my application and I would prefer not having  to reindex
> just because I want to make a change  somewhere.
> 
> Thanks,
> 
> Brian Lamb
> 


Changing the schema

2011-05-12 Thread Brian Lamb
If I change the field type in my schema, do I need to rebuild the entire
index? I'm at a point now where it takes over a day to do a full import due
to the sheer size of my application and I would prefer not having to reindex
just because I want to make a change somewhere.

Thanks,

Brian Lamb


changing the schema

2007-04-03 Thread Lutz Steinborn

Hi,

I'm using Solr now for a while and I'm feeling fine. Its much easier to use
as native Lucene.
Many thanks for the good job.

But one question cames up as the index goes bigger and bigger: is it
possible to add fields to the schema without a complete   reindex ?

We are using Solr for a b2b catalog application with millions of records. A
complete reindex takes hours.

Kindly regards
Lutz Steinborn
http://www.4c-ag.de