![Dan Stillman](/assets/img/avatar_default.png)
There are currently two types of fulltext searching: an SQL-based word index and a file scanner. They each have their advantages and drawbacks. The word index is very fast to search and is currently used for the find-as-you-type quicksearch. However, indexing files takes some time, so we should probably offer a preference to turn it off ("Index attachment content for quicksearch" or something). There's also an issue with Chinese characters (which are indexed by character rather than word, since there are no spaces to go by, so a search for a word with common characters could produce erroneous results). The quicksearch doesn't use a left-bound index (since that would probably upset German speakers searching for "musik" in "nachtmusik," though I don't know for sure how they think of words) but still seems pretty fast. * Note: There will be a potentially long delay when you start Firefox with this revision as it builds a fulltext word index of your existing items. We obviously need a notification/option for this. * The file scanner, used in the Attachment Content condition of the search dialog, offers phrase searching as well as regex support (both case-sensitive and not, and defaulting to multiline). It doesn't require an index, though it should probably be optimized to use the word index, if available, for narrowing the results when not in regex mode. (It does only scan files that pass all the other search conditions, which speeds it up considerably for multi-condition searches, and skips non-text files unless instructed otherwise, but it's still relatively slow.) Both convert HTML to text before searching (with the exception of the binary file scanning mode). There are some issues with which files get indexed and which don't that we can't do much about and that will probably confuse users immensely. Dan C. suggested some sort of indicator (say, a green dot) to show which files are indexed. Also added (very ugly) charset detection (anybody want to figure out getCharsetFromString(str)?), a setTimeout() replacement in the XPCOM service, an arrayToHash() method, and a new header to timedtextarea.xml, since it's really not copyright CHNM (it's really just a few lines off from the toolkit timed-textbox binding--I tried to change it to extend timed-textbox and just ignore Return keypress events so that we didn't need to duplicate the Mozilla code, but timed-textbox's reliance on html:input instead of html:textarea made things rather difficult). To do: - Pref/buttons to disable/clear/rebuild fulltext index - Hidden prefs to set maximum file size to index/scan - Don't index words of fewer than 3 non-Asian characters - MRU cache for saved searches - Use word index if available to narrow search scope of fulltext scanner - Cache attachment info methods - Show content excerpt in search results (at least in advanced search window, when it exists) - Notification window (a la scraping) to show when indexing - Indicator of indexed status - Context menu option to index - Indicator that a file scanning search is in progress, if possible - Find other ways to make it index the NYT front page in under 10 seconds - Probably fix lots of bugs, which you will likely start telling me about...now.
138 lines
No EOL
6.2 KiB
INI
138 lines
No EOL
6.2 KiB
INI
pane.collections.delete = Are you sure you want to delete the selected collection?
|
|
pane.collections.deleteSearch = Are you sure you want to delete the selected search?
|
|
pane.collections.name = Collection name:
|
|
pane.collections.rename = Rename collection:
|
|
pane.collections.library = My Library
|
|
pane.collections.untitled = Untitled
|
|
|
|
pane.items.delete = Are you sure you want to delete the selected item?
|
|
pane.items.delete.multiple = Are you sure you want to delete the selected items?
|
|
pane.items.delete.title = Delete
|
|
pane.items.delete.attached = Erase attached notes and files
|
|
pane.items.menu.remove = Remove Selected Item...
|
|
pane.items.menu.remove.multiple = Remove Selected Items...
|
|
pane.items.menu.export = Export Selected Item...
|
|
pane.items.menu.export.multiple = Export Selected Items...
|
|
pane.items.menu.createBib = Create Bibliography From Selected Item...
|
|
pane.items.menu.createBib.multiple = Create Bibliography From Selected Items...
|
|
|
|
pane.item.selected.zero = No items selected
|
|
pane.item.selected.multiple = %1 items selected
|
|
|
|
pane.item.changeType = Are you sure you want to change the item type? Certain fields may be lost.
|
|
pane.item.defaultFirstName = first
|
|
pane.item.defaultLastName = last
|
|
pane.item.defaultFullName = full name
|
|
pane.item.notes.untitled = Untitled Note
|
|
pane.item.notes.delete.confirm = Are you sure you want to delete this note?
|
|
pane.item.notes.count.singular = %1 note
|
|
pane.item.notes.count.plural = %1 notes
|
|
pane.item.attachments.view.link = View Page
|
|
pane.item.attachments.view.file = View File
|
|
pane.item.attachments.delete.confirm = Are you sure you want to delete this attachment?
|
|
pane.item.attachments.count.singular = %1 attachment
|
|
pane.item.attachments.count.plural = %1 attachments
|
|
pane.item.attachments.select = Select a File
|
|
|
|
itemFields.title = Title
|
|
itemFields.dateAdded = Date Added
|
|
itemFields.dateModified = Modified
|
|
itemFields.source = Source
|
|
itemFields.rights = Rights
|
|
itemFields.notes = Notes
|
|
itemFields.series = Series
|
|
itemFields.seriesNumber = Series Number
|
|
itemFields.seriesTitle = Series Title
|
|
itemFields.seriesText = Series Text
|
|
itemFields.volume = Volume
|
|
itemFields.issue = Issue
|
|
itemFields.edition = Edition
|
|
itemFields.place = Place
|
|
itemFields.publisher = Publisher
|
|
itemFields.pages = Pages
|
|
itemFields.ISBN = ISBN
|
|
itemFields.publicationTitle = Publication
|
|
itemFields.ISSN = ISSN
|
|
itemFields.date = Date
|
|
itemFields.section = Section
|
|
itemFields.accessionNumber = Accession No
|
|
itemFields.archiveLocation = Location in Archive
|
|
itemFields.medium = Medium
|
|
itemFields.distributor = Distributor
|
|
itemFields.url = URL
|
|
itemFields.type = Type
|
|
itemFields.callNumber = Call Number
|
|
itemFields.extra = Extra
|
|
itemFields.journalAbbreviation = Journal Abbr
|
|
itemFields.DOI = DOI
|
|
itemFields.accessDate = Accessed
|
|
|
|
|
|
itemTypes.note = Note
|
|
itemTypes.book = Book
|
|
itemTypes.bookSection = Book Section
|
|
itemTypes.journalArticle = Journal Article
|
|
itemTypes.magazineArticle = Magazine Article
|
|
itemTypes.newspaperArticle = Newspaper Article
|
|
itemTypes.thesis = Thesis
|
|
itemTypes.letter = Letter
|
|
itemTypes.manuscript = Manuscript
|
|
itemTypes.interview = Interview
|
|
itemTypes.film = Film
|
|
itemTypes.artwork = Artwork
|
|
itemTypes.website = Website
|
|
itemTypes.attachment = Attachment
|
|
|
|
creatorTypes.author = Author
|
|
creatorTypes.contributor = Contributor
|
|
creatorTypes.editor = Editor
|
|
creatorTypes.translator = Translator
|
|
|
|
ingester.scraping = Saving Item...
|
|
ingester.scrapeComplete = Item Saved.
|
|
ingester.scrapeError = Could Not Save Item.
|
|
ingester.scrapeErrorDescription = An error occurred while saving this item. Please try again. If this error persists, contact the translator author.
|
|
|
|
db.dbCorruptedNoBackup = The Zotero database appears to have become corrupted, and no automatic backup is available.\n\nA new database file has been created. The damaged file was saved in your Zotero directory.
|
|
db.dbRestored = The Zotero database appears to have become corrupted.\n\nYour data was restored from the last automatic backup made on %1 at %2. The damaged file was saved in your Zotero directory.
|
|
db.dbRestoreFailed = The Zotero database appears to have become corrupted, and an attempt to restore from the last automatic backup failed.\n\nA new database file has been created. The damaged file was saved in your Zotero directory.
|
|
|
|
fileInterface.itemsImported = Importing items...
|
|
fileInterface.itemsExported = Exporting items...
|
|
fileInterface.import = Import
|
|
fileInterface.export = Export
|
|
fileInterface.exportedItems = Exported Items
|
|
fileInterface.imported = Imported
|
|
fileInterface.fileFormatUnsupported = No translator could be found for the given file.
|
|
fileInterface.untitledBibliography = Untitled Bibliography
|
|
fileInterface.bibliographyHTMLTitle = Bibliography
|
|
fileInterface.importError = An error occurred while trying to import the selected file. Please ensure that the file is valid and try again.
|
|
fileInterface.noReferencesError = The items you have selected contain no references. Please select one or more references and try again.
|
|
fileInterface.bibliographyGenerationError = An error occurred generating your bibliography. Please try again.
|
|
fileInterface.exportError = An error occurred while trying to export the selected file.
|
|
|
|
searchOperator.is = is
|
|
searchOperator.isNot = is not
|
|
searchOperator.contains = contains
|
|
searchOperator.doesNotContain = does not contain
|
|
searchOperator.isLessThan = is less than
|
|
searchOperator.isGreaterThan = is greater than
|
|
searchOperator.isBefore = is before
|
|
searchOperator.isAfter = is after
|
|
|
|
searchConditions.collectionID = Collection
|
|
searchConditions.itemTypeID = Item Type
|
|
searchConditions.tag = Tag
|
|
searchConditions.note = Note
|
|
searchConditions.creator = Creator
|
|
searchConditions.thesisType = Thesis Type
|
|
searchConditions.dateModified = Date Modified
|
|
searchConditions.fulltextContent = Attachment Content
|
|
|
|
exportOptions.exportNotes = Export Notes
|
|
exportOptions.exportFileData = Export Files
|
|
|
|
date.daySuffixes = st, nd, rd, th
|
|
|
|
citation.multipleSources = Multiple Sources...
|
|
citation.singleSource = Single Source... |