search using particular words

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
ro2124
Posts: 19
Joined: 19 Dec 2014 00:01

search using particular words

Post by ro2124 »

Is there a way to search using particular words, for example´- say a file was called " The big House on the Hill" How could one arrange the search that only files containing "House" and "Hill" are shown Tried various things like putting commas between words etc but cant get it to work. Any advice?

highend
Posts: 13313
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: search using particular words

Post by highend »

:house AND hill

@Don: Is Loose Boolean Match (LBM) currently broken?
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60547
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: search using particular words

Post by admin »

Hmmm, seems like... :evil: ... going to look now...

admin
Site Admin
Posts: 60547
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: search using particular words

Post by admin »

Ah, this has to be ticked:
Configuration | Find and Filter | Find Files & Branch View | Find Files | Enable smart Boolean query parsing

See change log:

Code: Select all

v19.30.0012 - 2018-11-05 16:22
    + Configuration | Find and Filter | Find Files & Branch View | Find Files: 
      Added option "Enable smart boolean query parsing" (previously also 
      referred to as Loose Boolean Match). Tick it to treat a query as Boolean 
      expression if it looks like one. If ticked then e.g.

        " AND " is seen as Boolean AND
        " and " is seen as Boolean AND
        " & "   is seen as Boolean AND
        " "     is seen as Boolean AND

        " OR "  is seen as Boolean OR
        " or "  is seen as Boolean OR
        " | "   is seen as Boolean OR
        ";"     is seen as Boolean OR
        
      If unticked all the characters are just seen as normal parts of the 
      filename, and to have them treated as Boolean operators you have to prefix 
      the Boolean marker ":" to the query (or set Mode to "Boolean" in Find 
      Files). But note that the shorthand operators " " (AND) and ";" (OR) are 
      only recognized in Smart Boolean, not in Explicit Boolean mode.
      Note that this setting affects the parsing of Quick Search pattern as well 
      as Find Files (Name) patterns.
    > Tip: If you are unsure how your query is parsed you can always use this 
      script to reveal it (always returns the last-used query):
        text <get find_queryparsed>;
    * Smart Boolean Query Parsing: In all previous versions, SBQP had been 
      hard-coded to ON. From now on the factory default is OFF.
      Reason: Again and again users had been confused by the smartness. And 
      understandably so. This had been originally implemented because File 
      Explorer does it too (at least in earlier versions, not sure about now).

highend
Posts: 13313
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: search using particular words

Post by highend »

Ahhh. Thanks for clarifying!
One of my scripts helped you out? Please donate via Paypal

ro2124
Posts: 19
Joined: 19 Dec 2014 00:01

Re: search using particular words

Post by ro2124 »

Some useful tips there thanks. But not really being a computer wizard ,still not sure if I'm doing the right thing,

Do I need to put the symbol : before the query as shown in post or just put the "And" between words?

:house AND hill

As for this

---------------------

"this has to be ticked:

Configuration | Find and Filter | Find Files & Branch View | Find Files | Enable smart Boolean query parsing"

------------------------

unfortunately still on trial version so couldn't access configuration.

What I have done in extended search under Find Files have changed the mode to Boolean from Standard , so will it work like that too without configuration setting?

jupe
Posts: 2791
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: search using particular words

Post by jupe »

You have been using the 30 day trial version since 2014...? I guess that "unfortunately" word you used applies to the developer, not to you. :(

admin
Site Admin
Posts: 60547
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: search using particular words

Post by admin »

Yes, that's shocking. I'd suggest you pay for the program you are using for free for 5 years now, then we talk about your usage questions...

highend
Posts: 13313
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: search using particular words

Post by highend »

unfortunately still on trial version so couldn't access configuration
Since when can't we access the configuration while on 30-days trial? That's new to me...
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 60547
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: search using particular words

Post by admin »

That happens after the 30 days are over. And they are certainly over in this case which looks more like a 1800 days trial... :biggrin:

ro2124
Posts: 19
Joined: 19 Dec 2014 00:01

Re: search using particular words

Post by ro2124 »

Yeah, guilty I am afraid :(
Well, really used XY sparingly, had other progs like Cubic Explorer etc and never got round to upgrading XY, but get the point, its a bit cheeky asking questions after all this time. So apologies and I`ll go and stand in the corner for 10 min.
Shall have a look at the upgrade page to get latest info.

Post Reply