lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bon <bon...@unipattern.com>
Subject What is the right query syntax for matching some field's substring?
Date Wed, 01 Apr 2009 03:32:35 GMT

Hi all,

    I've a question about the query syntax statement,
    There is a lucene text field and the value of the field like
,11,12,15,16,
    if I want to query some data and the value of the field has included
some number what I like(11 or 15),
    how can I do?
    I try to give a query like (filed_name:,11,) but it can not get the
matching.

    or I must reformat the field value with some other symbol not the symbol
comma ','

Bon
-- 
View this message in context: http://www.nabble.com/What-is-the-right-query-syntax-for-matching-some-field%27s-substring--tp22819197p22819197.html
Sent from the Lucene - Java Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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