Custom Solr Sorting + Query

2018-02-18 Thread ~$alpha`
I want to write a custom Solr query and sorting and when I am calling http://127.0.0.1:8983/solr/techproducts/select?q={!myparsername}12&sort=uid desc, some of the section as marked is not getting called. Issue: Documentation of solr customization is pretty poor Help: Can you please tell why my c

RE: problem with Solr Sorting by score and distance together

2018-01-05 Thread Deepak Udapudi
Subject: Re: problem with Solr Sorting by score and distance together Hi Deepak, As Shawn mentioned, switch your q and fq values above like q=facilityName:"orthodontist"+OR+facilityName:*orthodontist* +OR+facilityName:"paul"+OR+facilityName:*paul*+OR+facilityName:*pa

Re: problem with Solr Sorting by score and distance together

2018-01-04 Thread Susheel Kumar
[provider_collection] > webapp=/solr path=/admin/ping params={wt=javabin&version=2} status=0 QTime=0 > 2018-01-05 00:13:06.891 INFO (qtp1348949648-19) [ x:yelp_collection] > o.a.s.c.S.Request [yelp_collection] webapp=/solr path=/admin/ping > params={wt=javabin&version=2} hit

RE: problem with Solr Sorting by score and distance together

2018-01-04 Thread Deepak Udapudi
on] webapp=/solr path=/admin/ping params={wt=javabin&version=2} hits=13 status=0 QTime=0 2018-01-05 00:13:06.891 INFO (qtp1348949648-19) [ x:yelp_collection] o.a.s.c.S.Request [yelp_collection] webapp=/solr path=/admin/ping params={wt=javabin&version=2} status=0 QTime=0 Request you to

Re: problem with Solr Sorting by score and distance together

2018-01-04 Thread Shawn Heisey
On 1/3/2018 6:16 PM, Deepak Udapudi wrote: Assume that, I am searching for car care centers. Solr collection has the data for all the major car care centers. As an example I search for Firestone car care centers in a 5 miles radius. In the search results I am supposed to receive the firestone

problem with Solr Sorting by score and distance together

2018-01-03 Thread Deepak Udapudi
Hi all, Problem :- Assume that, I am searching for car care centers. Solr collection has the data for all the major car care centers. As an example I search for Firestone car care centers in a 5 miles radius. In the search results I am supposed to receive the firestone car care centers list w

problem with Solr Sorting by score and distance together

2018-01-03 Thread Deepak Udapudi
Hi all, Problem :- Assume that, I am searching for car care centers. Solr collection has the data for all the major car care centers. As an example I search for Firestone car care centers in a 5 miles radius. In the search results I am supposed to receive the firestone car care centers list w

Re: Solr sorting situation!

2013-09-30 Thread Gustav
Anyone with any ideas? -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sorting-situation-tp4091966p4092688.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr sorting situation!

2013-09-25 Thread Gustav
Type desc,ProductHasPrinciples desc, price asc? Which also didnt work, cause it breaks the second rule "Price ascending sorting" Any ideas/suggestions? Thanks :) -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sorting-situation-tp4091966.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr Sorting Algorithm

2013-05-13 Thread Sandeep Mestry
Good Morning All, The alphabetical sorting is causing slight issues as below: I have 3 documents with title value as below: 1) "Acer Palmatum (Tree)" 2) "Aceraceae (Tree Family)" 3) "Acer Pseudoplatanus (Tree)" I have created title_sort field which is defined with field type as alphaNumericalSo

Solr Sorting Not working properly

2013-04-10 Thread lavesh
as something to do with it, but I don't know how to use it. Any help will be greatly appreciated! -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Sorting-Not-working-properly-tp4055052.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr sorting and relevance

2013-03-28 Thread Joel Bernstein
e to me. That alone would return the more relevant > items > >> at the top but once we do a query boost on inventory, wouldn't jeans > (using > >> the aforementioned example) with more inventory that boots appear at > top. > >> > >> > >>

Re: Solr sorting and relevance

2013-03-28 Thread Otis Gospodnetic
once we do a query boost on inventory, wouldn't jeans (using >> the aforementioned example) with more inventory that boots appear at top. >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Solr-sorting-and-relevance-tp4

Re: Solr sorting and relevance

2013-03-28 Thread Joel Bernstein
> > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-sorting-and-relevance-tp4051918p4052122.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Joel Bernstein Professional Services LucidWorks

Re: Solr sorting and relevance

2013-03-28 Thread scallawa
relevant items at the top but once we do a query boost on inventory, wouldn't jeans (using the aforementioned example) with more inventory that boots appear at top. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sorting-and-relevance-tp4051918p4052122.html Sent fro

Re: Solr sorting and relevance

2013-03-27 Thread Joel Bernstein
plained the problem enough for you to get the gist of what > I > am trying to accomplish. > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-sorting-and-relevance-tp4051918.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Joel Bernstein Professional Services LucidWorks

Solr sorting and relevance

2013-03-27 Thread scallawa
for you to get the gist of what I am trying to accomplish. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sorting-and-relevance-tp4051918.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Sorting is not working properly on long Fields

2013-03-24 Thread SUJIT PAL
, Can anyone helpme to get rid out of this problem... > Thanks in Advance > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-Sorting-is-not-working-properly-on-long-Fields-tp4050833.html > Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr sorting is not working properly on long Fields

2013-03-24 Thread ballusethuraman
Yes I did.. But there is no change in result.. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sorting-is-not-working-properly-on-long-Fields-tp4050834p4050844.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr sorting is not working properly on long Fields

2013-03-23 Thread Gora Mohanty
On 24 March 2013 11:56, ballusethuraman wrote: > Hi, I am having a column named 'Kilometers' and when I try to sort with that > it is not working properly. [...] > Initially Kilometers column was having string as datatype and I thought the > problem could be because of that and i changed the datat

Solr sorting is not working properly on long Fields

2013-03-23 Thread ballusethuraman
4 5 Datatypes that I have tried are, Can anyone helpme to get rid out of this problem... Thanks in Advance -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sorting-is-not-working-properly-on-long-Fields-tp4050834.html Sent from the Solr - User mailing list archive at Nabble.com.

Solr Sorting is not working properly on long Fields

2013-03-23 Thread ballusethuraman
rid out of this problem... Thanks in Advance -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-Sorting-is-not-working-properly-on-long-Fields-tp4050833.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: complex Solr Sorting Expression in 4.0 alpha

2012-09-25 Thread lavesh
How to specify a range using if query ? please help me in re-framing this using if query sort=map(sum(SCORE,11),77,77,sum(SCORE,33),sum(SCORE,44)) desc -- View this message in context: http://lucene.472066.n3.nabble.com/complex-Solr-Sorting-Expression-in-4-0-alpha-tp4010160p4010188.html

Re: complex Solr Sorting Expression in 4.0 alpha

2012-09-25 Thread Jack Krupansky
rt to "if" functions. -- Jack Krupansky -Original Message- From: lavesh Sent: Tuesday, September 25, 2012 9:58 AM To: solr-user@lucene.apache.org Subject: complex Solr Sorting Expression in 4.0 alpha I want to perform complex sorting expression for which i have upgraded to solr-apl

complex Solr Sorting Expression in 4.0 alpha

2012-09-25 Thread lavesh
View this message in context: http://lucene.472066.n3.nabble.com/complex-Solr-Sorting-Expression-in-4-0-alpha-tp4010160.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr Sorting & Caching

2012-09-11 Thread Amey Patil
>Are you using a TrieDateField for the dates? Yes >Consider creating and re-using a filter for the keywords and let the >query consist of the date range only. In this case, do I have to configure any cache or solr's default configurations are enough? >Guessing here: You request all the results fr

Re: Solr Sorting & Caching

2012-09-11 Thread Toke Eskildsen
On Tue, 2012-09-11 at 08:00 +0200, Amey Patil wrote: > Our solr index (Solr 3.4) has over 100 million docuemnts. [...] > *((keyword1 AND keyword2...) OR (keyword3 AND keyword4...) OR ...) AND > date:[date1 TO *]* > No. of keywords can be in the range of 100 - 1000. > We are adding sort parameter *'

Solr Sorting & Caching

2012-09-10 Thread Amey Patil
Our solr index (Solr 3.4) has over 100 million docuemnts. We frequently fire one type of query on this index to get documents, do some processing and dump in another index. Query is of the form - *((keyword1 AND keyword2...) OR (keyword3 AND keyword4...) OR ...) AND date:[date1 TO *]* No. of keywo

Re: Solr sorting question to boost a certain field first

2012-02-29 Thread Mike Austin
Boom! This works: sort=map(query($qq,-1),0, , 1)+desc,score+desc&qq=domain:domainA Thanks, Mike On Wed, Feb 29, 2012 at 3:45 PM, Mike Austin wrote: > I have content that I index for several different domains. What I'd like > to do is have all search results found for domainA returned

Solr sorting question to boost a certain field first

2012-02-29 Thread Mike Austin
I have content that I index for several different domains. What I'd like to do is have all search results found for domainA returned first and results for domainB,C,D..etc.. returned second. I could do two different searches but was wondering if there was a way to only do one query but return res

Re: Solr sorting issue : can not sort on multivalued field

2011-12-07 Thread pravesh
Was that field multivalued="true" earlier by any chance??? Did you rebuild the index from scratch after changing it to multivalued="false" ??? Regards Pravesh -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-sorting-issue-can-not-sort-

Solr sorting issue : can not sort on multivalued field

2011-12-06 Thread Ramesh kumar Velusamy
Hi, I am getting this weird error message `can not sort on multivalued field: fieldname` on all the indexed fields. This is the full error message from solr HTTP Status 400 - can not sort on multivalued field: pricetype Status reportmessagecan not sort on multivalued field: pricedescripti

Re: solr sorting on multiple conditions, please help

2011-05-19 Thread Chris Hostetter
: sort=query({!v="area_id: 78153"}) desc, score desc : : What I want to achieve is sort by if there is a match with area_id, then : sort by the actual score I think you can use the "map" function here to map all scores greater then zero (matching docs) to some fixed value. something like this

Re: solr sorting problem

2011-05-02 Thread Erick Erickson
.2&start=0&rows=10&indent=on > > Cache could not be a problem as it did not fetch any records from the very > begining. > > So, basically it does not fetch any documents/records whereas it does index > them. > > Thanks > Pratik > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2889075.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: solr sorting problem

2011-05-02 Thread Pratik
Hi, Were you able to sort the results using alphaOnlySort ? If yes what changes were made to the schema and data-config ? Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2889473.html Sent from the Solr - User mailing list archive at

Re: solr sorting problem

2011-05-02 Thread Pratik
So, basically it does not fetch any documents/records whereas it does index them. Thanks Pratik -- View this message in context: http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2889075.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: solr sorting problem

2011-05-01 Thread Lance Norskog
on't work > > Thanks -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2886248.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Lance Norskog goks...@gmail.com

Re: solr sorting problem

2011-05-01 Thread Pratik
ColXYZ My data-config looks like :- In which scenarios would SOLR index the records/documents but the search won't work Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2886248.html Sent from the Solr - User mailing list archive at Nabble.com.

solr sorting on multiple conditions, please help

2011-04-25 Thread James Lin
Hi Folks, I got a problem on solr sorting as below: sort=query({!v="area_id: 78153"}) desc, score desc What I want to achieve is sort by if there is a match with area_id, then sort by the actual score problem is, area_id is a multiple value, the result I am getting does not sort by

Re: solr sorting problem

2011-04-22 Thread Erick Erickson
ng alphaname ... i get this error :- > The field :foodDesc present in DataConfig does not have a counterpart in > Solr Schema > > Please help > > Thanks > Pratik > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/solr-sorting-problem-tp486144p2851229.html > Sent from the Solr - User mailing list archive at Nabble.com. >

Re: solr sorting problem

2011-04-22 Thread Pratik
name "foodDescUS" to "alphaname". When i try to sort using alphaname ... i get this error :- The field :foodDesc present in DataConfig does not have a counterpart in Solr Schema Please help Thanks Pratik -- View this message in context: http://lucene.472066.n3.nabble.

Re: Solr sorting

2011-03-14 Thread Ahmet Arslan
--- On Mon, 3/14/11, Denis Kuzmenok wrote: > From: Denis Kuzmenok > Subject: Re: Solr sorting > To: "Ahmet Arslan" > Date: Monday, March 14, 2011, 12:24 PM > > > --- On Mon, 3/14/11, Denis Kuzmenok > wrote: > > >> From: Denis Kuzmenok

Re: Solr sorting

2011-03-14 Thread Denis Kuzmenok
> --- On Mon, 3/14/11, Denis Kuzmenok wrote: >> From: Denis Kuzmenok >> Subject: Solr sorting >> To: solr-user@lucene.apache.org >> Date: Monday, March 14, 2011, 10:23 AM >> Hi. >> Is there any way to make such scheme working: >> I  have  many 

Re: Solr sorting

2011-03-14 Thread Ahmet Arslan
--- On Mon, 3/14/11, Denis Kuzmenok wrote: > From: Denis Kuzmenok > Subject: Solr sorting > To: solr-user@lucene.apache.org > Date: Monday, March 14, 2011, 10:23 AM > Hi. > Is there any way to make such scheme working: > I  have  many  documents,  each  > has  a  rando

Solr sorting

2011-03-14 Thread Denis Kuzmenok
Hi. Is there any way to make such scheme working: I have many documents, each has a random field to enable random sorting, and i have a weight field. I want to get random results, but documents with bigger weight should appear more frequently. Is that possible? Thanks, in advance.

Re: Solr sorting problem

2010-10-27 Thread Ron Mayer
Savvas-Andreas Moysidis wrote: > In my understanding sorting on a field for which analysis has yielded > multiple terms just doesn't make sense.. > If you have document#1 with a field A which has the terms Epsilon, Alpha, > and document#2 with field A which has the terms Beta, Delta and request > a

RE: Solr sorting problem

2010-10-27 Thread Toke Eskildsen
Jonathan Rochkind [rochk...@jhu.edu] wrote: > I too sometimes have similar use cases, and my best ideas about how to > solve them involve using faceting --- you can facet on a multi-valued > field, and you can sort facets--but you can only sort facets by "index > order", a strict byte-by-byte sort.

Re: Solr sorting problem

2010-10-27 Thread Lance Norskog
You may not sort on a tokenized field. You may not sort on a multiValued field. You can only have one term in a field. If there are more search terms than documents, A) sorting doesn't mean anything and B) Lucene will throw an exception. Erick Erickson wrote: In general, the behavior when so

Re: Solr sorting problem

2010-10-26 Thread Ron Mayer
Erick Erickson wrote: > In general, the behavior when sorting is not predictable when > sorting on a tokenized field, which "text" is. What would > it mean to sort on a field with "erick" "Moazzam" as tokens > in a single document? Should it be in the "e"s or the "m"s? Might it be possible or reas

Re: Solr sorting problem

2010-10-23 Thread Erick Erickson
In general, the behavior when sorting is not predictable when sorting on a tokenized field, which "text" is. What would it mean to sort on a field with "erick" "Moazzam" as tokens in a single document? Should it be in the "e"s or the "m"s? That said, you probably want to watch out for case Be

Re: Solr sorting problem

2010-10-22 Thread Moazzam Khan
For anyone who faced the same problem, changing the field to string from text worked! -Moazzam On Fri, Oct 22, 2010 at 8:50 AM, Moazzam Khan wrote: > The field type of the first name and last name is text. Could that be > why it's not sorting properly? I just changed it to string and started > a

Re: Solr sorting problem

2010-10-22 Thread Moazzam Khan
The field type of the first name and last name is text. Could that be why it's not sorting properly? I just changed it to string and started a full-import. Hopefully that will work. Thanks, Moazzam On Thu, Oct 21, 2010 at 7:42 PM, Jayendra Patil wrote: > need additional information . > Sorti

Re: Solr sorting problem

2010-10-21 Thread Jayendra Patil
need additional information . Sorting is easy in Solr just by passing the sort parameter However, when it comes to text sorting it depends on how you analyse and tokenize your fields Sorting does not work on fields with multiple tokens. http://wiki.apache.org/solr/FAQ#Why_Isn.27t_Sorting_Worki

Solr sorting problem

2010-10-21 Thread Moazzam Khan
Hey guys, I have a list of people indexed in Solr. I am trying to sort by their first names but I keep getting results that are not alphabetically sorted (I see the names starting with W before the names starting with A). I have a feeling that the results are first being sorted by relevancy then s

Re: Solr Sorting, merging/weighting sort fields

2008-11-16 Thread lajkonik86
dSource) >> // Others use implicit ord(...) to generate numeric field value >> myfield >> >> you are correct about 0.5 being the boost, using either the _val_ hack on >> the SolrQueryParser or using he bf param of dismax the ^0.5 will be used >> as a boost on the resu

RE: Out of memory on Solr sorting

2008-08-05 Thread sundar shankar
Oh Wow, I didnt know that was the case. I am completely left baffled now. BAck to square one I guess. :) > Date: Tue, 5 Aug 2008 14:31:28 -0700> From: [EMAIL PROTECTED]> To: > solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > > Sundar, very

RE: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
Sundar, very strange that increase of size/initialSize of LRUCache helps with OutOfMemoryError... 2048 is number of entries in cache and _not_ 2Gb of memory... Making size==initialSize of HashMap-based LRUCache would help with performance anyway; may be with OOMs (probably no need to resize

RE: Out of memory on Solr sorting

2008-08-05 Thread sundar shankar
reinexing, replaving the text_ws to string and having the default size of all 3 caches to 512 and seeing if the problem goes away. -Sundar > Date: Tue, 5 Aug 2008 14:05:05 -0700> From: [EMAIL PROTECTED]> To: > solr-user@lucene.apache.org> Subject: Re: Out of memory on Solr sorti

Re: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
I know, and this is strange... I was guessing filterCache is used implicitly to get DocSet for token; as Sundar wrote, increase of LRUCache helped him (he is sorting on 'text-ws' field) -Fuad If increasing LRU cache helps you: - you are probably using 'tokenized' field for sorting (could you

Re: Out of memory on Solr sorting

2008-08-05 Thread Yonik Seeley
On Tue, Aug 5, 2008 at 1:59 PM, Fuad Efendi <[EMAIL PROTECTED]> wrote: > If increasing LRU cache helps you: > - you are probably using 'tokenized' field for sorting (could you confirm > please?)... Sorting does not utilize any Solr caches. -Yonik

RE: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
Best choice for sorting field: sortMissingLast="true" omitNorms="true"> - case-insentitive etc... I might be partially wrong about SOLR LRU Cache but it is used somehow in your specific case... 'filterCache' is probably used for 'tokenized' sorting: it stores (token, DocList)...

RE: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
My understanding of Lucene Sorting is that it will sort by 'tokens' and not by 'full fields'... so that for sorting you need 'full-string' (non-tokenized) field, and to search you need another one tokenized. For instance, use 'string' for sorting, and 'text_ws' for search; and use 'copyFiel

RE: Out of memory on Solr sorting

2008-08-05 Thread sundar shankar
The field is of type "text_ws". Is this not recomended. Should I use text instead? > Date: Tue, 5 Aug 2008 10:58:35 -0700> From: [EMAIL PROTECTED]> To: [EMAIL > PROTECTED]> Subject: RE: Out of memory on Solr sorting> > Hi Sundar,> > > If > increasi

RE: Out of memory on Solr sorting

2008-08-05 Thread Fuad Efendi
Hi Sundar, If increasing LRU cache helps you: - you are probably using 'tokenized' field for sorting (could you confirm please?)... ...you should use 'non-tokenized single-valued non-boolean' for better performance of sorting... Fuad Efendi == http://www.tokenizer.org Quo

RE: Out of memory on Solr sorting

2008-08-05 Thread sundar shankar
. Sundar > From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of > memory on Solr sorting> Date: Tue, 29 Jul 2008 10:43:05 -0700> > A sneaky > source of OutOfMemory errors is the permanent generation. If you> add this:> > -XX:PermSize

RE: Out of memory on Solr sorting

2008-07-29 Thread Lance Norskog
that is not reclaimed, and so each undeploy/redeploy cycle eats up the permanent generation pool. -Original Message- From: david w [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2008 7:20 AM To: solr-user@lucene.apache.org Subject: Re: Out of memory on Solr sorting Hi, Daniel I got the

Re: Out of memory on Solr sorting

2008-07-29 Thread david w
unning on this > 2Gb heap VM. > > Cheers, > Daniel > > -Original Message- > From: sundar shankar [mailto:[EMAIL PROTECTED] > Sent: 23 July 2008 23:45 > To: solr-user@lucene.apache.org > Subject: RE: Out of memory on Solr sorting > > > Hi Daniel, >

RE: Out of memory on Solr sorting

2008-07-29 Thread Daniel Alheiros
have a 3.5 million documents (aprox. 10Gb) running on this 2Gb heap VM. Cheers, Daniel -Original Message- From: sundar shankar [mailto:[EMAIL PROTECTED] Sent: 23 July 2008 23:45 To: solr-user@lucene.apache.org Subject: RE: Out of memory on Solr sorting Hi Daniel, I am a

RE: Out of memory on Solr sorting

2008-07-23 Thread sundar shankar
-Xmx2048m -XX:MinHeapFreeRatio=50 -XX:NewSize=1024m -XX:NewRatio=2 -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 Jboss 4.05 > Subject: RE: Out of memory on Solr sorting > Date: Wed, 23 Jul 2008 10:49:06 +0100 > From: [EMAIL PROTECTED] > T

RE: Out of memory on Solr sorting

2008-07-23 Thread Daniel Alheiros
Sent: 22 July 2008 23:23 To: solr-user@lucene.apache.org Subject: RE: Out of memory on Solr sorting Yes, it is a cache, it stores "sorted" by "sorted field" array of Document IDs together with sorted fields; query results can intersect with it and reorder accordingly. But memory requirement

Re: Out of memory on Solr sorting

2008-07-23 Thread Norberto Meijome
On Tue, 22 Jul 2008 20:19:49 + sundar shankar <[EMAIL PROTECTED]> wrote: > Thanks for the explanation mark. The reason I had it as 512 max was cos > earlier the data file was just about 30 megs and it increased to this much > for of the usage of EdgeNGramFactoryFilter for 2 fields. Thats gre

RE: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
t least in case of field level sorting? I could be wrong too and the implementation might probably be better. But don't know why all of the fields have had to be loaded. Date: Tue, 22 Jul 2008 14:26:26 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject

RE: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
n might probably be better. But don't know why all of the fields have had to be loaded. Date: Tue, 22 Jul 2008 14:26:26 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: Re: Out of memory on Solr sorting> > > Ok, after some analysis of Fi

RE: Out of memory on Solr sorting

2008-07-22 Thread sundar shankar
hy all of the fields have had to be loaded. > Date: Tue, 22 Jul 2008 14:26:26 -0700> From: [EMAIL PROTECTED]> To: > solr-user@lucene.apache.org> Subject: Re: Out of memory on Solr sorting> > > > Ok, after some analysis of FieldCacheImpl:> > - it is sup

Re: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
e. Queries with bigger results seems to come out fine too. But why just sort of that too just 10 rows?? -Sundar Date: Tue, 22 Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> >

Re: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
hat too just 10 rows?? -Sundar Date: Tue, 22 Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > org.apache.lucene.search.FieldCacheImpl$10.createValue(FieldCacheImpl.ja

RE: Out of memory on Solr sorting

2008-07-22 Thread sundar shankar
Thanks for your help Mark. Lemme explore a little more and see if some one else can help me out too. :) > Date: Tue, 22 Jul 2008 16:53:47 -0400> From: [EMAIL PROTECTED]> To: > solr-user@lucene.apache.org> Subject: Re: Out of memory on Solr sorting> > > Someone else

Re: Out of memory on Solr sorting

2008-07-22 Thread Mark Miller
. The dev is a linux with over 2 Gigs of memory and 1024 allocated to heap now. :S -Sundar Date: Tue, 22 Jul 2008 13:17:40 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: Re: Out of memory on Solr sorting> > Mark,> > Question: how much memory

RE: Out of memory on Solr sorting

2008-07-22 Thread sundar shankar
ect: Re: Out of memory on Solr sorting> > > Mark,> > Question: how much memory I need for 25,000,000 docs if I do a sort > by > field, 256 bytes. 6.4Gb?> > > Quoting Mark Miller <[EMAIL > PROTECTED]>:> > > Because to sort efficiently, Solr loads th

Re: Out of memory on Solr sorting

2008-07-22 Thread Mark Miller
Date: Tue, 22 Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > org.apache.lucene.search.FieldCacheImpl$10.createValue(FieldCacheImpl.java:403)> > - this piece of code do not request Array[1

Re: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
ies with bigger results seems to come out fine too. But why just sort of that too just 10 rows?? -Sundar Date: Tue, 22 Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > org.apac

Re: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
Mark, Question: how much memory I need for 25,000,000 docs if I do a sort by field, 256 bytes. 6.4Gb? Quoting Mark Miller <[EMAIL PROTECTED]>: Because to sort efficiently, Solr loads the term to sort on for each doc in the index into an array. For ints,longs, etc its just an array the siz

Re: Out of memory on Solr sorting

2008-07-22 Thread Mark Miller
ws?? -Sundar Date: Tue, 22 Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > org.apache.lucene.search.FieldCacheImpl$10.createValue(FieldCacheImpl.java:403)> > - this piece of code d

RE: Out of memory on Solr sorting

2008-07-22 Thread sundar shankar
posted on the turn arounds.Thanks-Sundar> Date: Tue, 22 Jul 2008 15:46:04 -0400> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: Re: Out of memory on Solr sorting> > Because to sort efficiently, Solr loads the term to sort on for each doc > in the ind

RE: Out of memory on Solr sorting

2008-07-22 Thread sundar shankar
solr-user@lucene.apache.org > Subject: Re: Out of memory on Solr sorting > > Because to sort efficiently, Solr loads the term to sort on for each doc > in the index into an array. For ints,longs, etc its just an array the > size of the number of docs in your index (i believe deleted or not). For

Re: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > org.apache.lucene.search.FieldCacheImpl$10.createValue(FieldCacheImpl.java:403)> > - this piece of code do not request Array[100M] (as I se

Re: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
igger results seems to come out fine too. But why just sort of that too just 10 rows?? -Sundar Date: Tue, 22 Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > org.apache.lucene.search.FieldCa

Re: Out of memory on Solr sorting

2008-07-22 Thread Mark Miller
Date: Tue, 22 Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > org.apache.lucene.search.FieldCacheImpl$10.createValue(FieldCacheImpl.java:403)> > - this piece of code do not request Array[100M] (as

RE: Out of memory on Solr sorting

2008-07-22 Thread sundar shankar
sort of that too just 10 rows?? -Sundar > Date: Tue, 22 Jul 2008 12:24:35 -0700> From: [EMAIL PROTECTED]> To: > solr-user@lucene.apache.org> Subject: RE: Out of memory on Solr sorting> > > org.apache.lucene.search.FieldCacheImpl$10.createValue(FieldCacheImpl.java:403)>

RE: Out of memory on Solr sorting

2008-07-22 Thread Fuad Efendi
shankar <[EMAIL PROTECTED]>: From: [EMAIL PROTECTED] To: solr-user@lucene.apache.org Subject: Out of memory on Solr sorting Date: Tue, 22 Jul 2008 19:11:02 + Hi, Sorry again fellos. I am not sure whats happening. The day with solr is bad for me I guess. EZMLM didnt let me send any

RE: Out of memory on Solr sorting

2008-07-22 Thread sundar shankar
> From: [EMAIL PROTECTED] > To: solr-user@lucene.apache.org > Subject: Out of memory on Solr sorting > Date: Tue, 22 Jul 2008 19:11:02 + > > > Hi, > Sorry again fellos. I am not sure whats happening. The day with solr is bad > for me I guess. EZMLM didnt

Out of memory on Solr sorting

2008-07-22 Thread sundar shankar
Hi, SOrry again fellos. I am not sure whats happening. The day with solr is bad for me I guess. EZMLM didnt let me send any mails this morning. Asked me to confirm subscription and when I did, it said I was already a member. Now my mails are all coming out bad. Sorry for troubling y'all this ba

Re: solr sorting question

2008-05-28 Thread Alexander Ramos Jardim
e grouped in ascending order. But > i > want certain categories to come up first in the sort order. I don't want > them to be grouped in ascending order. Please shed some light anyone. How > to > do it. Is it possible? > -- > View this message in context: > http://www.

solr sorting question

2008-05-27 Thread anuvenk
tain categories to come up first in the sort order. I don't want them to be grouped in ascending order. Please shed some light anyone. How to do it. Is it possible? -- View this message in context: http://www.nabble.com/solr-sorting-question-tp17498596p17498596.html Sent from the Solr - Use

Re: solr sorting problem

2008-05-23 Thread pmg
riginal Message >> From: pmg <[EMAIL PROTECTED]> >> To: solr-user@lucene.apache.org >> Sent: Thursday, May 22, 2008 10:19:52 PM >> Subject: Re: solr sorting problem >> >> >> I forgot to mention that I made changes to schema after indexing. >

Re: solr sorting problem

2008-05-23 Thread Otis Gospodnetic
e.org > Sent: Thursday, May 22, 2008 10:19:52 PM > Subject: Re: solr sorting problem > > > I forgot to mention that I made changes to schema after indexing. > > > pmg wrote: > > > > I have problem sorting solr results. Here is my solr confi

Re: solr sorting problem

2008-05-22 Thread pmg
> > select/?&rows=100&start=0&q=artistId:100346%20AND%20type:track&sort=alphaTrackSort%20desc&fl=track > > does not sort track. > > Don't understand what is missing from config > -- View this message in context: http://www.nabble.com/solr-sorting-problem-tp17417394p17417408.html Sent from the Solr - User mailing list archive at Nabble.com.

solr sorting problem

2008-05-22 Thread pmg
fig -- View this message in context: http://www.nabble.com/solr-sorting-problem-tp17417394p17417394.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: SOLR sorting - question

2007-12-04 Thread Kasi Sankaralingam
Thanks a ton, that worked -Original Message- From: Ryan McKinley [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 04, 2007 3:08 PM To: solr-user@lucene.apache.org Subject: Re: SOLR sorting - question Kasi Sankaralingam wrote: > Do I need to select the fields in the query that I

Re: SOLR sorting - question

2007-12-04 Thread Ryan McKinley
Kasi Sankaralingam wrote: Do I need to select the fields in the query that I am trying to sort on?, for example if I want sort on update date then do I need to select that field? I don't think so... are you getting an error? I run queries like: /select?q=*:*&fl=name&sort=added desc without p

  1   2   >