Package org.apache.xindice.core.indexer

Examples of org.apache.xindice.core.indexer.LuceneIndexer.queryMatches()


                    //
                    // To make sure that all potentially matching documents are returned
                    // by the search, all subqueries with these operators are ignored
                    // on this step.
                    org.apache.lucene.search.Query parsedQuery = new SpecialQueryParser(alias, analyzer).parse(query);
                    IndexMatch[] matches = textInd.queryMatches(parsedQuery);
                    Key[] keys = QueryEngine.getUniqueKeys(matches);

                    return new NamedKeys(ps, ps.indexOf('@') != -1, keys);
                }
            } else {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.