I have 4 query search fields.
case 1 : if i use one search
field to make a query filter and then use the query filter to search on
other 3 fields so as to reduce the searching docs subset.
case 2: i use
all query parameters using boolean query , whole of index will be searched.
Which of the two approach will give better performance.Or is there ne
other approach to do this .
Can we use subset of documents , for
Lets say I have hash map of
P2 - 3,4,5
Now I have an documents in lucene index stored as
when i search
docs with P2 I get 3,4,5
Now I want my search to b restricted to just
3,4,5 doc only. where by I can search only these docs for further
1. How to go abt it.
2. Is there any other seraching
mechanism I should use, or Lucene is better fit?
3. should i keep my hash
map also in lucene indexes and is then thr a method to link it to another