Can you check my syntax search?

Robert Pavich
Robert Pavich Member Posts: 5,685 ✭✭✭
edited November 21 in English Forum

I'm not sure if the syntax search is broken or I'm just off base...can you look at the screen shot and tell me which it is?

It's a small search for John 3:16 and it looked pretty simple but...

 

Robert Pavich

For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

Tagged:

Comments

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,672 ✭✭✭

    If you want Jn 3:16 as well as Jn 1:1

    Clause - Primary

    CC - Adjunct

    anything

    CC - Predicator

    CC - Subject

    (Drop the Word group and Head Term elements).

    Dave
    ===

    Windows 11 & Android 13

  • davidphillips
    davidphillips Member Posts: 640 ✭✭

    Bob,

    Did you mean John 1:1 (which is on your graph) or 3:16? Dave's advice is correct. The Word Group and Head Term elements are unnecessary. You only have to fill in searches to the right if you want to be specific, otherwise it is assumed that anything will fit. Also, you do not need to put the Anything operator to the right of the search terms. "Anything" is used to separate the vertical elements of a clause, as Dave mentioned in his search. In fact, the reason you're not getting any hits is because you have the "Anything" terms. Remove those and the search will work fine. You should get 282 results, including John 1:1. As Dave mentioned, you can add "Anything" between the Adjunct and predicator to also get John 3:16.

    To clarify. "Anything" is used between vertical members (between siblings of the same parent) to specify that anything else can come between them.

    You only need to fill out the search horizontally if you want to be more speicifc about a particular term. Filling the search to the right (horizontally) is like the difference between saying, "I want to find all male children" and "I want to find all male children with brown hair and blue eyes." Does that make sense?

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    David,

    I did the search without the "anything" also and nothing came up so I dropped the WG and HD elements and it worked.

     

    Q: did we drop them because we have no word level functionality yet?

     

    I had thought that; like v3 if you leave it at "specifier" or whatever it would find all specifiers in this type of structure...???

    So leaving it at word groups and head terms would find "all word groups and head terms functioning in the way they do in John 1:1.....

     

    you can do that in V3....

     

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • davidphillips
    davidphillips Member Posts: 640 ✭✭

    Q: did we drop them because we have no word level functionality yet?

     

    I had thought that; like v3 if you leave it at "specifier" or whatever it would find all specifiers in this type of structure...???

    So leaving it at word groups and head terms would find "all word groups and head terms functioning in the way they do in John 1:1.....

     

    you can do that in V3....

     

    Bob,

    The search should work if you leave the WG and HD elements but remove the Anything. See my pic below. Can you post another screen shot of the failed searches? You are correct that it should, like in V3, find anything more specific that what you specified. You could even include a "word" component, as long as you didn't actually specifiy the "text," "lemma," or "gloss" fields. That's where I've run into problems.

    The reason Dave H correctly suggested dropping them isn't because they should cause problems, but because they're unnecessary. It just adds time and complication since you don't want to specify anything at those levels.

    image

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • davidphillips
    davidphillips Member Posts: 640 ✭✭

    Bob,

    I'm flummoxed! As far as I can tell our searches are exactly the same. I highlighted the search terms as you have, and mine still comes out fine.

    I'll keep playing around to see if I can get mine to fail somehow. Have you tried restarting the program and rebuilding the search from scratch?

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    David,

    Yes..I rebuilt it several times and restarted in between!

     

    Can you screen shot your "internal settings" such as "skips levels" and things....maybe there is a prob there...

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • davidphillips
    davidphillips Member Posts: 640 ✭✭

    All my other boxes are unchecked at each level, except for the highlighting I added to match yours, and yours look like it to. Do you have "skips levels" checked? It doesn't look like you do. I experimented with it for a while, but if you had added anything extra, the screen would show it. I've added a pic of the settings though to confirm that they look the same.

    If you have a minute, why don't you try building a different search. I moved 2 clauses down in John 1:1 (και θεος ην ο λογος) and built that search as specifically as possible, all the way down to the word level. I've attached a pic of that search, will it give you results?

     Every other box is like the one below, with only one check. Have you tried running the search without "Highlight this term in results" checked? It shouldn't make a difference, but it's a try.

    image 

     Here's another search to try, from John 1:1. I get 19 results. I have nothing checked in any of the boxes except what is visible.

    image

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    David...

    I did what you suggested; created a new search to match yours....no dice....do you think I need to re-download the syntax search stuff?

    image

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • davidphillips
    davidphillips Member Posts: 640 ✭✭

    Bob,

    If you're using Beta 1, it might be worth a try, but the syntax downloads were included with beta 2, and the previous download link has been removed (I think). Do you have a second computer you can try this on? It might be worth posting this as an official bug now. There must a problem with your resources [:(]. Unless Dave Hooton has a suggestion, or someone from Logos can comment, I'm out of ideas!

    I guess the other problem might be if you're running Beta 1 and not Beta 2? Maybe the searches run better in 2?

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    David,

    I'm running beta 2.

     

    No other pc to check this on... [:(]

     

    I just posted it as a possible bug

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,672 ✭✭✭

    I guess the other problem might be if you're running Beta 1 and not Beta 2?

    I'm just coming to grips with all this. But I'm running Beta 1 with Syntax etc from the DVD. I get results for this:

    image

    I use defaults for all elements except Word3, where I want Jesus or Man to be highlighted (except I only get results for Jesus - bug??)

    Bob, it may be a bug as you have Beta 2 (and its horrible 1.1 GB download?).

     

     

    Dave
    ===

    Windows 11 & Android 13

  • davidphillips
    davidphillips Member Posts: 640 ✭✭

    Dave,

    Apparently the gloss is case sensitive. If you type "man" it will give you the results, but "Man" will not.  It works the other way too. If you type "jesus" it will miss all the hits for "Jesus." I think I would prefer having the gloss not be case sensative.

    Also, I get 18 hits for Jesus and man.

     

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    David,

    You are running beta 2 and you get results with word level info and I get nothin'?

    It just aint fair....

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • davidphillips
    davidphillips Member Posts: 640 ✭✭

    [:S] I'm sorry. I wish I knew what the problem was! If it makes you feel any better, I still can't search for anything at the lemma level.

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    David and David,

    I figured out what it was...

    I had CUT the "word group-head term" branch from the first branch and PASTED it to the other branches to save time and then ran the search on John 1:1

    results? NO DICE

    I deleted the word-group-head-term branches and created them one by one....and SUCCESS!

     

    And I verified it...it's repeatable.

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,672 ✭✭✭

    figured out what it was...

    Well done! My search now works properly that I have Beta 2, as I agree with David's 18 results.

    Dave
    ===

    Windows 11 & Android 13

  • George Allakhverdyan
    George Allakhverdyan Member Posts: 1,075 ✭✭✭

    figured out what it was...

    Well done! My search now works properly that I have Beta 2, as I agree with David's 18 results.

    Hey guys, I'm not really familiar with how syntax searching works (in fact I don't really study the bible so I'm really lost here) but can you tell me if there is a specific bug or was it user error? Maybe suggest a way we can clear it up?

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    George,

    Ok...first off..."I dont' really study the bible?" We need to talk about that [:D]

     

    I believe that there is a bug; that you can't "cut and paste" parts of a syntax search from one branch to another.

    Not user error...

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • davidphillips
    davidphillips Member Posts: 640 ✭✭

    Yes! Way to go. I'm glad that there was a reason for the error! Glad to hear your searches are working as well, Dave, now that you have Beta 2 [<:o)]

  • Cameron Watters (Faithlife)
    Cameron Watters (Faithlife) Member, Logos Employee Posts: 737

    A couple of notes for those of you testing Syntax Search:

    1) First of all, thanks for all of your investment in testing this feature.

    2) Second, I figured it might be helpful if I posted a list of the *known*, non-crashing, syntax search bugs that I've seen in the forums:

    1. Specifying lemmas on text segments/words doesn't work properly (glosses and surface text should work, though)
    2. Queries using unordered groups may return in zero results
    3. Pasting query branches may corrupt the query, causing it to return zero results
    4. Glosses are currently case sensitive. I've opened a case for this, but, as best as I can tell, this is true in 3.0 as well

    If there are other glaring issues that I haven't listed here, don't hesitate to mention them again.

    3) If you run a search that produces unexpected results (zero results when it should've produced results, incorrect results), please attach your logs when you post to the forum. When you execute a search from a Syntax Search Document, the search is actually written to the log. If I've got that, then I can see exactly what is happening under the hood with your syntax query.

    3a) If you're comparing queries/results between 3.0 and 4.0 (e.g "This query works in 3.0, but doesn't work in 4.0"), it would also be helpful if you posted the 3.0 query XML in addition to the 4.0 log files. Saved syntax searches in 3.0 can be found in your SyntaxQueries sub-directory of your Libronix DLS directory (typically in your Documents directory).

    Thanks again.

    Director of Engineering for Enterprise and Operations

  • Robert Pavich
    Robert Pavich Member Posts: 5,685 ✭✭✭

    Cameron,

    Ah...I see we were a victim of #3..... [:O]

    Robert Pavich

    For help go to the Wiki: http://wiki.logos.com/Table_of_Contents__

  • Dave Hooton
    Dave Hooton Member, MVP Posts: 35,672 ✭✭✭

    I believe that there is a bug; that you can't "cut and paste" parts of a syntax search from one branch to another.

    Not user error...

    I was undecided about this at first. But as Bob does study the bible I'll agree with him!

     

    Dave
    ===

    Windows 11 & Android 13

  • davidphillips
    davidphillips Member Posts: 640 ✭✭


    Specifying lemmas on text segments/words doesn't work properly (glosses and surface text should work, though)

     

    Because of this, running a template search from "search" --> "syntax" --> "template" doesn't work, because you are forced to specify the lemma.

    If you run a template search from "New" --> "Syntax Search" --> "template", it does, because you do not have to specify the lemma.

     

    Also, while specifying surface text does work, it only seems to work if you select the text, not if you type it. I can select θεός and the search will work, but if I try to enter it, it will not. The problem seems to be with accent marks and breathing marks. These work in the morph search, but not here.