lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "haiwei.xie-soulinfo" <haiwei....@soulinfo.com>
Subject Search "_all" field with a term
Date Sat, 11 Oct 2014 03:09:32 GMT
hi all,
   
    Does lucene support all fields with a term?  Can I use "_all" intead "fieldname"?

   As Lucene's APIs example code:
     ...
    // Parse a simple query that searches for "text":
    QueryParser parser = new QueryParser(Version.LUCENE_CURRENT, "fieldname", analyzer);
    Query query = parser.parse("text");
     ...
   
Thanks
-- 
haiwei

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message