term frequency solrj

2017-01-09 Thread huda barakat
Hi, Can anybody help me, I need to get term frequency for a specific filed, I use the techproduct example and I use this code: // import java.util.List; import org.apache.solr.client.solrj.SolrClient; import org.apache.so

Re: term frequency in solr

2017-01-05 Thread huda barakat
eption at testPkg.App3.main(App3.java:30) On 5 January 2017 at 18:25, Ahmet Arslan wrote: > Hi, > > I think you are missing the main query parameter? q=*:* > > By the way you may get more response in the sole-user mailing list. > > Ahmet > > > On Wednesday, Jan

term frequency in solr

2017-01-04 Thread huda barakat
Please help me with this: I have this code which return term frequency from techproducts example: / import java.util.List; import org.apache.solr.client.solrj.SolrClient; import org.apache.solr.client.so

Re: term frequency

2016-11-28 Thread huda barakat
cy in the field "name" how can I do that??? Thank you! On 24 November 2016 at 16:27, Jason Wee wrote: > the exception line does not match the code you pasted, but do make > sure your object actually not null before accessing its method. > > On Thu, Nov 24, 2016 at 5:42 PM

term frequency

2016-11-24 Thread huda barakat
I'm using SOLRJ to find term frequency for each term in a field, I wrote this code but it is not working: 1. String urlString = "http://localhost:8983/solr/huda";; 2. SolrClient solr = new HttpSolrClient.Builder(urlString).build(); 3. 4. SolrQuery query = new S