Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 32101 invoked from network); 13 Apr 2009 19:15:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2009 19:15:15 -0000 Received: (qmail 22921 invoked by uid 500); 13 Apr 2009 19:15:13 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 22858 invoked by uid 500); 13 Apr 2009 19:15:13 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 22678 invoked by uid 99); 13 Apr 2009 19:15:12 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 19:15:12 +0000 X-ASF-Spam-Status: No, hits=4.5 required=10.0 tests=MIME_QP_LONG_LINE,SPF_NEUTRAL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [208.97.132.207] (HELO spunkymail-a1.g.dreamhost.com) (208.97.132.207) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Apr 2009 19:15:03 +0000 Received: from [192.168.0.102] (adsl-074-229-189-244.sip.rmo.bellsouth.net [74.229.189.244]) by spunkymail-a1.g.dreamhost.com (Postfix) with ESMTP id C46A1FE231 for ; Mon, 13 Apr 2009 12:14:41 -0700 (PDT) Message-Id: <9797E6A8-CEF8-4D68-BC46-A3DB77E1641A@apache.org> From: Grant Ingersoll To: solr-user@lucene.apache.org In-Reply-To: <0A8F66C42F49E448A40E99946404EE5B7063A13F84@aplesstar.dom1.jhuapl.edu> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v930.3) Subject: Re: Term Counts/Term Frequency Vector Info Date: Mon, 13 Apr 2009 15:14:40 -0400 References: <0A8F66C42F49E448A40E99946404EE5B705A164395@aplesstar.dom1.jhuapl.edu> <498FCBB1-63BF-45CB-B620-752C7976F8C5@apache.org> <0A8F66C42F49E448A40E99946404EE5B705A1644F5@aplesstar.dom1.jhuapl.edu> <0A8F66C42F49E448A40E99946404EE5B7063A13F84@aplesstar.dom1.jhuapl.edu> X-Mailer: Apple Mail (2.930.3) X-Virus-Checked: Checked by ClamAV on apache.org Sorry, should have add that you should set the qt param: = http://wiki.apache.org/solr/CoreQueryParameters#head-2c940d42ec4f2a74c5d25= 1f12f4077e53f2f00f4 -Grant On Apr 13, 2009, at 1:35 PM, Fink, Clayton R. wrote: > The query method seems to only support "solr/select" requests. I =20 > subclassed SolrRequest and created a request class that supports =20 > "solr/autoSuggest" - following the pattern in LukeRequest. It seems =20= > to work fine for me. > > Clay > > -----Original Message----- > From: Grant Ingersoll [mailto:gsingers@apache.org] > Sent: Tuesday, April 07, 2009 10:41 PM > To: solr-user@lucene.apache.org > Subject: Re: Term Counts/Term Frequency Vector Info > > You can send arbitrary requests via SolrJ, just use the parameter =20 > map via the query method: = http://lucene.apache.org/solr/api/solrj/org/apache/solr/client/solrj/SolrS= erver.html > . > > -Grant > > On Apr 7, 2009, at 1:52 PM, Fink, Clayton R. wrote: > >> These URLs give me what I want - word completion and term counts. >> What I don't see is a way to call these via SolrJ. I could call the >> server directly using java.net classes and process the XML myself, I >> guess. There needs to be an auto suggest request class. >> >> http://localhost:8983/solr/autoSuggest?=20 >> terms=3Dtrue&terms.fl=3DCONTENTS&te >> rms.lower=3DLond&terms.prefix=3DLon&indent=3Dtrue >> >> >> =E2=88=92 >> >> 0 >> 0 >> >> =E2=88=92 >> >> =E2=88=92 >> >> 11 >> 2 >> >> >> >> >> http://localhost:8983/solr/autoSuggest?=20 >> terms=3Dtrue&terms.fl=3DCONTENTS&te >> rms.lower=3DLondon&terms.upper=3DLondon&terms.upper.incl=3Dtrue&indent=3D= true >> >> >> =E2=88=92 >> >> 0 >> 0 >> >> =E2=88=92 >> >> =E2=88=92 >> >> 11 >> >> >> >> >> -----Original Message----- >> From: Grant Ingersoll [mailto:gsingers@apache.org] >> Sent: Monday, April 06, 2009 5:43 PM >> To: solr-user@lucene.apache.org >> Subject: Re: Term Counts/Term Frequency Vector Info >> >> See also http://wiki.apache.org/solr/TermsComponent >> >> You might be able to apply these patches to 1.3 and have them work, >> but there is no guarantee. You also can get some termDocs like >> capabilities through Solr's faceting capabilities, but I am not aware >> of any way to get at the term vector capabilities. >> >> HTH, >> Grant >> >> On Apr 6, 2009, at 1:49 PM, Fink, Clayton R. wrote: >> >>> I want the functionality that Lucene IndexReader.termDocs gives me. >>> That or access on the document level to the term vector. This >>> (http://wiki.apache.org/solr/TermVectorComponent?highlight=3D(term >>> )|(vector) seems to suggest that this will be available in 1.4. Is >>> there any way to do this in 1.3? >>> >>> Thanks, >>> >>> Clay >>> >> >> -------------------------- >> Grant Ingersoll >> http://www.lucidimagination.com/ >> >> Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) >> using Solr/Lucene: >> http://www.lucidimagination.com/search > > -------------------------- > Grant Ingersoll > http://www.lucidimagination.com/ > > Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) > using Solr/Lucene: > http://www.lucidimagination.com/search -------------------------- Grant Ingersoll http://www.lucidimagination.com/ Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) =20 using Solr/Lucene: http://www.lucidimagination.com/search