I use sphinx for postgres and run this query
SELECT id,weight FROM sphinx_select('sessionsearchsphinxidx','someword','', '', 0,50000,'ranker=wordcount')
I want to use this method in case when no search query is defined. So in other words I want to return all records without any filter. Is it possible?