Pei's profileGet It!PhotosBlogListsMore Tools Help

Blog


    11/8/2009

    ruo

    太弱了!
    全文搜索,自己写个倒排索引搜索居然没有java api遍历快⋯⋯⋯⋯
    不过indexer今天重写一遍快多了,处理3000多篇文章,昨天的版本要两柱香时间,今天只要眨两次眼了。
    对于这个8m多的文本集,一共4000多个不同字符,靠java的arraylist暴搜n个字只要10E6纳秒。 我把query对应的倒排表value取来求交竟然要10E7纳秒!!!
    得,这作业就让它去吧,性能咱在数据库大作业追求吧。c我来了,java拜拜~

    Comments

    Please wait...
    Sorry, the comment you entered is too long. Please shorten it.
    You didn't enter anything. Please try again.
    Sorry, we can't add your comment right now. Please try again later.
    To add a comment, you need permission from your parent. Ask for permission
    Your parent has turned off comments.
    Sorry, we can't delete your comment right now. Please try again later.
    You've exceeded the maximum number of comments that can be left in one day. Please try again in 24 hours.
    Your account has had the ability to leave comments disabled because our systems indicate that you may be spamming other users. If you believe that your account has been disabled in error please contact Windows Live support.
    Complete the security check below to finish leaving your comment.
    The characters you type in the security check must match the characters in the picture or audio.

    To add a comment, sign in with your Windows Live ID (if you use Hotmail, Messenger, or Xbox LIVE, you have a Windows Live ID). Sign in


    Don't have a Windows Live ID? Sign up

    Trackbacks

    The trackback URL for this entry is:
    http://edwardtoday.spaces.live.com/blog/cns!A0532FA9C7CF57AB!2549.trak
    Weblogs that reference this entry
    • None