On Fri, May 16, 2008 at 5:26 PM, dharhsana <[EMAIL PROTECTED]> wrote:
> > > hi umar, thanks for ur reply ... > > As per ur sugesstion i have done the search,it perfectly worked well... > > i have two more question > 1) how to delete an id in a solr .... > http://wiki.apache.org/solr/UpdateXmlMessages?highlight=%28update%29 in ur schema.xml, there would be some field named id that is unique and identifies the document record in the index. if u have changed that name to something specific to ur example use the same name in the command to delet all the record you can use : <delete><query>*:*</query></delete> message to delete the documents from the index... u can replace *:* with some other legitimate solr query to do a selective delete. > i tried some example but there is no changes in my index. > > 2) How to use an Analyzer for querying and indexing, for example i have > indexed java1.5,java1.6,java in the index, while iam searching i entered a > query like "what is java", it is not fetching any results ,but only if i > give java or java is object oriented language something like that only i > can > see the result. I have no idea of what analyser i have to use. > use the default schema.xml if u want to match the exact phrase use the field type string if you want loose text match use the fieldtype text these come with predefined analyzer configurations for the purpose. However if you are looking out for soem thing special go thrugh the entire file and i'm sure you will find lots of info in the xml file itself. cheers, -umar > > waiting for ur reply, > > Thank u. > > with regards > Rekha. > > > -- > View this message in context: > http://www.nabble.com/solr-search-tp17249602p17273000.html > Sent from the Solr - User mailing list archive at Nabble.com. > >