tag:blogger.com,1999:blog-8623074010562846957.post5556522128874720413..comments2023-09-01T03:38:08.236-04:00Comments on Changing Bits: Lucene's SimpleText codecMichael McCandlesshttp://www.blogger.com/profile/04277432937861334672noreply@blogger.comBlogger8125tag:blogger.com,1999:blog-8623074010562846957.post-77444325175619375232013-10-18T04:34:25.847-04:002013-10-18T04:34:25.847-04:00Hi Yuva,
Can you please ask on the Lucene user...Hi Yuva,<br /><br />Can you please ask on the Lucene user's list (java-user@lucene.apache.org)?Michael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-50124644051044145922013-10-18T01:59:53.147-04:002013-10-18T01:59:53.147-04:00Hi Michael,
I am new to this Codec concept.Can yo...Hi Michael,<br /> I am new to this Codec concept.Can you post example for how to convert index files to readable format?.<br /><br />thanks,<br />yuvaYuva Phanihttps://www.blogger.com/profile/13905208365958373619noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-60723274892279810372013-05-24T06:27:03.992-04:002013-05-24T06:27:03.992-04:00Hi Doug,
That's a great blog post! Thank you...Hi Doug,<br /><br />That's a great blog post! Thank you for sharing!Michael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-55046837043594823812013-05-23T22:28:49.945-04:002013-05-23T22:28:49.945-04:00Mike, I've had a blast playing around with Cod...Mike, I've had a blast playing around with Codecs lately. Thanks for SimpleText, its very educational. I posted a <a href="http://www.opensourceconnections.com/2013/05/20/how-does-a-search-engine-work-an-educational-trek-through-a-lucene-postings-format/" rel="nofollow">blog article</a> that hopefully can help others understand the basics of how a search engine works based on SimpleText's output. Hope you/your readers enjoy.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-43061746039275069732013-05-10T15:38:55.857-04:002013-05-10T15:38:55.857-04:00Hi John,
SimpleText codec ships with the "co...Hi John,<br /><br />SimpleText codec ships with the "codecs" module (lucene-codecs).<br /><br />Also I fixed the link above...<br />Michaelhttps://www.blogger.com/profile/13953704146790096977noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-45308340201120657592013-05-10T12:01:32.587-04:002013-05-10T12:01:32.587-04:00Do you have a link to your codec? (This link above...Do you have a link to your codec? (This link above is dead.)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-21995569255354749982012-10-24T06:05:37.643-04:002012-10-24T06:05:37.643-04:00Hi Aryeh,
The necessary codec is written into the...Hi Aryeh,<br /><br />The necessary codec is written into the index every time a segment is flushed or merged, by IndexWriter.<br /><br />So that at read time (when you open an IndexReader) you can't change the codec anymore; instead you just have to ensure all codecs used when writing that index are still on the CLASSPATH. IndexReader will look at each segment, determine which codec wrote it, find that codec in the CLASSPATH, and use it to open the segment.Michael McCandlesshttps://www.blogger.com/profile/04277432937861334672noreply@blogger.comtag:blogger.com,1999:blog-8623074010562846957.post-49324897468679874032012-10-23T19:45:53.601-04:002012-10-23T19:45:53.601-04:00Mike, I'm confused as how to read using the co...Mike, I'm confused as how to read using the codecs. I see that I can create an IndexWriter using an IndexWriterConfig that has a setCodec method, but I don't see any such method with the IndexReader class?Aryeh Berkowitzhttps://www.blogger.com/profile/01097056330900042219noreply@blogger.com