lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javozzo <danilo.domen...@gmail.com>
Subject How to extract a field with a prefixed dimension?
Date Mon, 21 Oct 2013 18:57:58 GMT
Hi,
i'm new in solr.
i use the content field to extract the text of solr documents, but this
field is too long. 
Is there a way to extract only a substring of this field?
i make my query in java as follow:

SolrQuery querySolr = new SolrQuery();
querySolr.setQuery("*:*");
querySolr.setRows(3);
querySolr.setParam("wt", "json");
querySolr.addField("content");
querySolr.addField("title");
querySolr.addField("url");

any ideas?
Thanks
Danilo



--
View this message in context: http://lucene.472066.n3.nabble.com/How-to-extract-a-field-with-a-prefixed-dimension-tp4096877.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message