Couldn't you simply use QueryFilter/FilteredQuery and pass it to the query method as a "native query object"?
-----Original Message----- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Mattias Persson Sent: Wednesday, July 13, 2011 9:05 AM To: Neo4j user discussions Cc: h...@neo4j.org Subject: Re: [Neo4j] how setup lucene fulltext search filter 2011/7/13 Balazs E. Pataki <pat...@dsd.sztaki.hu> > Passing a Filter would be great, because in many cases I can decide > based on Lucene Documents (indexed fields), which objects I need as > Nodes (and selecting/filtering/sorting Documents is much faster than > first turning each Document to a Node and then sorting/filtering the nodes) > > But as Edgar pointed out, it isn't seemed to be supported. It should be > easy to add: it could be a simple configuration option like the "analyzer". > > Are there plans to add something like this? (Asking the neotechnology > wizzards. :-) ) > That could very well be added, there just hasn't been a call for it yet... until now. I'm redirecting this thread into our support discussion forum. > --- > balazs > > On 7/12/11 3:42 PM, 刘运杰 wrote: > > I like to filter fulltext search result,but don't kown where to set > lucene search filter. > > > > > > I notice file LuceneIndex.java , > > line 355, > > Hits hits = new Hits( searcher, query, null, sorting, forceScore ); > > line 370, > > Hits hits = new Hits( additionsSearcher, query, null ); > > > > > > all pass null for filter. > > > > > > So Neo4j disable lucene search filter? > > how setup lucene fulltext search filter? > > > > > > Thanks in advance. > > > > > > Edgar, > > _______________________________________________ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user