Comments (9)
Search votes is rewired, although it now is showing votes for rollcalls that don't have nominate fields, which used to be hidden. Default should be hide these from the search page because we should at least have conditionally estimated nominates within a few hours of any new votes being added to the db.
The vote pages work (if the nominate data exists). However, the links to member pages are broken.
Please note that I wrote a generic function to waterfall in views/search_list.tpl called waterfall. That might need to go somewhere else if we want to use it for the vote page as well.
from webvoteview.
Okay, I'm updating the original post here with the field names we need to fix.
from webvoteview.
This issue should also not be closed until all of the user-facing documentation is updated.
from webvoteview.
I believe we have two outstanding index issues here:
- The fulltext index was set up for just description. I corrected this, but the build script should probably be updated to reflect the actual intent.
- The sparse index for key_flags is not set up at all.
Other than that the schema move was a success.
from webvoteview.
The sparse index thing is still weird--I don't think it can be done in pymongo, so we overrode it with a javascript file that mongo runs directly in build_edits.sh.
@adamboche Where are the main indexes being built now? Probably somewhere in ingestion? We should ensure we all know where so as we update our fulltext indexing strategy it's all set up properly.
from webvoteview.
Post-launch, we need to deal with the fulltext thing.
from webvoteview.
from webvoteview.
from webvoteview.
Isn't this going to index a massive amount of garbage?
from webvoteview.
Related Issues (20)
- Congress page doesn't load HOT 1
- Parties at a glance should hide minor parties by default
- Fix party page for party 328 (independent) -- JS error [python3 only]
- Add congress codes to metadata
- Brush to select on Congress DW-NOMINATE plot shows NaN when selecting far-right
- Wikipedia key vote not an option on search facets
- Check or update service dates HOT 1
- Rewrite JS in modern-ish (ES6 or newer) Javascript
- Better link previews for rollcall votes
- Party bios should support HTML
- Trump vote on Gorsuch may be wrong
- Map download colors missing HOT 1
- Bulk vote download problem
- More friendly 500 error page
- Downloading zoomed map HOT 1
- Data downloads all 404 HOT 4
- Show member departures
- Add issue codes to csv files
- Scalia confirmation vote
- Load 97th Congress bill numbers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webvoteview.