Hi list, can anyone give some hints about removing duplicates from a MultiPhraseQuery?
I have the list with: List<Term[]> termarray = (MultiPhraseQuery) myquery).getTermArrays(); But the lucene javadocs have only add, no remove or delete. Only idea so far is to build a temporary MultiPhraseQuery and iterate with each termarray. Makes worst case O(n^2). Any idea? Regards Bernd --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
