The single occurence of a double quote anywhere else in a string is no problem, nor is the single occurence of a single quote anywhere in the string. Also if it's at the end.
Is this a bug in Apache::Lucy? (Lucy-v0.6.1 latest version on cpan)
Kind regards, Arjan.
On 05/16/2017 07:53 PM, Serkan Mulayim wrote:
> Thank you very much Nick, I tried your suggestion and it worked. And this > is a much simpler way of getting the LexiconReader. I suppose it does the > lexicon run over all segments in the index, right? > > On Tue, May 16, 2017 at 7:56 AM, Nick Wellnhofer <[EMAIL PROTECTED]> > wrote: > >> On 15/05/2017 23:13, Serkan Mulayim wrote: >> >>> I tried to make the library work for Lexicons, but I am receiving a >>> Segfault. I believe I am not able to initialize the LexiconReader >>> correctly. >>> >> You can get the LexiconReader for an index with IndexReader's Obtain >> method: >> >> http://lucy.apache.org/docs/c/Lucy/Index/IndexReader.html#func_Obtain >> >> Example code: >> >> LexiconReader *lex_reader = (LexiconReader*)IxReader_Obtain( >> index_reader, Class_Get_Name(LEXICONREADER)); >> >> Nick >>
Apache Lucene, Apache Solr and all other Apache Software Foundation project and their respective logos are trademarks of the Apache Software Foundation.
Elasticsearch, Kibana, Logstash, and Beats are trademarks of Elasticsearch BV, registered in the U.S. and in other countries. This site and Sematext Group is in no way affiliated with Elasticsearch BV.
Service operated by Sematext