Question on Solr

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Question on Solr

Prathib Kumar
Hi,

We are evaluating solr to see if it can help to do a search of the xml
snippets from the whole xml doc.

For Ex:
Document-1:

<Book>
   <author>Prathib</author>
   <title>Java</title>
   <city>san jose</city>
    <state>CA</state>
<Book>

Document-2:
<Book>
   <author>Joe</author>
   <title>C++</title>
   <city>chennai</city>
    <state>TN</state>
<Book>

Document-3:
<Book>
   <author>Ramu</author>
   <title>Python</title>
   <city>LosAngeles</city>
    <state>CA</state>
<Book>


My Search string is another XML doc which could be like.

Query-1:
<Book>
    <city> san jose</city>
</Book>

Query-2:
<Book>
   <state>CA</state>
</Book>

I have broken this down for simplicity, in reality our xmls are nested and
have many attributes on each tag.

To continue the evaluation of solr, can you please help me from where I
could start the analysis ?

Note : currently our xml document doesnt adhere to any schema but we could
create a schema if required.



Regards
Prathib Kumar.