Re: Doc's FunctionQuery result field in my custom SearchComponent class ?

2013-07-17 Thread Tony Mullins
t; you'll get an element in the doc labeled 'termfreq', at least > I do. > > Best > Erick > > On Tue, Jul 16, 2013 at 1:03 PM, Tony Mullins > wrote: > > OK, So thats why I cannot see the FunctionQuery fields in my > > SearchComponent class. > >

Re: Doc's FunctionQuery result field in my custom SearchComponent class ?

2013-07-16 Thread Tony Mullins
valuate the embedded function queries and insert > their values in the results as they are being written. > > -- Jack Krupansky > > -Original Message- From: Tony Mullins > Sent: Tuesday, July 16, 2013 1:37 AM > To: solr-user@lucene.apache.org > Subject: Re: Doc&

Re: Doc's FunctionQuery result field in my custom SearchComponent class ?

2013-07-15 Thread Tony Mullins
t;http://localhost:8080/solr/collection2/demoendpoint?q=termfreq%28product,%27spider%27%29&wt=xml&indent=true&fl=*,score> > > > Now your score is going to be a result of termfreq(product,'spider') > > > -- > Patanachai Tangchaisin > > > >

Re: Doc's FunctionQuery result field in my custom SearchComponent class ?

2013-07-15 Thread Tony Mullins
any help plz !!! On Mon, Jul 15, 2013 at 4:13 PM, Tony Mullins wrote: > Please any help on how to get the value of 'freq' field in my custom > SearchComponent ? > > > http://localhost:8080/solr/collection2/demoendpoint?q=spider&wt=xml&indent=true&fl=*,fr

Re: Doc's FunctionQuery result field in my custom SearchComponent class ?

2013-07-15 Thread Tony Mullins
Query fields in doc object ? Thanks, Tony On Mon, Jul 15, 2013 at 1:16 PM, Tony Mullins wrote: > Hi, > > I have extended Solr's SearchComonent class and I am iterating through all > the docs in ResponseBuilder in @overrider Process() method. > > Here I want to get the va

Doc's FunctionQuery result field in my custom SearchComponent class ?

2013-07-15 Thread Tony Mullins
Hi, I have extended Solr's SearchComonent class and I am iterating through all the docs in ResponseBuilder in @overrider Process() method. Here I want to get the value of FucntionQuery result but in Document object I am only seeing the standard field of document not the FucntionQuery result. Thi

Re: Custom processing in Solr Request Handler plugin and its debugging ?

2013-07-15 Thread Tony Mullins
ugging > session in IntelliJ. Set breakpoints as you wish. NOT: the "suspend=y" > bit above means that Solr will do _nothing_ until you attach the > debugger and hit "go" > > HTH > Erick > > On Sat, Jul 13, 2013 at 6:57 AM, Tony Mullins > wrote: >

Re: Custom processing in Solr Request Handler plugin and its debugging ?

2013-07-13 Thread Tony Mullins
Please any help on how to pass the search request to different RequestHandler from within the custom RequestHandler and how to debug the custom RequestHandler plugin ? Thanks, Tony On Fri, Jul 12, 2013 at 4:41 PM, Tony Mullins wrote: > Hi, > > I have defined my new Solr RequestHandl

Custom processing in Solr Request Handler plugin and its debugging ?

2013-07-12 Thread Tony Mullins
Hi, I have defined my new Solr RequestHandler plugin like this in SolrConfig.xml And its working fine. Now I want to do some custom processing from my this plugin by making a search query to regular '/select' handler. And then receive the results back from '/select' handler and

Re: Calculating Solr document score by ignoring the field.

2013-07-10 Thread Tony Mullins
e > to re-index the documents that have incorrect data. If you want to just use > TF-IDF for scoring and not use boosting, don't supply any boosting, it's > that simple. Sorry if this sounds repetitive, but can't think of any other > way to say it. > > > On 10 July

Re: Calculating Solr document score by ignoring the field.

2013-07-09 Thread Tony Mullins
ular reason you wanted to zero out the document score from the > document level? > > -- Jack Krupansky > > -Original Message- From: Tony Mullins > Sent: Tuesday, July 09, 2013 9:23 AM > To: solr-user@lucene.apache.org > Subject: Re: Calculating Solr document score by ignor

Re: Calculating Solr document score by ignoring the field.

2013-07-09 Thread Tony Mullins
I am passing boost value (via nutch) and i.e boost =0.0. But my question is why Solr is showing me score = 0.0 when my boost (index time boost) = 0.0 ? Should not Solr calculate its documents score on the basis of TF-IDF ? And if not how can I make Solr to only consider TF-IDF while calculating doc

Re: Total Term Frequency per ResultSet in Solr 4.3 ?

2013-07-04 Thread Tony Mullins
e alterations to the query and schema.xml > configuration. Alternately you could get the response as json (wt=json) > and use javascript to sum. I know this is not terribly efficient but, if > I'm understanding your request correctly, it's possible. > > Cheers, > Tricia

Re: Total Term Frequency per ResultSet in Solr 4.3 ?

