Re: Need change one field type from IntField to String including indexOptions to store positions & Norms

2015-12-17 Thread Jack Krupansky
The standard answer is that you need to reindex all of your data. -- Jack Krupansky On Thu, Dec 17, 2015 at 6:10 AM, Kumaran Ramasubramanian wrote: > Dear All > > i am using lucene 4.10.4. Is there any more information i missed to > provide? Please let me know. > > > -- >

Re: Need change one field type from IntField to String including indexOptions to store positions & Norms

2015-12-17 Thread Kumaran R
While Reindexing only am facing this problem. Just to confirm what do you mean by reindex. You mean "delete and add" for all documents by taking data one by one right?? Sent from Phone > On 17-Dec-2015, at 8:53 PM, Jack Krupansky wrote: > > The standard answer is that

Re: Need change one field type from IntField to String including indexOptions to store positions & Norms

2015-12-17 Thread Jack Krupansky
Delete the full index and create from scratch with the correct field type, re-adding all documents. Any remnants of the old field must be removed. -- Jack Krupansky On Thu, Dec 17, 2015 at 11:48 AM, Kumaran R wrote: > While Reindexing only am facing this problem. > > Just

Re: Need change one field type from IntField to String including indexOptions to store positions & Norms

2015-12-17 Thread Kumaran Ramasubramanian
Hi Jack Krupansky Thanks for the reply. That will work fine. But i am trying to use the stored values instead of hitting database for reindex. Isn't it better way to reindex? Any inputs? -- ​Kumaran R On Thu, Dec 17, 2015 at 11:50 PM, Jack Krupansky wrote: >

Re: Need change one field type from IntField to String including indexOptions to store positions & Norms

2015-12-17 Thread Jack Krupansky
You could certainly read your stored values from your current index and then write new documents to a new index and then use the new index. That's if all of the indexed field values are stored. -- Jack Krupansky On Thu, Dec 17, 2015 at 2:10 PM, Kumaran Ramasubramanian

Re: Need change one field type from IntField to String including indexOptions to store positions & Norms

2015-12-17 Thread Kumaran Ramasubramanian
yes. All fields are stored in index. so sounds like working. Thanks a lot jack :-) Nice to meet you here :-) -- ​ Kumaran R​ On Fri, Dec 18, 2015 at 12:49 AM, Jack Krupansky wrote: > You could certainly read your stored values from your current index and > then

Re: Need change one field type from IntField to String including indexOptions to store positions & Norms

2015-12-17 Thread Kumaran Ramasubramanian
Dear All i am using lucene 4.10.4. Is there any more information i missed to provide? Please let me know. -- Kumaran R*​* On Wed, Dec 16, 2015 at 10:35 PM, Kumaran Ramasubramanian < kums@gmail.com> wrote: > > Hi All, > > Previous Post - >