123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391 |
- package marketanalysis
- type BWBuckets struct {
- Buyerterms struct {
- Buckets []struct {
- Key string `json:"key"`
- DocCount int `json:"doc_count"`
- } `json:"buckets"`
- } `json:"buyerterms"`
- Winnerterms struct {
- Buckets []struct {
- Key string `json:"key"`
- DocCount int `json:"doc_count"`
- } `json:"buckets"`
- } `json:"winnerterms"`
- }
- type marketTime struct {
- Thismarket struct {
- Buckets []marketBuckets `json:"buckets"`
- } `json:"thismarket"`
- Oldmarket struct {
- Buckets []marketBuckets `json:"buckets"`
- } `json:"oldmarket"`
- Monthtime struct {
- Buckets []Buckets `json:"buckets"`
- } `json:"monthtime"`
- Yeartime struct {
- Buckets []Buckets `json:"buckets"`
- } `json:"yeartime"`
- }
- type marketBuckets struct {
- ProjectCount struct {
- DocCount int `json:"doc_count"`
- } `json:"project_count"`
- ProjectAmount struct {
- Value float64 `json:"value"`
- } `json:"project_amount"`
- BuyerCount struct {
- Value int `json:"value"`
- } `json:"buyer_count"`
- WinnerCount struct {
- Value int `json:"value"`
- } `json:"winner_count"`
- ProjectAvgMoney struct {
- //DocCount int `json:"doc_count"`
- //AvgAmount struct {
- // Value float64 `json:"value"`
- //} `json:"avg_amount"`
- Value float64 `json:"value"`
- } `json:"project_avgMoney"`
- }
- type Buckets struct {
- Key string `json:"key"`
- From int `json:"from"`
- FromAsString string `json:"from_as_string"`
- To int `json:"to"`
- ToAsString string `json:"to_as_string"`
- DocCount int `json:"doc_count"`
- ScaleTotal struct {
- DocCount int `json:"doc_count"`
- } `json:"scale_total"`
- ScaleAmount struct {
- Value float64 `json:"value"`
- } `json:"scale_amount"`
- }
- type AreaCTop struct {
- ProjectCount struct {
- DocCount int `json:"doc_count"`
- } `json:"project_count"`
- Total int64 `json:"doc_count"`
- CountNot0 struct {
- Count int64 `json:"doc_count"`
- } `json:"project_count_not0"`
- Amount struct {
- Value float64 `json:"value"`
- } `json:"project_amount"`
- SortpriceRanges struct {
- Buckets []struct {
- Name string `json:"key"`
- Total int64 `json:"doc_count"`
- SumSortprice struct {
- Value float64 `json:"value"`
- } `json:"sum_sortprice"`
- }
- } `json:"sortprice_ranges"`
- AreaDistribution struct {
- Buckets []struct {
- Area string `json:"key"`
- AreaTotal int64 `json:"doc_count"`
- AreaAmount struct {
- Value float64 `json:"value"`
- } `json:"area_amount"`
- BuyclassAmount struct {
- Value float64 `json:"value"`
- } `json:"buyerclass_amount"`
- CityGroup struct {
- Buckets []struct {
- City string `json:"key"`
- CityTotal int64 `json:"doc_count"`
- CityAmount struct {
- Value float64 `json:"value"`
- } `json:"city_amount"`
- }
- } `json:"city_group"`
- }
- } `json:"area_distribution"`
- BuyerclassScale struct {
- Buckets []struct {
- Area string `json:"key"`
- AreaTotal int64 `json:"doc_count"`
- AreaAmount struct {
- Value float64 `json:"value"`
- } `json:"area_amount"`
- BuyclassAmount struct {
- Value float64 `json:"value"`
- } `json:"buyerclass_amount"`
- }
- } `json:"buyerclass_scale"`
- BuyerclassScaleOther struct {
- Buckets []struct {
- Area string `json:"key"`
- AreaTotal int64 `json:"doc_count"`
- AreaAmount struct {
- Value float64 `json:"value"`
- } `json:"area_amount"`
- BuyclassAmount struct {
- Value float64 `json:"value"`
- } `json:"buyerclass_amount"`
- }
- } `json:"buyerclass_scale_other"`
- AreaAmountTop3 struct {
- Buckets []struct {
- Key string `json:"key"`
- Total int64 `json:"doc_count"`
- AreaAmount struct {
- Amount float64 `json:"value"`
- } `json:"area_amount"`
- WinnerTop struct {
- Buckets []struct {
- Winner string `json:"key"`
- WinnerTotal int64 `json:"doc_count"`
- WinnerAmount struct {
- Amount float64 `json:"value"`
- } `json:"area_winner_amount"`
- ProjectDetail struct {
- Hits struct {
- Hits []struct {
- Source struct {
- Entidlist []string `json:"entidlist"`
- SWinner string `json:"s_winner"`
- } `json:"_source"`
- }
- }
- } `json:"project_detail"`
- }
- } `json:"winner_top"`
- }
- } `json:"area_amount_top3"`
- AreaCountTop3 struct {
- Buckets []struct {
- Area string `json:"key"`
- Total int64 `json:"doc_count"`
- WinnerTop struct {
- Buckets []struct {
- Winner string `json:"key"`
- WinnerTotal int64 `json:"doc_count"`
- ProjectDetail struct {
- Hits struct {
- Hits []struct {
- Source struct {
- Entidlist []string `json:"entidlist"`
- SWinner string `json:"s_winner"`
- } `json:"_source"`
- }
- }
- } `json:"project_detail"`
- }
- } `json:"winner_top"`
- }
- } `json:"area_count_top3"`
- BuyclassAmountTop3 struct {
- Buckets []struct {
- Key string `json:"key"`
- Total int64 `json:"doc_count"`
- AreaAmount struct {
- Amount float64 `json:"value"`
- } `json:"buyerclass_amount"`
- WinnerTop struct {
- Buckets []struct {
- Winner string `json:"key"`
- WinnerTotal int64 `json:"doc_count"`
- WinnerAmount struct {
- Amount float64 `json:"value"`
- } `json:"buyer_winner_amount"`
- ProjectDetail struct {
- Hits struct {
- Hits []struct {
- Source struct {
- Entidlist []string `json:"entidlist"`
- SWinner string `json:"s_winner"`
- } `json:"_source"`
- }
- }
- } `json:"project_detail"`
- }
- } `json:"winner_top"`
- }
- } `json:"buyerclass_amount_top3"`
- BuyclassCountTop3 struct {
- Buckets []struct {
- Buyclass string `json:"key"`
- Total int64 `json:"doc_count"`
- BidcountTop struct {
- Buckets []struct {
- Winner string `json:"key"`
- WinnerTotal int64 `json:"doc_count"`
- ProjectDetail struct {
- Hits struct {
- Hits []struct {
- Source struct {
- Entidlist []string `json:"entidlist"`
- SWinner string `json:"s_winner"`
- } `json:"_source"`
- }
- }
- } `json:"project_detail"`
- }
- } `json:"bidcount_top"`
- }
- } `json:"buyerclass_count_top3"`
- }
- type BuyerWinnerRow struct {
- BuyerAmountDistribution struct {
- Buckets []struct {
- Key string `json:"key"`
- DocCount int `json:"doc_count"`
- Amount struct {
- Value float64 `json:"value"`
- } `json:"amount"`
- } `json:"buckets"`
- } `json:"buyer_amount_distribution"`
- ProjectAmount struct {
- Value float64 `json:"value"`
- } `json:"project_amount"`
- BuyerCountTop3 struct {
- Buckets []struct {
- Key string `json:"key"`
- BuyerCount struct {
- //Value int64 `json:"value"`
- Value int64 `json:"doc_count"`
- } `json:"buyer_count"`
- SWinnerTop struct {
- Buckets []struct {
- Key string `json:"key"`
- DocCount int64 `json:"doc_count"`
- ProjectDetail struct {
- Hits struct {
- Total int `json:"total"`
- MaxScore int `json:"max_score"`
- Hits []struct {
- Source struct {
- Entidlist []string `json:"entidlist"`
- SWinner string `json:"s_winner"`
- } `json:"_source"`
- } `json:"hits"`
- } `json:"hits"`
- } `json:"project_detail"`
- BuyerWinnerAmount struct {
- //Value int64 `json:"value"`
- Value int64 `json:"doc_count"`
- } `json:"buyer_winner_count"`
- } `json:"buckets"`
- Value float64 `json:"value"`
- } `json:"s_winner_top"`
- } `json:"buckets"`
- } `json:"buyer_count_top3"`
- BuyerAmountTop3 struct {
- Buckets []struct {
- Key string `json:"key"`
- BuyerAmount struct {
- Value float64 `json:"value"`
- } `json:"buyer_amount"`
- SWinnerTop struct {
- Buckets []struct {
- Key string `json:"key"`
- DocCount int64 `json:"doc_count"`
- ProjectDetail struct {
- Hits struct {
- Total int `json:"total"`
- MaxScore int `json:"max_score"`
- Hits []struct {
- Source struct {
- Entidlist []string `json:"entidlist"`
- SWinner string `json:"s_winner"`
- } `json:"_source"`
- } `json:"hits"`
- } `json:"hits"`
- } `json:"project_detail"`
- BuyerWinnerAmount struct {
- Value float64 `json:"value"`
- } `json:"buyer_winner_amount"`
- } `json:"buckets"`
- Value float64 `json:"value"`
- } `json:"s_winner_top"`
- } `json:"buckets"`
- } `json:"buyer_amount_top3"`
- WinnerAmountDistribution struct {
- EntidlistTerms struct {
- Buckets []struct {
- Key string `json:"key"`
- Amount struct {
- Value float64 `json:"value"`
- } `json:"amount"`
- } `json:"buckets"`
- } `json:"entidlist_terms"`
- } `json:"winner_amount_distribution"`
- WinnerCountTop3 struct {
- SWinnerCount []struct {
- Key string `json:"key"`
- ProjectDetail struct {
- Hits struct {
- Total int `json:"total"`
- MaxScore int `json:"max_score"`
- Hits []struct {
- Id string `json:"_id"`
- Source struct {
- Entidlist []string `json:"entidlist"`
- SWinner string `json:"s_winner"`
- } `json:"_source"`
- } `json:"hits"`
- } `json:"hits"`
- } `json:"project_detail"`
- BuyerCount struct {
- //Value int64 `json:"value"`
- Value int64 `json:"doc_count"`
- } `json:"s_winner_count"`
- BuyerTop struct {
- Buckets []struct {
- Key string `json:"key"`
- DocCount int64 `json:"doc_count"`
- BuyerWinnerAmount struct {
- //Value int64 `json:"value"`
- Value int64 `json:"doc_count"`
- } `json:"buyer_winner_count"`
- } `json:"buckets"`
- Value float64 `json:"value"`
- } `json:"buyer_top"`
- } `json:"buckets"`
- } `json:"winner_count_top3"`
- WinnerAmountTop3 struct {
- SWinnerAmount []struct {
- Key string `json:"key"`
- ProjectDetail struct {
- Hits struct {
- Total int `json:"total"`
- MaxScore int `json:"max_score"`
- Hits []struct {
- Source struct {
- Entidlist []string `json:"entidlist"`
- SWinner string `json:"s_winner"`
- } `json:"_source"`
- } `json:"hits"`
- } `json:"hits"`
- } `json:"project_detail"`
- SWinnerAmount struct {
- Value float64 `json:"value"`
- } `json:"s_winner_amount"`
- BuyerTop struct {
- Buckets []struct {
- Key string `json:"key"`
- DocCount int64 `json:"doc_count"`
- BuyerWinnerAmount struct {
- Value float64 `json:"value"`
- } `json:"buyer_winner_amount"`
- } `json:"buckets"`
- Value float64 `json:"value"`
- } `json:"buyer_top"`
- } `json:"buckets"`
- } `json:"winner_amount_top3"`
- }
- type distributionTrend struct {
- Key string
- Count int
- Amount float64
- }
|