GithubHelp home page GithubHelp logo

lucene-facets-benchmark's Introduction

Lucene Facets Benchmark

Performance comparison between SSDVFF and Taxonomy implementations

Config file format

{
  "mode": "QUERY",
  "indexType": "SSDVFF",
  "cycles": 1,
  "concurrency": 4,
  "enableMergeScheduler": true,
  "allFieldsMultivalue": false,
  "commitBuffer": 100000,
  "querySampleSize": 50,
  "queryPageSize": 10,
  "mandatoryQueryDimensions": ["country"],
  "queryTypes": ["DRILLDOWN", "DRILLSIDEWAYS"],
  "resourceFilePath": "/tmp/data/resource.json",
  "indexPath": "/tmp/data/lucene",
  "metricsReportIntervalSec": 20
}
Example resource file

[{ 
    "_id" : "606fc56504fc40425d1b225d", 
    "geometry" : {
        "type" : "Point", 
        "coordinates" : [
            11.261314413194068, 
            43.779967029995476
        ]
    }, 
    "data" : {
        "updated_date" : "2020-06-19", 
        "city" : "Florence", 
        "calculated_host_listings_count" : 1, 
        "reviews_per_month" : 2.42, 
        "minimum_nights" : 2, 
        "number_of_reviews" : 132, 
        "last_review" : "2020-01-29", 
        "host_id" : 42112573, 
        "availability_365" : 270, 
        "room_type" : "Entire home/apt", 
        "neighbourhood" : "Centro Storico", 
        "name" : "ELEGANT FLAT FLORENCE CITY CENTER", 
        "country" : "Italy", 
        "location" : "Italy, Florence, Centro Storico", 
        "price" : 120, 
        "house_rules" : [
            "No smoking", 
            "No pets", 
            "No parties or events"
        ], 
        "health_safety" : [
            "Smoke alarm", 
            "AC", 
            "Heater"
        ], 
        "availability" : "HIGH", 
        "amenities" : {
            "general" : [
                "Air conditioning", 
                "Board games", 
                "Portable fans", 
                "Cooking basics", 
                "Dishwasher", 
                "Microwave", 
                "Washer", 
                "Barbecue utensils", 
                "Coffee maker", 
                "Stove", 
                "Heating", 
                "Private entrance", 
                "Hot water kettle", 
                "Pack 'n Play/travel crib", 
                "Laundromat nearby"
            ], 
            "bathroom" : [
                "Clothing storage: closet", 
                "Hair dryer", 
                "Cleaning products", 
                "Shampoo", 
                "Bathtub"
            ], 
            "bedroom" : [
                "Hangers", 
                "Iron"
            ], 
            "outdoor" : [
                "Backyard", 
                "Outdoor dining area", 
                "Lockbox", 
                "Fire pit", 
                "Free parking on premises"
            ], 
            "accessibility" : [
                "Wide entrance for guests", 
                "Step-free path to entrance", 
                "No stairs or steps to enter", 
                "Shower chair", 
                "Step-free shower"
            ]
        }, 
        "reviews_top_categories" : [
            "Cleanliness", 
            "Accuracy", 
            "Value"
        ], 
        "highlights" : [
            "Free parking", 
            "Dedicated workspace", 
            "Superhost", 
            "Entire home", 
            "Fireplace", 
            "Enhanced Clean"
        ], 
        "cancellation_policy" : "strict", 
        "listing_type" : "bed and breakfast", 
        "host_type" : "hotel", 
        "booking_requirements" : "prepayment", 
        "host_language" : "english", 
        "location_tags" : [
            "beach", 
            "woods", 
            "desert", 
            "lake", 
            "sun", 
            "sea"
        ], 
        "eco_friendly" : false, 
        "instant_book" : true, 
        "design_tags" : [
            "dutch", 
            "greek", 
            "spanish", 
            "industrial", 
            "provincial", 
            "tree house"
        ], 
        "beds_count" : 6, 
        "bathrooms_count" : 2, 
        "bedrooms_count" : 1, 
        "legal" : {
            "ownership_type" : "Community property", 
            "mortgage_property" : true
        }
    }
}]

Build and run

maven clean install
java -XX:StartFlightRecording=dumponexit=true -jar target/lucene-facets-benchmark-1.0.0-jar-with-dependencies.jar /home/user/config.json

lucene-facets-benchmark's People

Contributors

sqshq avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.