Hi All,
 
We are using XQYSP for search term parsing [Really extraordinary concept] 
inside our solution. We want to use comma & whitespace (current scenario it's 
only whitespace) both as tokenizer for creating literals node for proximity 
search but not for other clauses.
Eg.
 
Search Term: "NEAR (cat,dog)" - expected to be parsed as 
 
<root>
       <expression type="prefix" op="NEAR/100">
            <group>
                 <literal>cat</literal>
                 <literal>dog</literal>
            </group>
       </expression>
</root>
where as terms without NEAR cluases should be parsed as 

Search Term Phrase:  "cat,dog" 
<root>
     <literal>cat,dog</literal>
</root>
Any way to move ahead :)

Thanks
Abhishek Srivastav
Tata Consultancy Services
Cell:- +91-9883389968
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to