Hi there, happy new year

I'm trying to work on a new search extension.
i'd like to be able (in frontend) to choose on which page to search.
i used the typolight search module, and try to add this feature to do my own ext.
i manage with the API to get all pages (getChilRecords, getPageDetails, ...).
But now i'm a bit lost in this module.
Does someone got advices or tips on doing that ?
thanks !