[GeoNetwork-users] Problems with xml.search

Hello -

    In my instance of Geonetwork, I changed the backing database to Postgresql. The relevant section of WEB_INF/config.xml looks like
this

        <resource enabled="true">
            <name>main-db</name>
            <provider>jeeves.resources.dbms.DbmsPool</provider>
            <config>
                <user>geonetwork</user>
                <password>some_password</password>
                <driver>org.postgresql.Driver</driver>
                <url>jdbc:postgresql://localhost:5432/geonetwork</url>
                <poolSize>10</poolSize>
            </config>

        </resource>

    Unfortunately, xml.search now does not seem to work. If I construct a search without specifying anything to search for

            http://doemo.lib.berkeley.edu:8091/geonetwork/srv/en/xml.search?any=

    I get about 70 entries. One of the keywords is Berkeley. If I construct a search using it

            http://doemo.lib.berkeley.edu:8091/geonetwork/srv/en/xml.search?any=Berkeley

    I get 0 entries.

Any help debugging this would be appreciated;

Garey Mills
Library Systems Office
UC Berkeley

Hi Garey,

"any" is the full text field which is turn to lower case by Lucene
analyzer. So try :
http://doemo.lib.berkeley.edu:8091/geonetwork/srv/en/xml.search?any=berkeley
?

HTH.

Francois

2010/6/4 Garey Mills <gmills@anonymised.com>:

Hello -

In my instance of Geonetwork, I changed the backing database to
Postgresql. The relevant section of WEB_INF/config.xml looks like
this

   &lt;resource enabled=&quot;true&quot;&gt;
       &lt;name&gt;main\-db&lt;/name&gt;
       &lt;provider&gt;jeeves\.resources\.dbms\.DbmsPool&lt;/provider&gt;
       &lt;config&gt;
           &lt;user&gt;geonetwork&lt;/user&gt;
           &lt;password&gt;some\_password&lt;/password&gt;
           &lt;driver&gt;org\.postgresql\.Driver&lt;/driver&gt;
           &lt;url&gt;jdbc:postgresql://localhost:5432/geonetwork&lt;/url&gt;
           &lt;poolSize&gt;10&lt;/poolSize&gt;
       &lt;/config&gt;

   &lt;/resource&gt;

Unfortunately, xml.search now does not seem to work. If I construct
a search without specifying anything to search for

http://doemo.lib.berkeley.edu:8091/geonetwork/srv/en/xml.search?any=

I get about 70 entries. One of the keywords is Berkeley. If I
construct a search using it

http://doemo.lib.berkeley.edu:8091/geonetwork/srv/en/xml.search?any=Berkeley

I get 0 entries.

Any help debugging this would be appreciated;

Garey Mills
Library Systems Office
UC Berkeley

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

Francois -

    That also returns 0 results.

Garey Mills

Francois Prunayre wrote:

Hi Garey,

"any" is the full text field which is turn to lower case by Lucene
analyzer. So try :
http://doemo.lib.berkeley.edu:8091/geonetwork/srv/en/xml.search?any=berkeley
?

HTH.

Francois

2010/6/4 Garey Mills <gmills@anonymised.com>:
  

Hello -

   In my instance of Geonetwork, I changed the backing database to
Postgresql. The relevant section of WEB_INF/config.xml looks like
this

       <resource enabled="true">
           <name>main-db</name>
           <provider>jeeves.resources.dbms.DbmsPool</provider>
           <config>
               <user>geonetwork</user>
               <password>some_password</password>
               <driver>org.postgresql.Driver</driver>
               <url>jdbc:postgresql://localhost:5432/geonetwork</url>
               <poolSize>10</poolSize>
           </config>

       </resource>

   Unfortunately, xml.search now does not seem to work. If I construct
a search without specifying anything to search for

http://doemo.lib.berkeley.edu:8091/geonetwork/srv/en/xml.search?any=

   I get about 70 entries. One of the keywords is Berkeley. If I
construct a search using it

http://doemo.lib.berkeley.edu:8091/geonetwork/srv/en/xml.search?any=Berkeley

   I get 0 entries.

Any help debugging this would be appreciated;

Garey Mills
Library Systems Office
UC Berkeley

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork