How fares-ahmed-saeed/informationretrievalsimpleproject works
Project Type and Purpose
• This is a lightweight, 100% client-side Information Retrieval (IR) web application.
• Users open index.html in a browser, enter Boolean search queries, and immediately see matching results from a built-in corpus of 33 documents (Arabic/English).
File Structure Analysis
• index.html: semantic HTML defines the search input, result container, dark-mode toggle, and document snippets.
• style.css: responsive styles, RTL support for Arabic text, light/dark theme rules.
• main.js: IR engine (live filtering via JavaScript’s includes()), UI interactivity (listening to keypress, button click, theme-toggle).
• README.md: describes features, tech stack, no external dependencies, 100% front-end.
Details to Capture
• The Search Input triggers three event types: keyup, button click, Enter key
• The Boolean retrieval is implemented via JavaScript’s includes() on title/content strings
• Responsive/CSS features (RTL vs. LTR, dark vs. light) are purely style rules toggled by JS