I tested the setup you described and got the expected results so I will
require some more information to determine why it isn't working on your
1. Where in the schema.xml file did you put your fields, I put mine just
below the copyField lines for dc.creator.
2. What is the exact solr query you are trying to execute ?
3. In your solr index, are there any values present in the var field ?
Ps: the "search.index.x" properties in the dspace.cfg aren't used by
discovery, the solr discovery index indexes all metadata fields.
Kevin Van de Velde
@mire - http://www.atmire.com
533 2nd Street - Encinitas, CA 92024 - USA
Technologielaan 9 - 3001 Heverlee - Belgium
http://www.atmire.com - Institutional Repository Solutions
http://www.togather.eu - Before getting together, get Tog@...
On 25 January 2011 15:20, Mckeane Thomas <mckeane.thomas@...> wrote:
> I have two instances of dspace installed on my machine, dspace 1.7.0
> and dspace 1.6.2. The discovery patch has been applied to dspace 1.6.2 to
> facilitate range queries. Range queries works as expected from both solr
> admin search interface and from dspace xmlui interface. However, range
> queries doesn't seem to work with dspace 1.7.0, when I "turned on" the
> Discovery module as outlined in the documentation, and added the following
> the following to the schema.xml file found at [dspace]/solr/search/conf.
> <field name = "var" type = "int" indexed ="true" stored ="true" multiValued
> ="true" omitNorms ="true" />
> <copyField source="dc.format.extent" dest="var"/>
> <field name = "dc.format.extent" type = "int" indexed = "true" stored =
> "true" multiValued = "true"/>
> and also added the following index to [dspace]/conf dspace.cfg file.
> "search.index.13 = var:dc.format.extent"
> After running the update-discovery-index and the trying range searches
> similar to those done with dspace 1.6.2, the results returned are not
> within ranges specified.
> In discovery solr is used for indexing and searching which should provide
> support for range queries from my standpoint.
> I downloaded solr 1.4.1 and tried range searches and it worked as expected.
> Could someone tell me what I need to do or what I have done wrong.
> Any help with this would be greatly appreciated.
> Best Regards,
> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
> Finally, a world-class log management solution at an even better
> Download using promo code Free_Logger_4_Dev2Dev. Offer expires
> February 28th, so secure your free ArcSight Logger TODAY!
> DSpace-tech mailing list