Sort by score an int field value

2013-10-04 Thread user 01
I need to sort documents returned in order of (descending)score (descending)value of an int field within the document. How do I ensure proper sort order as well as good performance ? I don't need the sort-order defined by sort=score desc,intField desc. The sort order needs to be somewhat like

Among LatLonType SpatialRecursivePrefixTreeFieldType which one for filtering outside of bounding box?

2013-10-05 Thread user 01
For geospatial search, I need to filter out all points outside of certain radius from a certain point. No need for precise results, Approximation will work for me! No sorting is required either. I see there are two Spatial impls: LatLonType SpatialRecursivePrefixTreeFieldType. But I am sure which

Different document types in different collections OR same collection without sharing fields?

2013-10-05 Thread user 01
Using a single node Solr instance, I need to search for, lets say, electronics items grocery items. But I never want to search both of them together. When I search for electrnoics I don't expect a grocery item ever vice versa. Should I be defining both these document types within a single

Re: Can I use app specific document id as the document id that Solr uses for internal purposes?

2013-10-06 Thread user 01
@Gora: you understood the schema correctly, but I can't believe it's strange but i think it is actually the recommended way.. you index your data but don't store in a Search engine, you store your actual data in DB, which is the right place for it. Data in SE should be just used for indexing.

How to warm up filter queries for a category field with 1000 possible values ?

2013-10-07 Thread user 01
what's the way to warm up filter queries for a category field with 1000 possible values. Would I need to write 1000 lines manually in the solrconig.xml or what is the format?

Re: How to warm up filter queries for a category field with 1000 possible values ?

2013-10-07 Thread user 01
. 2013/10/7 user 01 user...@gmail.com what's the way to warm up filter queries for a category field with 1000 possible values. Would I need to write 1000 lines manually in the solrconig.xml or what is the format?

Fix sort order within an index ?

2013-10-07 Thread user 01
Any way to store documents in a fixed sort order within the indexes of certain fields(either the arrival order or sorted by int ids, that also serve as my unique key), so that I could store them optimized for browsing lists of items ? The order for browsing is always fixed there are no further

Re: Fix sort order within an index ?

2013-10-08 Thread user 01
? On Tue, Oct 8, 2013 at 11:59 AM, Upayavira u...@odoko.co.uk wrote: On Mon, Oct 7, 2013, at 11:09 PM, user 01 wrote: Any way to store documents in a fixed sort order within the indexes of certain fields(either the arrival order or sorted by int ids, that also serve as my unique key), so

Re: Different document types in different collections OR same collection without sharing fields?

2013-10-16 Thread user 01
Can some expert users please leave a comment on this ? On Sun, Oct 6, 2013 at 2:54 AM, user 01 user...@gmail.com wrote: Using a single node Solr instance, I need to search for, lets say, electronics items grocery items. But I never want to search both of them together. When I search

Re: Different document types in different collections OR same collection without sharing fields?

2013-10-16 Thread user 01
PM, user 01 user...@gmail.com wrote: Can some expert users please leave a comment on this ? On Sun, Oct 6, 2013 at 2:54 AM, user 01 user...@gmail.com wrote: Using a single node Solr instance, I need to search for, lets say, electronics items grocery items. But I never want