Re: Solr Faceting issue

2014-08-04 Thread Tomás Fernández Löbbe
If I understand correctly, you are looking for "multi-select faceting": https://wiki.apache.org/solr/SimpleFacetParameters#Multi-Select_Faceting_and_LocalParams On Mon, Aug 4, 2014 at 9:46 PM, Smitha Rajiv wrote: > Hi Solr Experts, > > > Request you to please help me in fixing the below facets

Solr Faceting issue

2014-08-04 Thread Smitha Rajiv
Hi Solr Experts, Request you to please help me in fixing the below facets problem. Thanks in advance. Also pls let me know if you do not understand any part of my explanation below. How do I facet on more than two categories (let’s say ‘project’ and ‘type’ as discussed below) at the same time

Re: Regarding Solr Faceting on the query response.

2014-02-02 Thread Mikhail Khludnev
Ok. "BOSE", 0, "Walmart", 0, are not a problem because you can heal it by facet.mincount. "Oracle", 25, seems to be a problem. You need to find which documents provided hits to this facet value. lets add filter parameter fq=company:Oracle and you'll have 25 results which provide this facet value.

Re: Regarding Solr Faceting on the query response.

2014-01-31 Thread Kuchekar
Hi Mikhail, The Actual result is as following "facet_counts": { "facet_queries": {}, "facet_fields": { "company": [ "Apple", 215, "BOSE", 0, "Walmart", 0, "Oracle", 25, ... ... ... ... "Microsoft", 34, "ATT", 45 ] }, "facet_dates": {}, "facet_ranges": {} } The Expected r

Re: Regarding Solr Faceting on the query response.

2014-01-31 Thread Jérôme Étévé
On 30 January 2014 17:35, Kuchekar wrote: > Hi Mikhail, > > I would like my faceting to run only on my resultset > returned as in only on numFound, rather than the whole index. As far as I know, unless you define filter tagging and exclusion, this is the default facet behaviour.

Re: Regarding Solr Faceting on the query response.

