Re: [bobo-browse] Digest for bobo-browse@googlegroups.com - 2 Messages in 1 Topic

11 views
Skip to first unread message

Elmer van Chastelet

unread,
Mar 15, 2013, 7:29:49 AM3/15/13
to bobo-...@googlegroups.com
My guess is that you reopen the BoboIndexReader each time you request facet values (reconstructing/readding facet handlers).
You only have to do this once and keep a reference to the BoboIndexReader instance with the appropriate FacetHandlers added.

As John suggests, sharing some of your search code (http://pastebin.com) would help.

-- Elmer
 


On Fri, Mar 15, 2013 at 12:09 PM, <bobo-...@googlegroups.com> wrote:

Group: http://groups.google.com/group/bobo-browse/topics

    Ariel Valentin <ar...@arielvalentin.com> Mar 14 03:05PM -0700  

    Hello!
     
    I want to figure out a way to efficiently return field values for all
    matching BrowseHits. I do not want to use the stored values because in the
    past we have run into considerable issues with I/O. Based on reading the
    documentation and reading through the source code, it appears that the
    FieldValues are set by FacetHandlers. I have tried using SimpleFacetHandler
    however when I do so the search time slows down considerably (from 464ms to
    8000ms on average).
     
    That makes me feel like I am missing something. Is there an easier/faster
    way to do this?

     

    John Wang <john...@gmail.com> Mar 14 08:40PM -0700  

    Hi Ariel:
     
    This does not sound right. Returning value from facethandler should be
    very fast. Would you mind paste your code so we help?
     
    -John
     

     

You received this message because you are subscribed to the Google Group bobo-browse.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
You received this message because you are subscribed to the Google Groups "bobo-browse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bobo-browse...@googlegroups.com.
To post to this group, send email to bobo-...@googlegroups.com.
Visit this group at http://groups.google.com/group/bobo-browse?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

John Wang

unread,
Mar 15, 2013, 11:04:46 PM3/15/13
to bobo-...@googlegroups.com
Hey Elmer:

         You are absolutely right on this! I sent back a comment!

-John

Elmer van Chastelet

unread,
Mar 16, 2013, 3:53:54 PM3/16/13
to bobo-...@googlegroups.com
Haha, apparently I was replying to the digest mail instead of the post in Arial's thread :S

Google Groups UI isn't really clear regarding this (as I never make mistakes *uch*).
Hmm, and right now, I try to post a reply on John's message, but it looks like this message will be posted as reply to my own post.. confused O.o
 
Anyway I'm glad the problem has been traced :)

-- Elmer

Op vrijdag 15 maart 2013 12:29:49 UTC+1 schreef Elmer van Chastelet het volgende:
To unsubscribe from this group and stop receiving emails from it, send an email to bobo-browse+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages