Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
courses:cs335:spring2019:graffiti:documentation [2019/05/16 19:26] โ€“ [Loading Data into the Database Through EpiDocs] stalnakertcourses:cs335:spring2019:graffiti:documentation [2019/05/17 16:30] (current) โ€“ wenz
Line 54: Line 54:
  
 Loading the data representing the Smyrna graffiti is as easy as clicking a button.  Simply open ReadFromEpidoc.java and run it as a java application.  In the terminal window, you will see output statements detailing the progress of the import.  If there were to be an issue, these outputs are a great resource for the user.  Under the hood, ReadFromEpidoc iterates through all of the files in the smyrna_epidocs directory and parses them.  As it parses it saves key information, such as the graffito's id or its findspot, and saves it in the database.  More specific information on parsing can be found here:  [[https://wlu.app.box.com/notes/191721659898 | EpiDoc Conventions]].  Once all of the new data has been loaded into the database, the user must then run AddInscriptionsToElasticSearch.java as a java application.  This will set up Elastic Search and enable the new graffiti to appear in search results.  With those simple steps, all the EpiDoc-ed graffiti should now be visible on the site. Loading the data representing the Smyrna graffiti is as easy as clicking a button.  Simply open ReadFromEpidoc.java and run it as a java application.  In the terminal window, you will see output statements detailing the progress of the import.  If there were to be an issue, these outputs are a great resource for the user.  Under the hood, ReadFromEpidoc iterates through all of the files in the smyrna_epidocs directory and parses them.  As it parses it saves key information, such as the graffito's id or its findspot, and saves it in the database.  More specific information on parsing can be found here:  [[https://wlu.app.box.com/notes/191721659898 | EpiDoc Conventions]].  Once all of the new data has been loaded into the database, the user must then run AddInscriptionsToElasticSearch.java as a java application.  This will set up Elastic Search and enable the new graffiti to appear in search results.  With those simple steps, all the EpiDoc-ed graffiti should now be visible on the site.
 +
 +==== Updages to the Admin Tools: Ignore List Function ====
 +
 +The Ignore List Function (previously refered to as the "black list") has been fully implemented under the Admin Tools tab. In order to access this function, the user will need to first authenticate through the admin login page. The final use case is where the user is able to choose what items can be displayed in the index by simplying selecting items from the Ignore List page and perform corresponding actions. The page layouts shows three boxs (from left to right): items that should be displayed, items that are displayed but still require further review, and items that should be ignore and not displayed. User can move items between tables easily using the buttons implemented. There is also a search bar on top of each table that allow users to access items more easily.
 +
 +In order to load up the funciton, simply run modifyIgnoreList.jsp on the server. In order to check the database, use Professor Sprenkle's instruction to access the database on the servo. The JSP sends the query into the database to retrieve the items and sort them in alphabetical order.
courses/cs335/spring2019/graffiti/documentation.1558034760.txt.gz ยท Last modified: 2019/05/16 19:26 by stalnakert
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0