lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Abdullah Shaikh <>
Subject Indexing docs using TIKA
Date Thu, 03 Sep 2009 12:26:53 GMT
I am not sure if this went to Mailing List before.. hence forwarding again

Hi All,

I want to search for a document containing "string to search", price between
100 to 200 and weight 10-20.

SolrQuery query = new SolrQuery();
query.setQuery( "DOC_CONTENT: string to search");

query.setFilterQueries("PRICE:[100 TO 200]");
query.setFilterQueries("WEIGHT:[10 TO 20]");

QueryResponse response = server.query(query);

The DOC_CONTENT contains the content extracted from the file uploaded by the
user, extracted using TIKA.

Is the above approach correct ?

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message