displaying Title of a page
1 posts in topic
Flat View  Flat View

Posted By:   alex_wong
Posted On:   Friday, January 10, 2003 07:08 PM

i want to ask how do you display the Title of a page ? as displaying a path is hits.doc(i).get("path") is it something similar ?

Re: displaying Title of a page

Posted By:   Otis_Gospodnetic  
Posted On:   Sunday, January 12, 2003 10:37 AM

The "path" is the name of the field in your example. Similarly, use the same get method to get the title field.
If the field name holding titles is called 'title', do hits.doc(i).get("title");
About | Sitemap | Contact