I think that the closest you get to "scoped" search in your case would be to use filters. (If you index your paths, or if the documents have some standarized format, I assume you could just use one field per element in your document.)

Maybe you could say a bit about you document structure? (If your question is a XML specific parsing question, the Lucene mailing list isn't really right place...)

- Aleksander


On Fri, 14 Nov 2008 17:52:59 +0100, Otis Gospodnetic <[EMAIL PROTECTED]> wrote:

Hi Mayur,

Solr has built-in support for facets. I don't understand what you mean by scoped searches. Could you please give a concrete example?


Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch




________________________________
From: "Bapat, Mayur" <[EMAIL PROTECTED]>
To: java-user@lucene.apache.org
Sent: Friday, November 14, 2008 3:04:12 AM
Subject: Scoped Search and Facets generation using Lucene

Hi,

Does Lucene support Scoped Searches? My intention is to index an XML
String and search for a matching element/attribute value from that XML
by specifying scope(path).
Also is there any direct support for Facets building in Lucene?

Regards,
Mayur

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



--
Aleksander M. Stensby
Senior software developer
Integrasco A/S
www.integrasco.no

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to