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

2013-07-18 Thread Tony Mullins
', at least I do. Best Erick On Tue, Jul 16, 2013 at 1:03 PM, Tony Mullins tonymullins...@gmail.com wrote: OK, So thats why I cannot see the FunctionQuery fields in my SearchComponent class. So then question would be how can I apply my custom processing/logic to these FunctionQuery ? Whats

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

2013-07-16 Thread Tony Mullins
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's FunctionQuery result field in my custom SearchComponent class

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

2013-07-15 Thread Tony Mullins
attach the debugger and hit go HTH Erick On Sat, Jul 13, 2013 at 6:57 AM, Tony Mullins tonymullins...@gmail.com wrote: 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

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.

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

2013-07-15 Thread Tony Mullins
find the field 'freq' which I needed. Is there any way to get the FunctionQuery fields in doc object ? Thanks, Tony On Mon, Jul 15, 2013 at 1:16 PM, Tony Mullins tonymullins...@gmail.comwrote: Hi, I have extended Solr's SearchComonent class and I am iterating through all the docs

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 tonymullins...@gmail.comwrote: Please any help on how to get the value of 'freq' field in my custom SearchComponent ? http://localhost:8080/solr/collection2/demoendpoint?q=spiderwt=xmlindent=truefl=*,freq:termfreq%28product

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

2013-07-15 Thread Tony Mullins
=xmlindent=truefl=*,score Now your score is going to be a result of termfreq(product,'spider') -- Patanachai Tangchaisin On 07/15/2013 12:01 PM, Tony Mullins wrote: any help plz !!! On Mon, Jul 15, 2013 at 4:13 PM, Tony Mullins tonymullins...@gmail.com* *wrote: Please any help

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 tonymullins...@gmail.comwrote: Hi, I have defined my new Solr

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 requestHandler name=/myendpoint class=com.abc.MyRequestPlugin /requestHandler And its working fine. Now I want to do some custom processing from my this plugin by making a search query to regular '/select'

Re: Calculating Solr document score by ignoring the boost field.

2013-07-10 Thread Tony Mullins
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 2013 06:33, Tony Mullins tonymullins...@gmail.com wrote: Jack due to 'some' reason my nutch is returning

Re: Calculating Solr document score by ignoring the boost 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

Re: Calculating Solr document score by ignoring the boost field.

2013-07-09 Thread Tony Mullins
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 ignoring the field. I am passing boost value (via nutch

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

Re: Total Term Frequency per ResultSet in Solr 4.3 ?

2013-07-04 Thread Tony Mullins
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, 2013 at 9:45 AM, Tony Mullins tonymullins...@gmail.com wrote: Hi , I have lots of crawled data, indexed in my Solr

Re: Total Term Frequency per ResultSet in Solr 4.3 ?

2013-07-04 Thread Tony Mullins
at 10:57 AM, Tony Mullins tonymullins...@gmail.com 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_freq:termfreq%28product,%27spider%27%29fq=id

Re: Total Term Frequency per ResultSet in Solr 4.3 ?

2013-07-04 Thread Tony Mullins
, it's possible. Cheers, Tricia On Thu, Jul 4, 2013 at 10:24 AM, Tony Mullins tonymullins...@gmail.com wrote: So what is the workaround for this problem ? Can it be done without changing any source code ? Thanks, Tony On Thu, Jul 4, 2013 at 8:01 PM, Yonik Seeley yo

Re: Aggregate TermFrequency on Result Grouping / Field Collapsing

2013-07-03 Thread Tony Mullins
Any suggestions please ! On Tue, Jul 2, 2013 at 3:24 PM, Tony Mullins tonymullins...@gmail.comwrote: 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

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

2013-07-03 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

Re: Aggregate TermFrequency on Result Grouping / Field Collapsing

2013-07-03 Thread Tony Mullins
Erick On Wed, Jul 3, 2013 at 2:14 AM, Tony Mullins tonymullins...@gmail.com wrote: Any suggestions please ! On Tue, Jul 2, 2013 at 3:24 PM, Tony Mullins tonymullins...@gmail.com wrote: Hi, Is it possible to perform aggregated termfreq(field,term) on Result Grouping

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

2013-07-02 Thread Tony Mullins
, 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/ Performance Monitoring -- http://sematext.com/spm On Mon, Jul 1, 2013 at 1:29 PM, Tony Mullins tonymullins...@gmail.com wrote

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

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 field name=CommentX type=text_general stored=true

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

2013-07-01 Thread Tony Mullins
parameter. 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 Subject: How to re-index Solr get term frequency within documents

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

Re: Apache Nutch data to Solr 4.3 schema issues ?

2013-06-13 Thread Tony Mullins
-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 data. And for that I have copied the schema-solr4.xml from

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 s...@elyograg.org 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