sort multiple fields using solr not working

2010-12-27 Thread dhanesh
) ); Above code returns only sorted result based on packageId, but its not sorting with id My requirement is I need to get last inserted post first and same time I want to group the packages based on some priority Regds dhanesh s.r

Re: sort multiple fields using solr not working

2010-12-27 Thread dhanesh
On 12/27/2010 5:09 PM, Ahmet Arslan wrote: Here is the query $additionalParameters = array( 'facet'=>'true', 'facet.field'=>array('category','subcategory','district'), 'fl'=>'name,category,package,district,score,city,description,id', 'fq'=>array('ca

Re: sort multiple fields using solr not working

2010-12-27 Thread dhanesh
On 12/27/2010 5:15 PM, Ahmet Arslan wrote: id field is the unique field ( id) Okey, but what is its type? There should be something like

Re: sort multiple fields using solr not working

2010-12-27 Thread dhanesh
n1,sortId', 'fq'=>array('category1:'.$_GET['searchCategory'],'district:'.$_GET['location']), 'sort'=>array('sortId desc','packageId desc') ); $results = $solr->search($queries, $start, MAX_ROWS,$additionalParameters ); I appreciate you for the effort that you are spending for me. regds dhanesh

Re: sort multiple fields using solr not working

2010-12-27 Thread dhanesh
On 12/27/2010 6:19 PM, Ahmet Arslan wrote: Its an intiger like 1293452485. I changed the solr schema as you specified Restarted the solr server. First sort field sortId desc is working but the second sort field packageId desc is not working Then make packageId tint too, like sortId. By t

Re: sort multiple fields using solr not working

2010-12-27 Thread dhanesh
On 12/27/2010 7:03 PM, Ahmet Arslan wrote: f d Yes exactly you said it. It worked Thanks Ahmet Here is the working code 'sort'=>array('packageId desc, sortId desc') Thanks dhanesh s.r

forward slash not working in my solr search

2011-01-06 Thread dhanesh
oved the leading and trialing space from the slashes it worked (like 'Computer/IT') The field that I specified for category is type="string" indexed="true" stored="true" /> Any clue??? dhanesh s.r

Re: forward slash not working in my solr search

2011-01-06 Thread dhanesh
I changed the category 'Computer/IT' (note that I removed the space from the both sides of forward slash). and again I indexed to solar.This time I got the result. But my requirement is to index the category as 'Computer / IT' (with space in both side of /) dhanesh

Re: forward slash not working in my solr search

2011-01-06 Thread dhanesh
On 1/6/2011 2:06 PM, Grijesh.singh wrote: check with debugQuery=on and also with analysis.jsp ,what happening with your query term and indexed terms. - Grijesh When I debug the query, I got the parsedquery as category:Computer Here is debugged output category:Computer / IT category:Comp

Re: forward slash not working in my solr search

2011-01-07 Thread dhanesh
cond query removed and only category:Computer is showing use your query as category:"Computer / IT" - Grijesh Hi Grijesh.singh It worked... :) You helped me to fix this issue. Thanks a lot cheers dhanesh s.r

facet result issue

2011-01-14 Thread dhanesh
lso worked.. But along with the facet result I got the other cities under the district B too with its count 0. What I need in my facet result is the cities(x and y only) under district A. No need to show the cities under the district B. Anybody have any suggestions??? Regds dhanesh

Re: facet result issue

2011-01-14 Thread dhanesh
olrQuery solrQuery = new SolrQuery("district:A").addFacetField("city").setFacetMinCount(1) -Original Message- From: dhanesh [mailto:dhan...@hifx.net] Sent: 14 January 2011 10:17 To: solr-user@lucene.apache.org Subject: facet result issue Hi, I've a trouble in facet s

How data is replicating from Master to Slave?

2011-01-24 Thread dhanesh
of data(10 million records) is copying from Master to slave? This is my first work with Solr. So I'm not sure how to tackle this issue. Regds dhanesh s.r

Re: fq field with facets

2011-02-23 Thread dhanesh
Hi I have faced the same problem and I solved it by adding double quotes dhanesh s.r On 2/23/2011 7:47 PM, Erik Hatcher wrote: Try - fq={!field f=category} You can also try surrounding with quotes, but that gets tricky and you'll need to escape things possibly. Or you could s

solr search relevancy

2015-11-09 Thread Dhanesh Radhakrishnan
h field packageWeight, this doc comes first. Is there any way to resolve this issue?? Or at least is there any way to remove certain fields from the sort, but not from search. Regards dhanesh s r -- -- IMPORTANT: This is an e-mail from HiFX IT Media Services Pvt. Ltd

How to identify field names from the suggested values in multiple fields

2015-06-03 Thread Dhanesh Radhakrishnan
Day Care/Play School (Category) Is there any way to build like this ?? -- [image: hifx_logo] <http://hifx.in/> *dhanesh s.R * Team Lead t: (+91) 484 4011750 (ext. 712) | m: ​(+91) 99 4 703 e: dhan...@hifx.in | w: www.hifx.in <https://www.facebook.com/HiFXIT> <https://twitter.com/Hi

Re: How to identify field names from the suggested values in multiple fields

2015-06-03 Thread Dhanesh Radhakrishnan
n 4, 2015 at 10:40 AM, Walter Underwood wrote: > Configure two suggesters, one based on each field. Use both of them and > you’ll get separate suggestions from each. > > wunder > Walter Underwood > wun...@wunderwood.org > http://observer.wunderwood.org/ (my blog) > >

Re: Derive suggestions across multiple fields

2015-06-04 Thread Dhanesh Radhakrishnan
> > > allows you to use them concurrently. > > >>> > > > > But can be a really nice extension to develop. > > >>> > > > > > > >>> > > > > 2) If you don't care where the suggestions are coming from, > > just &g

