usc-isi-i2 / digapp-ht

Copy of dig-polymer for new data set
Other
0 stars 2 forks source link

Offer not showing for web page #1

Closed dkapoor closed 8 years ago

dkapoor commented 8 years ago

http://localhost:5009/webpage.html?value=http://dig.isi.edu/ht/data/webpage/00747DB7D58909A347CECC61E8F13FC550089ACD22DB87369FC0E699A0C60F9E&field=_id

The offers section is empty. The query does return an offer for this page

curl -X POST -H "Authorization: Basic <private password>" -H "Content-Type: application/json" -H "Cache-Control: no-cache" -H "Postman-Token: d32c1d05-eab2-1265-1596-590dfb0cda73" -d '{
    "query": {
        "ids" : {
            "values" : [
                "http://dig.isi.edu/ht/data/webpage/00747DB7D58909A347CECC61E8F13FC550089ACD22DB87369FC0E699A0C60F9E"
            ]
        }
    }
}
' "http://52.39.180.16:8080/dig-latest/webpage/_search"
dkapoor commented 8 years ago

@dkapoor here is one place to start investigating the queries in the app. Looping @saggu too

dkapoor commented 8 years ago

The offer http://dig.isi.edu/ht/data/offer/00747DB7D58909A347CECC61E8F13FC550089ACD22DB87369FC0E699A0C60F9E for this webpage is not present in the "offer" type.

The UI fires a query to get the offers and doesnt get back anything in this case. The data issue could be because of what @saggu mentioned about data getting lost when he loaded into AWS

dkapoor commented 8 years ago

It shows up now