On 11.7.2012 8:56, ashish bhatt wrote:
HI Lubos,

Thanks for the reply :)..it helped .but for a long string like "no space left on device" how will it be applicable??

I think you can just search for
"no space left on device"
(with the quotes)

and it will yield the same result (as ~1), e.g.
http://src.opensolaris.org/source/search?q=%22no+space+left+on+device%22&project=onnv&defs=&refs=&path=&hist=


--
L

Regards

Ashish

On Wed, Jul 11, 2012 at 12:12 PM, Lubos Kosco <lubos.ko...@oracle.com <mailto:lubos.ko...@oracle.com>> wrote:

    On 11.7.2012 8:14, ashish bhatt wrote:
    Hi All,

    I am new to this software ,I want to know can we search the full
    string in the whole source,as now if I am searching "Ashish
    Kumar" it is giving the
    results for both the string "Ashish" and "kumar" , I want the
    results only which contain"Ashish Kumar",Is there any way to do it??

    I know of a way - using proximity search query
    so you'd search for "Ashish Kumar"~1
    (or ~2 ?)

    - ~ is a proximity search meaning those 2 terms(tokens) are not
    away from each other for more than 1(2) terms
    more in help page, e.g. http://src.opensolaris.org/source/help.jsp

    hth :)
    L


    Regards
    Ashish


    _______________________________________________
    opengrok-discuss mailing list
    opengrok-discuss@opensolaris.org  <mailto:opengrok-discuss@opensolaris.org>
    http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss





_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to