Re: How to identify field names from the suggested values in multiple fields

2015-06-04 Thread Dhanesh Radhakrishnan
multiple suggesters I'm using SOLR 5.1 Regards dhanesh s.r On Thu, Jun 4, 2015 at 11:33 AM, Erick Erickson wrote: > Yes, this might help: http://lucidworks.com/blog/solr-suggester/ > > Best, > Erick > > On Wed, Jun 3, 2015 at 10:32 PM, Dhanesh Radhakrishnan > wrote: &

Re: Derive suggestions across multiple fields

2015-06-07 Thread Dhanesh Radhakrishnan
> > > > > > >> >> Regards, > > > > > > > >> >> Edwin > > > > > > > >> >> > > > > > > > >> >> > > > > > > > >> >> On 4 June

Solr spatial search within the polygon

2013-11-14 Thread Dhanesh Radhakrishnan
;: 0, - "start": 0, - "docs": [ ] } } Is there anything that I missed ??? Can anybody help me in solving this issue with solr spatial search. I'm using Solr 4.4.0 Added an additional dependency JTS jar file for the support of polygon /lib/ext/jts-1.13.jar -- *dhanesh s.r*

Re: Solr spatial search within the polygon

2013-11-19 Thread Dhanesh Radhakrishnan
ime": 9 ResponseHeader": { "status": 0, "QTime": 9 }, When I used "Intersects" responseHeader": { "status": 0, "QTime": 26 } Thank you so much Regards dhanesh s.r

Re: Solr spatial search within the polygon

2013-11-19 Thread Dhanesh Radhakrishnan
uot;facet": { "time": 0 }, "mlt": { "time": 0 }, "highlight": { "time": 0 }, "stats": { "time": 0

Occasionally getting error in solr suggester component.

2015-01-13 Thread Dhanesh Radhakrishnan
lr config haSuggester AnalyzingInfixLookupFactory textSpell DocumentDictionaryFactory name packageWeight true true 10 suggest Can any one suggest where t

Re: Occasionally getting error in solr suggester component.

2015-01-14 Thread Dhanesh Radhakrishnan
; I would recommend against using buildOnCommit=true - with a large index > this can be a performance-killer. Instead, build the index yourself using > the Solr spellchecker support (spellcheck.build=true) > > -Mike > > > On 01/13/2015 10:41 AM, Dhanesh Radhakrishnan wrote:

Re: Occasionally getting error in solr suggester component.

2015-01-15 Thread Dhanesh Radhakrishnan
ge is that we can avoid the rebuilt index on every commit or optimize. Is this the right way ?? or any that I missed ??? Regards dhanesh s.r On Thu, Jan 15, 2015 at 3:20 AM, Michael Sokolov < msoko...@safaribooksonline.com> wrote: > did you build the spellcheck index using spellch

Solr suggester : duplicate suggestions

2020-01-09 Thread Dhanesh Radhakrishnan
text_suggest DocumentDictionaryFactory categoryAutoComplete categoryRank false false /dictionary/category true false In schema.xml http://lo

Re: Solr suggester : duplicate suggestions

2020-01-10 Thread Dhanesh Radhakrishnan
@Paras Lehana.. Thanks for the reply Yes "and" is present in the stop words list. Dhanesh S.RSenior Technical Leade : dhan...@hifx.co.in | w : www.hifx.in712 t : (+91) 484 4011750 m : (+91) 994 666 6703 On Fri, Jan 10, 2020 at 3:07 PM Paras Lehana wrote: > Hi Dhanesh, &

Is it possible to add stemming in a text_exact field

2020-01-22 Thread Dhanesh Radhakrishnan
text exact field for search. Here is the field definition Is there any solutions without changing the tokenizer class. Dhanesh S.R -- IMPORTANT: This is a