Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Corrected some spellings! #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ To add or remove fields from your list of search results, open the appropriate h
To add a field, add an Angular expression of the object's property to the page, plus additional elements that will display your field. Use the other elements in the page as reference.
eg. ``<p>{{doc.name}}</p>`` to add the field "name" of the respective search result.

To remove a field, exlpore the ``<div>`` container for the field you are looking to delete, and remove the Angular expression plus any related elements,
To remove a field, explore the ``<div>`` container for the field you are looking to delete, and remove the Angular expression plus any related elements,
eg. You can delete ``<p>{{doc.location}}</p>`` so the "location" field no longer appears in your search results.


Expand Down Expand Up @@ -36,7 +36,7 @@ documents.html is a demo page that contains many elements that use different con
searchbox.html is a demo page that is strictly for testing searchbox functionality and related controllers. It does not have any facet filters and utilizes limited styling. Use this page to make sure that search results are populated with expected results.

# Overview of Service (solr.js)
solr.js is the javascript file that handles Solr search requests. This includes query creation, facet creation, and attribute retrival from Solr objects. The file can be located in ``app\js\solr-ajax\services\solr.js``.
solr.js is the javascript file that handles Solr search requests. This includes query creation, facet creation, and attribute retrieval from Solr objects. The file can be located in ``app\js\solr-ajax\services\solr.js``.

Important variables:
_self.excludeFromHash_ - an array of strings that should be excluded from the hash of the URL
Expand Down Expand Up @@ -116,4 +116,4 @@ The Solr collection will automatically point to the ``$staging_url`` and ``$stag
Otherwise, the Solr collection will use ``$prod_url`` and ``$prod_coll``, both defined at the start of the file.

If you want to manually override this behavior, change the value of ``$url = str_replace("{selected_coll}", $selected_coll, $selected_url)``,
eg. ``$url = str_replace("{selected_coll}", "staging_post", $selected_url)``
eg. ``$url = str_replace("{selected_coll}", "staging_post", $selected_url)``