i created a full text index on "documents" table
my documents table look like
id,title,content etc...
1, 'title1,simple content for yaniv oshri edit on November 2013
2, 'title2,hana content
the full text index $TA_documents look like
id,TA_TOKEN,TA_NORMALIZED,etc..
1, PERSON , yaniv
1, PERSON , oshri
1, YEAR , 2013
1 , DATE , November
2, PERSON , yaniv
2, YEAR , 2010
2' DATE ,November
i would like to search on the $TA_documents table with multiple filters(more then two filters)
for example
search for all documents that containe content = 'hana'
and filter by docs that have person named 'Yaniv' and in year '2013' and date is 'November'
or
all documents with person names 'yaniv' in "November'
how and what is the best way to search for content with filters ?
can be a lot of filters in the $TA table and also huge content and documents in the main table (documents)
so i need the best solution that will take care for the performance