Re: A concise way to get just IDs

2006-04-17 Thread Chris Hostetter
: Is there a consise way to query just a single field : from a solr query? At the moment, there isn't anything more concise then what you are already getting. What you can do though, is write a custom request handler that meets your needs. You wouldn't even need to loop over the Documents, you

A concise way to get just IDs

2006-04-17 Thread rm_solr
Is there a consise way to query just a single field from a solr query? I was trying to use solr in a BI application which will allow the dynamic creation of olap cubes based on the results of keyword searches; and in this case I'm not really interested in just the top N results nor the documents

Re: highlighting

2006-04-17 Thread Chris Hostetter
: this to currently be a tricky situation. My hack is just within the : handleRequest method of the request handler and makes a second pass : over the DocList and re-retrieves the Document objects to highlight : them, and adds the highlighted text to additional XML elements in the : response, not

Re: highlighting

2006-04-17 Thread Erik Hatcher
I managed to hack some highlighting into a request handler last night for a quick and dirty application demo, but it is less than ideal. The current situation with XMLWriter actually pulling the Document from the index coupled with the lack of access to the Query causes this to currently