Sorting on multivalues field in Solr

2015-05-11 Thread nutchsolruser
Is there any way we can sort multivalued field in Solr. I have two documents with field custom_code and values are as below, Doc 1 : 11, 78, 45, 22 Doc 2 : 56, 74, 62, 10 When I sort it in ascending order the order should be , Doc 2 : 56, 74, 62, 10 Doc 1 : 11, 78, 45, 22 Here Doc 2 will come fi

Re: Solr custom component issue

2015-05-11 Thread nutchsolruser
These boosting parameters will be configured outside Solr and there is seperate module from which these values get populated , I am reading those values from external datasource and I want to attach them to each request . -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-

Re: Solr custom component issue

2015-05-11 Thread nutchsolruser
I can not set qf in solrconfig.xml file because my qf and boost values will be changing frequently . I am reading those values from external source. Can we not set qf value from searchComponent? Or is there any other way to do this? -- View this message in context: http://lucene.472066.n3.nab

Re: Solr custom component issue

2015-05-11 Thread nutchsolruser
Thanks Upayavira, I tried it by changing it to first-component in solrconfig.xml but no luck . Am I missing something here ? Here I want to add my own qf fields with boost in query. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-custom-component-issue-tp4204799p420

Solr custom component issue

2015-05-11 Thread nutchsolruser
Hi , I am trying to add my own query parameters in Solr query using solr component . In below example I am trying to add qf parameter in the query. Below is my prepare method of component. But Solr is not considering qf parameter while searching It is using df parameter that I have added in schema

Re: Deploying multiple ZooKeeper ensemble on a single machine

2015-04-07 Thread nutchsolruser
I have to choose unique client port #’s for each. Here I can see that you have same client port for all 3 servers. You can refer this link. -- View this message in context: http://lucene.472066.n3.nabble.com/Deploying-multiple-ZooKeeper-

Total term frequency in solr includes deleted documents

2014-10-28 Thread nutchsolruser
Currently I am working on getting term frequency (not document frequency) of term in particular field for whole index. For that I am using function query ttf(field_name,'term'), This returns me total occurrences of term in that field. But It seems it is also considering deleted documents while cal

Solr FilterCache size

2014-10-14 Thread nutchsolruser
I am planning to use FilterCache in my solr setup. Want to know few things regarding Filtercache 1. If my solrconfig.xml doesn't contain any cache configuration , basically I have removed all the cache properties from solrconfig.xml. In this case still caches will be used or not? if yes what is def

Re: Solr range query issue

2014-08-26 Thread nutchsolruser
Sorry, before asking the question I should have done sufficient searching on internet, I found my answer here. http://stackoverflow.com/questions/8883419/solr-alphabetical-range-query Thank You, -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-range-query-issue-tp4155

Solr range query issue

2014-08-26 Thread nutchsolruser
Hi , I Am using solr 4.6.1 . I have name field in my schema and I am sending following query from solr admin UI to solr. which will find names containing characters other english alphabets. -name:[A TO Z] AND -name:[a TO z] In my opinion it should return documents which do not contain name in ra

Re: Adding filter query slows down avg response time

2014-02-28 Thread nutchsolruser
Found and here, may be it's because my filter query is changing for each new user. Better i keep it in main query http://lucene.472066.n3.nabble.com/fq-vs-q-td495570.html -- View this message in context: http://lucene.472066.n3.nabble.com/Adding-filter-query-slows-down-avg-response-time-tp41205

Adding filter query slows down avg response time

2014-02-28 Thread nutchsolruser
I am finding users with same nick name in certain area. when i send both queries in q parameter to solr it works really fast . but if i send location query in fq then it slows down too much. why it is so? why adding fq to query degrades my performance? nickname:"nick name" {!geofilt pt=20.2284,80.

Solr is NoSQL database or not?

2014-02-28 Thread nutchsolruser
You may think this is silly question but let me ask this because i am confused , http://www.lucidworks.com/webinar-solr-4-the-nosql-search-server/ this says Solr is NoSQL but many other links dont have solr in their list as NoSQL database. http://en.wikipedia.org/wiki/NoSQL http://en.wikipedia.o

Phonetic filter factory for indian languages

2012-10-22 Thread nutchsolruser
I was trying to use phonetic filter factory , I have tried all the encoders that are available with solr.PhoneticFilterFactory but none of them is supporting indian languages . Is there any other Filter/Method available so that i can get phonetic representation for indian languages e.g Hindi,tamil,

Re: Starts with Query

2012-06-14 Thread nutchsolruser
Thanks Jack for valuable response,Actually i am trying to match *any* numeric pattern at the start of each document. I dont know documents in index i just want documents title starting with any digit. -- View this message in context: http://lucene.472066.n3.nabble.com/Starts-with-Query-tp3989627

Starts with Query

2012-06-14 Thread nutchsolruser
I want to find documents whose title is starting with digit, what will be solr query for this. I have tried many queries but could not able to configure proper query for this. Note : title is a field in my index. -- View this message in context: http://lucene.472066.n3.nabble.com/Starts-with-Quer

Re: Difference between two solr indexes

2012-04-17 Thread nutchsolruser
I'm Also seeking solution for similar problem. -- View this message in context: http://lucene.472066.n3.nabble.com/Difference-between-two-solr-indexes-tp3916328p3917050.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: SolrJ : Size of solr Results

2012-03-19 Thread nutchsolruser
Hey iorixxx, Thank you. -- View this message in context: http://lucene.472066.n3.nabble.com/SolrJ-Size-of-solr-Results-tp3838555p3838877.html Sent from the Solr - User mailing list archive at Nabble.com.

SolrJ : Size of solr Results

2012-03-19 Thread nutchsolruser
Hi All, QueryResponse rsp = solrServer.query( query ); SolrDocumentList docs = rsp.getResults(); here i am getting docs.size() is 100 how can i change the size. or is there any other way to iterate docs above 100. i am stucked here. Thanks, myauu -- View this message in context: http://lucene.4