Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Interfaces Pgadmin Hackers > Re: Sup****t fo...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 7 of 13 Topic 4676 of 4873
Post > Topic >>

Re: Sup****t for integrated tsearch configuration

by guillaume@[EMAIL PROTECTED] (Guillaume Lelarge) Aug 1, 2008 at 12:05 PM

Dave Page a écrit :
> On Sat, Jun 28, 2008 at 1:54 PM, Guillaume Lelarge
> [...]
>> I was sure I was following the "collection nodes and objects nodes" way
of
>> doing. Here are some ascii artwork:
>>
>> - Databases (3)
>>  + DB1
>>  + DB2
>>  - DB3
>>    + Catalogs (2)
>>    + Casts (0)
>>    + Languages (0)
>>    + Schemas (1)
>>    + Replication (0)
>>    - Text Search
>>      + Configurations (2)
>>      + Dictionaries (2)
>>      + Parsers (2)
>>      + Templates (2)
>>
>> Seems you're right. The Text search node is neither a collection
neither an
>> object one. Unfortunately, I don't have a better one.
> 
> Logically I think the design is correct - the only 'more correct' way
> would be to put the objects directly under a database, but that would
> be quite ugly I think.
> 
> What you propose should work - it just might need a little thought.
> Maybe we need a 'pgGroupObject' node type. Something to ponder on in
> spare minutes rather than your 5 days I suspect :-)
> 

I worked three days on it. The fourth was more about testing it on 
different platforms (GTK, Windows, Mac). Now, It's working. I don't 
attach the patch because it's really big, but here is a URL to get it 
compressed:

   http://developer.pgadmin.org/~guillaume/fts.patch.bz2

I was wrong on the layout of the text search objects inside the 
treeview. They all belong to a schema, so they are part of a schema 
node. You can see some screenshots on my blog:

  * the treeview:
    http://blog.guillaume.lelarge.info/public/pgadmin_fts/fts5.png

  * text search configuration dialog:
    http://blog.guillaume.lelarge.info/public/pgadmin_fts/fts3.png
    (not uptodate screenshot, it lacks the Tokens tab)
    http://blog.guillaume.lelarge.info/public/pgadmin_fts/fts9.png

  * text search dictionary dialog:
    http://blog.guillaume.lelarge.info/public/pgadmin_fts/fts7.png
    http://blog.guillaume.lelarge.info/public/pgadmin_fts/fts8.png
    (not uptodate screenshot, the add and changes buttons merge in a
    single one)

  * text search parser dialog:
    http://blog.guillaume.lelarge.info/public/pgadmin_fts/fts6.png

  * text search template dialog:
    http://blog.guillaume.lelarge.info/public/pgadmin_fts/fts4.png

They all are resizable, so the ones that use wxListCtrl widget suffer 
the Mac issue.

Comments?


-- 
Guillaume.
  http://www.postgresqlfr.org
  http://dalibo.com

-- 
Sent via pgadmin-hackers mailing list (pgadmin-hackers@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
 




 13 Posts in Topic:
Support for integrated tsearch configuration
guillaume@[EMAIL PROTECTE  2008-06-28 00:45:35 
Re: Support for integrated tsearch configuration
dpage@[EMAIL PROTECTED]   2008-06-28 13:22:16 
Re: Support for integrated tsearch configuration
guillaume@[EMAIL PROTECTE  2008-06-28 14:54:18 
Re: Support for integrated tsearch configuration
dpage@[EMAIL PROTECTED]   2008-06-28 14:00:07 
Re: Support for integrated tsearch configuration
Jon.Roberts@[EMAIL PROTEC  2008-06-28 13:20:01 
Re: Support for integrated tsearch configuration
guillaume@[EMAIL PROTECTE  2008-06-29 10:14:38 
Re: Support for integrated tsearch configuration
guillaume@[EMAIL PROTECTE  2008-08-01 12:05:46 
Re: Support for integrated tsearch configuration
dpage@[EMAIL PROTECTED]   2008-06-30 08:49:08 
Re: Support for integrated tsearch configuration
dpage@[EMAIL PROTECTED]   2008-08-04 12:01:03 
Re: Support for integrated tsearch configuration
guillaume@[EMAIL PROTECTE  2008-08-10 12:20:42 
Re: Support for integrated tsearch configuration
guillaume@[EMAIL PROTECTE  2008-08-11 21:49:23 
Re: Support for integrated tsearch configuration
dpage@[EMAIL PROTECTED]   2008-08-11 20:53:36 
Re: Support for integrated tsearch configuration
guillaume@[EMAIL PROTECTE  2008-08-11 22:13:39 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 23:07:59 CST 2008.