Or we could add something like this (more generic of course) in the implementation... I don't know
2010/1/12 Peter Neubauer <[email protected]>: > Cool, er should have that on the wiki, too methinks. > > /peter > > Sent from my cellphone, please excuse typos and the gmail sender address. > > On Jan 12, 2010 8:06 PM, "Mattias Persson" <[email protected]> > wrote: > > Lucene supports *something*, but not from the query syntax (how odd is > that?)... what you can do is to subclass > LuceneFulltextQueryIndexService and @Override the formQuery method > with something like: > > �...@override > protected Query formQuery( String key, Object value ) > { > if ( value instanceof org.apache.lucene.search.Query ) > { > return ( Query ) value; > } > else > { > return super.formQuery( key, value ); > } > } > > and call your subclassed instance using: > > IndexService index = new MyFulltextIndexService( neo ); > index.getNodes( "myKey", new WildcardQuery( new Term( "myKey", > "*something*" ) ) ); > > That should work (WildcardQuery and Term are lucene classes). > > 2010/1/12 Zerony Zhao <[email protected]>: > >> Hi, > > Now we have a solution on numeric searching. Would someone comment > on > leading wildcard u... > -- > Mattias Persson, [[email protected]] > Neo Technology, www.neotechnology.com > > _______________________________________________ Neo mailing list > [email protected] https://lists.... > _______________________________________________ > Neo mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > -- Mattias Persson, [[email protected]] Neo Technology, www.neotechnology.com _______________________________________________ Neo mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