2014-01-31 Thread Mikhail Khludnev
On Thu, Jan 30, 2014 at 9:35 PM, Kuchekar wrote: > > "docs": [ { "id": "ABC123", "company": [ "APPLE" ] }, > { "id": "ABC1234", "company": [ "APPLE" ] }, > { "id": "ABC1235", "company": [ "APPLE" ] }, > { "id": "ABC1236", "company": [ "APPLE" ] } ] }, "facet_counts": { " > facet_queries": { "p_co

Re: Regarding Solr Faceting on the query response.

2014-01-30 Thread Alexandre Rafalovitch
elipe Dantas de Souza Paiva wrote: > Hi Nilesh, > > maybe Facetting is not the right thing for you, because 'faceting is the > arrangement of search results into categories based on indexed terms' > (https://cwiki.apache.org/confluence/display/solr/Faceting). > > Per

RES: Regarding Solr Faceting on the query response.

2014-01-30 Thread Felipe Dantas de Souza Paiva
Hi Nilesh, maybe Facetting is not the right thing for you, because 'faceting is the arrangement of search results into categories based on indexed terms' (https://cwiki.apache.org/confluence/display/solr/Faceting). Perhaps you could use Result Clustering (https://cwiki.apache.org/

Re: Regarding Solr Faceting on the query response.

2014-01-30 Thread Kuchekar
Hi Mikhail, I would like my faceting to run only on my resultset returned as in only on numFound, rather than the whole index. In the example, even when I specify the query 'company:Apple' .. it gives me faceted results for other companies. This means that it is querying against

Re: Regarding Solr Faceting on the query response.

2014-01-30 Thread Alexei Martchenko
I believe its not possible to facet only the page you are, facet is supposed to work only with the full resultset. I never tried but i've never seen a way this could be done. alexei martchenko Facebook | Linkedin|

Re: Regarding Solr Faceting on the query response.

2014-01-29 Thread Mikhail Khludnev
Hello Do you mean setting http://wiki.apache.org/solr/SimpleFacetParameters#facet.mincount to 1 or you want to facet only returned page (rows) instead of full resultset (numFound) ? On Thu, Jan 30, 2014 at 6:24 AM, Nilesh Kuchekar wrote: > Yeah it's a typo... I meant company:Apple > > Thanks > N

Re: Regarding Solr Faceting on the query response.

2014-01-29 Thread Nilesh Kuchekar
Yeah it's a typo... I meant company:Apple Thanks Nilesh > On Jan 29, 2014, at 8:59 PM, Alexandre Rafalovitch wrote: > >> On Thu, Jan 30, 2014 at 3:43 AM, Kuchekar wrote: >> company=Apple > Did you mean company:Apple ? > > Otherwise, that could be the issue. > > Regards, > Alex. > > > Per

Re: Regarding Solr Faceting on the query response.

2014-01-29 Thread Alexandre Rafalovitch
On Thu, Jan 30, 2014 at 3:43 AM, Kuchekar wrote: > company=Apple Did you mean company:Apple ? Otherwise, that could be the issue. Regards, Alex. Personal website: http://www.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that kee

Regarding Solr Faceting on the query response.

2014-01-29 Thread Kuchekar
Hi All, Is there a way for faceting only on the resultset returned, rather then all the indexed docs? The response time for solr query with faceting switched on, takes a lot of time to respond. I see that, it tends to get the distinct values in the facet field and then give the

Re: Solr Faceting doesn't return values.

2013-05-23 Thread Sandeep Mestry
> ... > ... > ... > ... > "[" ... > "{" ... > ... > ... > > 400 > > > > Not sure why the data wont show up. Almost all the records has the field > sa_site_city has data and is also indexed. :( > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-return-values-tp4065276p4065406.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: Solr Faceting doesn't return values.

2013-05-22 Thread samabhiK
; ... ... ... 400 Not sure why the data wont show up. Almost all the records has the field sa_site_city has data and is also indexed. :( -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-return-values-tp4065276p4065406.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Faceting doesn't return values.

2013-05-22 Thread Sandeep Mestry
>From the response you've mentioned it appears to me that the query term TX is searched against sa_site_city instead of mm_state_code. Can you try your query like below: http://xx.xx.xx.xx/solr/collection1/select?q=*mm_state_code:(**TX)* &wt=xml&indent=true&facet=true&facet.field=sa_site_city&debu

Re: Solr Faceting doesn't return values.

2013-05-22 Thread samabhiK
0.0 I do have the data in my index and that I verified by running other queries. I can't figure out what I am missing. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-return-values-tp4065276p4065360.html Sent from

Re: Solr Faceting doesn't return values.

2013-05-22 Thread Sandeep Mestry
in the /select handler in the config > file. > > >explicit >10 >sa_property_id > > > But then how do I change my query now? > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-

Re: Solr Faceting doesn't return values.

2013-05-22 Thread samabhiK
Ok my bad. I do have a default field defined in the /select handler in the config file. explicit 10 sa_property_id But then how do I change my query now? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-return-values

Re: Solr Faceting doesn't return values.

2013-05-22 Thread samabhiK
, "highlight":{ "time":0.0}, "stats":{ "time":0.0}, "debug":{ "time":1.0} I have not defined any default facet filed, in the handler in solrconfig.xml file. Also, there is plenty of data available and the field sa_site_city What I am trying to understand is this: "parsedquery":"sa_property_id:mm_state_code" I have a field sa_property_id in the schema but i have not defined it in the query nor in solrconfig.xml, but why is it still evaluated? Any help in solving this problem will be greatly appreciated. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-return-values-tp4065276p4065294.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Faceting doesn't return values.

2013-05-22 Thread Erick Erickson
ity", > "wt":"json"}}, > "response":{"numFound":0,"start":0,"docs":[] > }, > "facet_counts":{ > "facet_queries":{}, > "facet_fields":{ > "sa_site_city":[]}, > "facet_dates":{}, > "facet_ranges":{}}} > > I wonder what am I doing wrong? > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-return-values-tp4065276.html > Sent from the Solr - User mailing list archive at Nabble.com.

Solr Faceting doesn't return values.

2013-05-22 Thread samabhiK
;, "wt":"json"}}, "response":{"numFound":0,"start":0,"docs":[] }, "facet_counts":{ "facet_queries":{}, "facet_fields":{ "sa_site_city":[]}, "facet_dates":{}, "facet_ranges":{}}} I wonder what am I doing wrong? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Faceting-doesn-t-return-values-tp4065276.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Solr Faceting with Name Values

2013-01-29 Thread O. Olson
iki.apache.org/solr/HierarchicalFaceting > http://lucidworks.lucidimagination.com/display/solr/Faceting > > Have fun! > Robi -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Faceting-with-Name-Values-tp4036872p4037201.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Solr Faceting with Name Values

2013-01-29 Thread Petersen, Robert
/solr/HierarchicalFaceting http://lucidworks.lucidimagination.com/display/solr/Faceting Have fun! Robi -Original Message- From: O. Olson [mailto:olson_...@yahoo.it] Sent: Monday, January 28, 2013 3:11 PM To: solr-user@lucene.apache.org Subject: RE: Solr Faceting with Name Values Thank you Robi.

RE: Solr Faceting with Name Values

2013-01-28 Thread O. Olson
e > fields like Function_s:Scanner etc and then you could ask for facets which > are relevant based upon query or category. > > That would be a much more straightforward approach and much easier to > facet on. Hope that helps a little bit. > > -Robi -- View this messa

RE: Solr Faceting with Name Values

2013-01-28 Thread Petersen, Robert
PM To: solr-user@lucene.apache.org Subject: Solr Faceting with Name Values Hi, We are looking at putting our Product Catalog into Solr. Our Product Catalog involves a Product, and a number of [Name, Value] pairs – which represent attributes of a particular product. The attribute name

Solr Faceting with Name Values

2013-01-28 Thread O. Olson
-- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Faceting-with-Name-Values-tp4036872.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr faceting sum function

2012-12-13 Thread Jack Krupansky
ache.org Subject: Re: solr faceting sum function Sorrystats.field=price "cmd.ares" wrote: lucene index structure: product_name type price --- iphone4s mobile 2000 iphone5

Re: solr faceting sum function

2012-12-13 Thread Markus Mirsberger
ile 1 >pc2500 > >how to do it with solr? >thanks > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/solr-faceting-sum-function-tp4026921.html >Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr faceting sum function

2012-12-13 Thread Markus Mirsberger
-- >i want to use solr like sql: >select type,sum(price)s group by type > >the resule will be like: >mobile 1 >pc2500 > >how to do it with solr? >thanks > > > >-- >View this message in context: >http://lucene.472066.n3.n

Re: solr faceting sum function

2012-12-13 Thread Jack Krupansky
2012 11:21 PM To: solr-user@lucene.apache.org Subject: solr faceting sum function lucene index structure: product_name type price --- iphone4s mobile 2000 iphone5 mobile 500

solr faceting sum function

2012-12-13 Thread cmd.ares
.n3.nabble.com/solr-faceting-sum-function-tp4026921.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Performance improvement for solr faceting on large index

2012-11-24 Thread Otis Gospodnetic
rge facet.enum.cache.minDf value help ? > > > Thanks, > Pravin Agrawal > > -Original Message- > From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] > Sent: Friday, November 23, 2012 6:37 AM > To: solr-user@lucene.apache.org > Subject: Re: Performance improvement for

RE: Performance improvement for solr faceting on large index

2012-11-23 Thread Pravin Agrawal
Message- From: Otis Gospodnetic [mailto:otis.gospodne...@gmail.com] Sent: Friday, November 23, 2012 6:37 AM To: solr-user@lucene.apache.org Subject: Re: Performance improvement for solr faceting on large index Hi, I don't quite follow what you are trying gyroscope do, but it almost sounds lik

Re: Performance improvement for solr faceting on large index

2012-11-22 Thread Otis Gospodnetic
Hi, I don't quite follow what you are trying gyroscope do, but it almost sounds like you may be better off using something other than Solr if all you are doing is filtering by site and counting something. I see unigrams in what looks like it could be a big field and that's a red flag. Your index i

Re: Performance improvement for solr faceting on large index

2012-11-22 Thread Yuval Dotan
you could always try the fc facet method and maybe increase the filtercache size On Thu, Nov 22, 2012 at 2:53 PM, Pravin Agrawal < pravin_agra...@persistent.co.in> wrote: > Hi All, > > We are using solr 3.4 with following schema fields. > > > --

Performance improvement for solr faceting on large index

2012-11-22 Thread Pravin Agrawal
Hi All, We are using solr 3.4 with following schema fields. ---

Re: Solr faceting -- sort order

2012-07-19 Thread Michael Della Bitta
Maybe I'm not understanding the problem, but I accomplish this by having two fields. One for sorting, like so: And then a string type field for faceting. Use a copyField directive to get the same data in both, and then sort on the sort field, and facet on the string field. The Mapping

Re: Solr faceting -- sort order

2012-07-19 Thread Toke Eskildsen
On Wed, 2012-07-18 at 20:30 +0200, Christopher Gross wrote: > When I do a query, the results that come through retain their original > case for this field, like: > doc 1 > keyword: Blah Blah Blah > doc 2 > keyword: Yadda Yadda Yadda > > But when I pull back facets, i get: > > blah blah blah (1) >

Solr faceting -- sort order

2012-07-18 Thread Christopher Gross
I have a "keyword" field type that I made:

Re: Solr Faceting

2012-07-08 Thread Christian von Wendt-Jensen
You could add this filter directly in the solr query. Here is an example using SolrJ: SolrQuery solrQuery = new SolrQuery(); solrQuery.set("q", "*:*"); solrQuery.addFilterQuery("-myfield:N/A"); Christian von Wendt-Jensen On 07/01/2012 1:32 PM, "Darren Govoni" wrote: >I don't thi

Re: Solr Faceting

2012-07-07 Thread Darren Govoni
I don't think it comes at any added cost for solr to return that facet so you can filter it out in your business logic. On Sat, 2012-07-07 at 15:18 +0530, Shanu Jha wrote: > Hi, > > > I am generating facet for a field which has one of the value "NA" and I > want solr should not create facet

Re: Solr Faceting & DIH

2011-08-30 Thread Alexei Martchenko
ated. > > You might do something like make the uniqueKey the > concatenation of productid and attributeid or whatever > makes sense. > > Best > Erick > > On Mon, Aug 29, 2011 at 5:52 PM, Aaron Bains wrote: > > Hello, > > > > I am trying to setup Solr Fac

Re: Solr Faceting & DIH

2011-08-30 Thread Erick Erickson
productid and attributeid or whatever makes sense. Best Erick On Mon, Aug 29, 2011 at 5:52 PM, Aaron Bains wrote: > Hello, > > I am trying to setup Solr Faceting on products by using the > DataImportHandler to import data from my database. I have setup my > data-config.xml wi

Re: Solr Faceting & DIH

2011-08-29 Thread Way Cool
I think you need to setup entity hierarchy with product as a top level entity and attribute as another entity under product, otherwise the record #2 and 3 will override the first one. On Mon, Aug 29, 2011 at 3:52 PM, Aaron Bains wrote: > Hello, > > I am trying to setup Solr Faceting on

Solr Faceting & DIH

2011-08-29 Thread Aaron Bains
Hello, I am trying to setup Solr Faceting on products by using the DataImportHandler to import data from my database. I have setup my data-config.xml with the proper queries and schema.xml with the fields. After the import/index is complete I can only search one productid record in Solr. For

Solr faceting on score

2011-02-04 Thread Bagesh Sharma
Hi friends, Is it possible to do faceting over score. I want to results from facets which have more score. Please suggest. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-faceting-on-score-tp2422076p2422076.html Sent from the Solr - User mailing list archive at

Re: Solr faceting on score

2011-02-03 Thread Bagesh Sharma
Thanks for reply -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-faceting-on-score-tp2422076p2422147.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr faceting on score

2011-02-03 Thread Grijesh
No ,You can not get facets on score ,score is not defined in schema facet can be get only fields defined in schema as I know. - Thanx: Grijesh http://lucidimagination.com -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-faceting-on-score-tp2422076p2422121.html Sent