hpmartin Show full post »
hpmartin
Hello Harlan,

I am sorry to say that I already set the 3 minimumScore-parameters in the SearchEngine.xml-file to 0.00 a long time ago and restarted and reindexed PB several times since then. so there has to be another cause for this problem.

Regards
Alex
Quote
Harlan
Alex, are you sure you modified the right file? Do you have multiple installations of PB maybe? The only way we were able to replicate this was based on the minimumScore problem. We're uploading 4.1.2.0 later today, which changes these values automatically - please try again with that release.
Regards,
-Harlan
Quote
hpmartin
Harlan,
yes, actually I am sure that I modified the right SearchEngine.xml (in the 'res'-folder of the current installation). As I do not have any other installation of PB on my computer there is only one file with that name.
I re-tested with all versions up to PB 4.1.2.3 - but the problem still exists.
It's somehow funny that I can search for ALL other words in the record (for example I can search for 'dbmcli machgk00 superdba admin user_put' and get as the result the right thought) but if I search for the word 'xuser' this record still cannot be found.
The HTML-code of the file is as follows:

<p>dbmcli -d d10 -u superdba,admin user_put superdba PASSWORD=admin<br />
xuser -U w -u superdba,admin -d D10 -n cherwsvr3d1 -S INTERNAL -t 0 -I 0 &#160;('-l' ist grosses i, nicht kleines L)<br />
dbmcli -d D10 -U w &#62; ok</p>

<p>&#160;</p>

<p>dbmcli -d d10 -u superdba, admin user_put control PASSWORD=machgk00</p>

<p>xuser&#160;-U w -u control,machgk00 -d D10 -n cherwsvr3d1 -S INTERNAL -t 0 -I 0 ('-l' ist grosses i, nicht kleines L)</p>

<p><br />
</p>

The SearchEngine.xml now looks like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<SearchEngine name="PersonalEngine">
  <!--
    Path settings
  -->
  <Property name="indexHome"              value="index"/>
  <!--
    Don't use WordNet for now, but we may want it later
  <Property name="wordNetConfigFile"      value="res/WordNet.xml"/>
  -->
  <Property name="spellingDictionary"     value="res/english.dic"/>
  <Property name="stopFile"               value="res/stopwords.txt"/>
  <Property name="synonymsFile"           value="res/synonyms.txt"/>
  <!--
    General settings
  -->
  <Property name="minimumScore"           value="0.00"/>
  <Property name="maxResultsSize"         value="100"/>
  <Property name="maxSummaryFragments"    value="3"/>
  <Property name="additionalBreakSymbols" value=".-_/\=+&amp;#^*?()~|[]{};:&lt;&gt;,"/>
  <Property name="fuzzyFactor"            value="1"/> <!-- Disabled -->
  <Property name="enablePhoneticsFilter" value="false"/>

  <!--
    Filter settings
  -->
  <Property name="enableStopFilter"     value="true"/>
  <Property name="enableStemmerFilter"  value="true"/>
  <Property name="enableSynonymsFilter" value="true"/>
  <Property name="enableWordNetFilter"  value="false"/>  <!-- change this line also to enable WordNet -->
  <!--
    Individual index settings go below here
  -->
  <Index name="PersonalThoughts">
    <Property name="minimumScore"           value="0.00"/>
    <Property name="defaultOperator"        value="AND"/>
  </Index>
 
  <Index name="PersonalContent">
    <Property name="maxFieldLength"         value="250000"/>
    <Property name="minimumScore"           value="0.00"/>
    <Property name="defaultOperator"        value="AND"/>
  </Index>
</SearchEngine>

I also re-created a thought with the same contents but always the same.

I wonder if you have any other idea. Is there really no other user with a similar problem?

Alex

Quote
Harlan
I see the reason now - the special character &#160; is not included as a break symbol. If you search for "xuser*", you will find the result comes up as expected. Try adding that to the additionalBreakSymbols value in the XML file also so you won't have to enter the * at the end.
Regards,
-Harlan
Quote
hpmartin
Hello Harlan,
I'm sure you'll hate me, but it still does not work (now with 4.1.2.5). but I found out some strange or surprinsing things:
I modified the word ('xuser', a MaxDB-command) and the note that the trouble is all about - and part of it worked:

what I tried in the note containing the word 'xuser':
inserting the word 'xuser' at the end of any line of the note - not found
xuser at beginning of line - not found with 'xuser' or 'xuser*' BUT FOUND WITH 'XUSER' (although there is definitely no textstring 'xuser' in capital-letters in the note!!)
inserted blank before and after the word - not found
appending 'abc' to 'xuser' - found with 'xuserabc', NOT with 'xuser*'
deleting 'abc' again - NO LONGER FOUND (neither with 'xuser' nor with 'xuser*')
inserting 'yz' after first letter in 'xuser' (xyzuser) at beginning of line - found with 'xyzuser' but NOT with 'xyzuse*'
deleting 'xy' at beginning of word (no it's 'zuser') - NOT found with 'zuser'
inserting a 'z' almost at the end of the word (no becoming 'zusezr') - FOUND with 'zusezr' or 'zusez*'!
copy original note (with word 'xuser') via clipboard to new thought - not found
copy original note (with word 'xuser') via clipboard to notepad, cleaning up and back to a new thought - not found
copying the thought with PB-function - not found
inserting a new thought with a new note containing the string 'hello xuser' - FOUND!

So we can see: the search-function works as it is intended to
(1) when you search for the textstring in capital-letters although it is NOT written in capital-letters in the note (this seems strange to me)
(2) or when you modify the word somehow at the beginning, the middle or the end.
(3) or when you create a new thought and insert the word manually into the note.

I could explain (1) and (2) to myself like this:
Is it possible somehow that a kind of faulty fuzzy search of the search-engine is to blame for this? when i search for 'xuser' the engine suggests the word 'user' to search for ('did you mean...'?) because 'user' appears more than a hundred times in my notes. when i modify the word it does not see the connection to the word 'user' anymore so it really yields the expected results. Is this behaviour not to be controlled by the parameters in the searchengine.xml-file (I set them all to 0.00)? maybe they are not considered?

Alex

P.S. And last: If I copy the content of this forum-box into a new note in PB again the note is not found by the advanced search (although I can see in the HTML-view of the note that there are no special characters confining this textstring'). By the way: The text of the original note that the problem is all about was also inserted into PB via clipboard.

Quote
Harlan
One of our engineers will be looking into this shortly. Thanks.
Regards,
-Harlan
Quote

Newsletter Signup  Newsletter        Visit TheBrain Blog   Blog       Follow us on Twitter   Twitter       Like Us on Facebook   Facebook         Circle Us on Google+  Google         Watch Us on Youtube  YouTube       

TheBrain Mind Map & Mindmapping Software     Download TheBrain Mind Mapping Software