Solr sort by fixed id list

2014-09-04 Thread davyme
Hi, 

I'm search Solr by querying a list of id's. I want to get the solr search
results in the same order as the id list in the query. Can this be done? 

Thanks! 
Davy



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-sort-by-fixed-id-list-tp4156854.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr sort by fixed id list

2014-09-04 Thread davyme
And how would I do that?

What I've done until now, is sort by query function, with increasing boosts,
eg:
sort=query({!v=id:(1^1 OR 2^2 OR 3^3 OR 4^4 OR )})+asc

But this isn't very performant. When using +-7000 id's it will take about a
minute for Solr to find results.

I'm actually looking for a more effencient way.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-sort-by-fixed-id-list-tp4156854p4156888.html
Sent from the Solr - User mailing list archive at Nabble.com.


Facets not supporting multi language?

2014-09-11 Thread davyme
Hi,

I have 3 languages indexed in the same core. My core contains recipes with
seperate recipe properties on which I use faceting.
Example:
- property "dietary": EN: vegetarian, FR: vegetarien, NL: vegetarisch
- property "dish": EN: man dish, FR: plat principal, NL: hoofdgerecht

In my q parameter, I query the language: language:EN but facets return all
languages mixed up anayway.

Is this normal behavior and how can I get or filter facets in one language
only without splitting up fields or core?

Thanks!
Davy




--
View this message in context: 
http://lucene.472066.n3.nabble.com/Facets-not-supporting-multi-language-tp4158143.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Facets not supporting multi language?

2014-09-12 Thread davyme
The reason why I'm asking this is because I have no influence on the fields
that are indexed. The CMS automatically does that. So there is no way for me
to split up languages in seperate fields. 

I can change the scheme.xml, but I don't know if there is a way to copy
fields into seperate language fields.

So if there is a way without splitting fields, I would like to know it.

Thanks!



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Facets-not-supporting-multi-language-tp4158143p4158394.html
Sent from the Solr - User mailing list archive at Nabble.com.