When faced with these sorts of issues, it is worthwhile to step back
and experiment with Solr's analysis page. http://localhost:8983/solr/
admin/analysis.jsp
Select your field type either by name of field or by type, put in
some text, and see what happens to it at both indexing and querying
time.
Erik
On Mar 19, 2008, at 10:08 AM, Tejaswi_Haramurali wrote:
Hi ,
I am facing a problem in using solrj. I am using java (solrj) to
index as
well as search data in the solr search engine.
This is some of the code
exer.setField("name","DOC"+identity);
exer.setField("features","The Mellon Foundation");
exer.setField("language",langmap.get("008lang"));
exer.setField("date",datemap.get("008date"));
exer.setField("format",formatmap.get("formats"));
The problem is , when I do a search on 'Mellon' or any word
associated with
the 'features' field ,I get the results. But However when I do a
search on
any of the other fields, I dont get the results. I have ensured that
indexed=true in schema.xml for all these fields
and have also tried displaying the values I am indexing. I dont
know what
mistake I am committing.
I would be glad if someone could help me on this.
Tejaswi
--
View this message in context: http://www.nabble.com/Faceting-
Problem-tp16144141p16144141.html
Sent from the Solr - User mailing list archive at Nabble.com.