2013-07-04 Thread Tony Mullins
013 at 10:57 AM, Tony Mullins > wrote: > > Hi Yonik, > > > > With facet it didn't work. > > > > Please see the result set doc below > > > > > http://localhost:8080/solr/collection2/select?fl=*,amazing_freq:termfreq%28product,%27amazing%27%29,spider

Re: Total Term Frequency per ResultSet in Solr 4.3 ?

2013-07-04 Thread Tony Mullins
, Jul 4, 2013 at 7:05 PM, Yonik Seeley wrote: > If you just want to retrieve those counts, this seems like simple faceting. > > q=something > facet=true > facet.query=product:hunger > facet.query=product:games > > -Yonik > http://lucidworks.com > > On Thu, Jul 4, 20

Total Term Frequency per ResultSet in Solr 4.3 ?

2013-07-04 Thread Tony Mullins
Hi , I have lots of crawled data, indexed in my Solr (4.3.0) and lets say user creates a search criteria 'X1' and he/she wants to know the occurrence of a specific term in the result set of that 'X1' search criteria. And then again he/she creates another search criteria 'X2' and he/she wants to kn

Re: Aggregate TermFrequency on Result Grouping / Field Collapsing

2013-07-03 Thread Tony Mullins
I don't think you can, thus the silence. But why do you want > to do this thing? Smells like an XY problem, you've asked > how to do a specific thing without stating the problem. Perhaps > there's a better approach that _is_ do-able. > > Best > Erick > > &g

Re: How to re-index Solr & get term frequency within documents

2013-07-02 Thread Tony Mullins
Hi Otis, I am quite new to Solr. And have looked at this link " http://search-lucene.com/jd/solr/solr-dataimporthandler/org/apache/solr/handler/dataimport/SolrEntityProcessor.html"; but could not figure out how to use it to re-index my all data in solr. Could you please explain in little detail t

Re: Aggregate TermFrequency on Result Grouping / Field Collapsing

2013-07-02 Thread Tony Mullins
Any suggestions please ! On Tue, Jul 2, 2013 at 3:24 PM, Tony Mullins wrote: > Hi, > > Is it possible to perform aggregated termfreq(field,term) on Result > Grouping ? > > I am trying to get total count of term's appearance in a document and then > want to aggregate

Aggregate TermFrequency on Result Grouping / Field Collapsing

2013-07-02 Thread Tony Mullins
Hi, Is it possible to perform aggregated termfreq(field,term) on Result Grouping ? I am trying to get total count of term's appearance in a document and then want to aggregate that count by grouping the document on one of my field. Like this http://localhost:8080/solr/collection1/select?q=iphon

Re: How to re-index Solr & get term frequency within documents

2013-07-01 Thread Tony Mullins
lucene.com/?q=**solrentityprocessor<http://search-lucene.com/?q=solrentityprocessor> > > Otherwise, just reindex the same way you indexed in the first place. > *Always* be ready to reindex from scratch. > > Otis > -- > Solr & ElasticSearch Support -- http://sematext.com/

Re: How to re-index Solr & get term frequency within documents

2013-07-01 Thread Tony Mullins
> Sounds like you want "termfreq": > > termfreq(field_arg,term) > > fl=id,a,b,c,termfreq(a,xyz) > > > -- Jack Krupansky > > -Original Message- From: Tony Mullins > Sent: Monday, July 01, 2013 10:47 AM > To: solr-user@lucene.apache.org > Subje

How to re-index Solr & get term frequency within documents

2013-07-01 Thread Tony Mullins
Hi, I am using Solr 4.3.0. If I change my solr's schema.xml then do I need to re-index my solr ? And if yes , how to ? My 2nd question is I need to find the frequency of term per document in all documents of search result. My field is And I am trying this query http://localhost:8080/solr/se

Re: Apache Nutch data to Solr 4.3 schema issues ?

2013-06-13 Thread Tony Mullins
OK. Thanks. Tony. On Thu, Jun 13, 2013 at 7:02 PM, Shawn Heisey wrote: > > Hi. > > > > I was hoping by replacing Nutch provided schema to my Solr schema ( as > the > > described by Nutch documentation) would solve all my problems. > > > > So you are suggesting I edit my existing Solr schema an

Re: Apache Nutch data to Solr 4.3 schema issues ?

2013-06-13 Thread Tony Mullins
me. > > -- Jack Krupansky > > -Original Message- From: Tony Mullins > Sent: Thursday, June 13, 2013 3:56 AM > To: solr-user@lucene.apache.org > Subject: Apache Nutch data to Solr 4.3 schema issues ? > > > Hi , > > I am trying to index my Solr 4.3 from Apache Nutch 2.2

Apache Nutch data to Solr 4.3 schema issues ?

2013-06-13 Thread Tony Mullins
Hi , I am trying to index my Solr 4.3 from Apache Nutch 2.2 data. And for that I have copied the schema-solr4.xml from Nutch2.2 runtime/local/conf and pasted it to my SolrHome solr/collection1/conf. My Solr4.3 is hosted in Tomcat. And initially when I tried http://localhost:8080/solr/#/collection