UnretrievableException searching on index

Help
Diego
2005-01-02
2013-04-25
  • Diego
    Diego
    2005-01-02

    Hi,

    I"ve searched the archives, but haven"t found a solution to this problem.

    I am trying to use the search feature of Informa but when I call the search method from de ChannelSearchar I receive an UnretrivableException error.

    To solve this I must re-generate the index for each search, but what I want, is using the index folder for secuencial searchs without re-genereting the index from some clients.

    There is a solution to this?

    This is the code to use de index:

    ChannelIndexer ntx = new ChannelIndexer(path);
    ntx.indexChannels(false,ChannelGroupIF.getAll());

    If I switch from FALSE to TRUE the code work perfectly...

    and...
    This is the code to search the index:

    ChannelSearcher srch = new ChannelSearcher(path);
    srch.search(ChannelGroupIF,string);

    Thank a lot.

     
    • I am getting the same type of exception.
      I can assume that while searching all channels should be clubbed into ChannelGroup.
      But the above is not true always. For example while searching I can have a new ChannelGroupIF.