Menu

#161 Slow Response for Large Spans

CVS_head
closed
nobody
Mímir (4)
5
2015-05-21
2012-03-25
No

I've recently switched to using synthetic document annotations (where the features come from the GATE document) and while this works flawlessly via either the remote query runner or the XML RESTful service, I've noticed that it doesn't play well with the default search interface. I'm guessing that this is related to the generation of the snippet as it appears to be the only difference between the default interface and my use of either of the other search interfaces. I'm guessing that it's doing a lot of string creation and array copying to generate the token array. Maybe if we know that we need the whole array we can return it rather than creating a new copy? Either that or ask for only the tokens we will display in the snippet and not the whole document (note that the cached links respond quickly so they must use a different approach to generate the text).

Discussion

  • Mark Greenwood

    Mark Greenwood - 2012-03-25

    I should have said that the results do come back correctly but it is just very slow (almost a minute) compared to the other interfaces (almost instantaneous).

     
  • Mark Greenwood

    Mark Greenwood - 2015-05-21

    I'm fairly certain this has now been fixed or at least I can't remember what the bug was really about so I'm going to close it (although I do have a related bu which may get raised as a new open issue)

     
  • Mark Greenwood

    Mark Greenwood - 2015-05-21
    • status: open --> closed
     

Log in to post a comment.