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

Reply via email to