lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Prathib Kumar <kgprat...@gmail.com>
Subject Question on Solr
Date Wed, 15 Feb 2017 00:39:22 GMT
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.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message