working with collection : Where is default schema.xml

2011-03-20 Thread geag34
Hello.

I am working with collection.
When I do a new collection I would like a custom schema.xml to be generated.
And not the default schema.xml. 

How can I do that?

Thanks
Nicolas 

--
View this message in context: 
http://lucene.472066.n3.nabble.com/working-with-collection-Where-is-default-schema-xml-tp2700455p2700455.html
Sent from the Solr - User mailing list archive at Nabble.com.


How to upgrade to Solr4.0 to use Result Grouping?

2011-03-20 Thread Ruixiang Zhang
I want to use the Result Grouping feature that's only available for Solr4.0.
Currently, I have Solr1.4.1 installed.
I want to know how to upgrade it to Solr4.0 so that I can use Result
Grouping?

Thanks a lot!!!
Richard


Re: DIH Issue(newbie to solr)

2011-03-20 Thread Gora Mohanty
(Sorry for the delay in replying: Was a little busy this weekend.)
On Sun, Mar 20, 2011 at 5:20 AM, neha pneha...@yahoo.com wrote:
 The path is correct and also the base dir points to the list of .xml files
 not just a single file.

OK.

 This is the link to the xml file:

Another thing that I see is that the xpath in your field entries
is a relative one. I think, though am not 100% sure, that it needs
to be an absolute one, i.e., xpath=/sciserv/sci_article/journal/issn,
instead of xpath=/journal/issn.

Please take a look at the setup for XPathEntityProcessor in
example/example-DIH/solr/rss/conf/rss-data-config.xml under
the main Solr data directory. You can compare the xpath
definitions to the structure of the XML in the Atom feed that
it indexes.

Regards,
Gora


Re: DIH Issue(newbie to solr)

2011-03-20 Thread Lance Norskog
In general, it works best to start with one of the examples and slowly
change it to match what you want.

On Sun, Mar 20, 2011 at 10:16 PM, Gora Mohanty g...@mimirtech.com wrote:
 (Sorry for the delay in replying: Was a little busy this weekend.)
 On Sun, Mar 20, 2011 at 5:20 AM, neha pneha...@yahoo.com wrote:
 The path is correct and also the base dir points to the list of .xml files
 not just a single file.

 OK.

 This is the link to the xml file:

 Another thing that I see is that the xpath in your field entries
 is a relative one. I think, though am not 100% sure, that it needs
 to be an absolute one, i.e., xpath=/sciserv/sci_article/journal/issn,
 instead of xpath=/journal/issn.

 Please take a look at the setup for XPathEntityProcessor in
 example/example-DIH/solr/rss/conf/rss-data-config.xml under
 the main Solr data directory. You can compare the xpath
 definitions to the structure of the XML in the Atom feed that
 it indexes.

 Regards,
 Gora




-- 
Lance Norskog
goks...@gmail.com