Search Engine for Smalltalk Codes

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

Search Engine for Smalltalk Codes

Zhe-Xi Lim
Hi,

I am planning to implement a search engine just like Google to ease the searching of smalltalk codes in Squeak. The current available search in Squeak has drawbacks in the sense that it goes by the conventional way of information retrieval. I would like to index all the classes, comments and methods in Squeak image to provide an intelligent, faster and efficient way of searching facility in Squeak. This will also help in promoting codes re-usability in the development of Smalltalk.

And then I would like to know if there is a search engine or information retrieval algorithms written in Smalltalk that already made available. If there is such a routine in Smalltalk, could anyone show it to me so that redundant work can be avoided?

Thanks.

Regards,
Zhe-Xi
Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

Darius Clarke
An engine for searching in memory, or searching a persistent store on disk?

- Darius

On Thu, Dec 30, 2010 at 11:37 AM, Zhe-Xi Lim <[hidden email]> wrote:

Hi,

I am planning to implement a search engine just like Google to ease the
searching of smalltalk codes in Squeak. The current available search in
Squeak has drawbacks in the sense that it goes by the conventional way of
information retrieval. I would like to index all the classes, comments and
methods in Squeak image to provide an intelligent, faster and efficient way
of searching facility in Squeak. This will also help in promoting codes
re-usability in the development of Smalltalk.

And then I would like to know if there is a search engine or information
retrieval algorithms written in Smalltalk that already made available. If
there is such a routine in Smalltalk, could anyone show it to me so that
redundant work can be avoided?

Thanks.

Regards,
Zhe-Xi
--
View this message in context: http://forum.world.st/Search-Engine-for-Smalltalk-Codes-tp3168673p3168673.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.




Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

Zhe-Xi Lim

The one persistently stores on disk.

Zhe-Xi



Darius Clarke wrote:

>
> An engine for searching in memory, or searching a persistent store on
> disk?
>
> - Darius
>
> On Thu, Dec 30, 2010 at 11:37 AM, Zhe-Xi Lim <[hidden email]> wrote:
>
>>
>> Hi,
>>
>> I am planning to implement a search engine just like Google to ease the
>> searching of smalltalk codes in Squeak. The current available search in
>> Squeak has drawbacks in the sense that it goes by the conventional way of
>> information retrieval. I would like to index all the classes, comments
>> and
>> methods in Squeak image to provide an intelligent, faster and efficient
>> way
>> of searching facility in Squeak. This will also help in promoting codes
>> re-usability in the development of Smalltalk.
>>
>> And then I would like to know if there is a search engine or information
>> retrieval algorithms written in Smalltalk that already made available. If
>> there is such a routine in Smalltalk, could anyone show it to me so that
>> redundant work can be avoided?
>>
>> Thanks.
>>
>> Regards,
>> Zhe-Xi
>> --
>> View this message in context:
>> http://forum.world.st/Search-Engine-for-Smalltalk-Codes-tp3168673p3168673.html
>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>
>>
>
>
>
>

Darius Clarke wrote:

>
> An engine for searching in memory, or searching a persistent store on
> disk?
>
> - Darius
>
> On Thu, Dec 30, 2010 at 11:37 AM, Zhe-Xi Lim <[hidden email]> wrote:
>
>>
>> Hi,
>>
>> I am planning to implement a search engine just like Google to ease the
>> searching of smalltalk codes in Squeak. The current available search in
>> Squeak has drawbacks in the sense that it goes by the conventional way of
>> information retrieval. I would like to index all the classes, comments
>> and
>> methods in Squeak image to provide an intelligent, faster and efficient
>> way
>> of searching facility in Squeak. This will also help in promoting codes
>> re-usability in the development of Smalltalk.
>>
>> And then I would like to know if there is a search engine or information
>> retrieval algorithms written in Smalltalk that already made available. If
>> there is such a routine in Smalltalk, could anyone show it to me so that
>> redundant work can be avoided?
>>
>> Thanks.
>>
>> Regards,
>> Zhe-Xi
>> --
>> View this message in context:
>> http://forum.world.st/Search-Engine-for-Smalltalk-Codes-tp3168673p3168673.html
>> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>>
>>
>
>
>
>

--
View this message in context: http://forum.world.st/Search-Engine-for-Smalltalk-Codes-tp3168673p3169103.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.

Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

Zhe-Xi Lim
In reply to this post by Darius Clarke
The one persistently stores on disk.


Zhe-Xi

Darius Clarke wrote
An engine for searching in memory, or searching a persistent store on disk?

- Darius

On Thu, Dec 30, 2010 at 11:37 AM, Zhe-Xi Lim <limzhexi@hotmail.com> wrote:

>
> Hi,
>
> I am planning to implement a search engine just like Google to ease the
> searching of smalltalk codes in Squeak. The current available search in
> Squeak has drawbacks in the sense that it goes by the conventional way of
> information retrieval. I would like to index all the classes, comments and
> methods in Squeak image to provide an intelligent, faster and efficient way
> of searching facility in Squeak. This will also help in promoting codes
> re-usability in the development of Smalltalk.
>
> And then I would like to know if there is a search engine or information
> retrieval algorithms written in Smalltalk that already made available. If
> there is such a routine in Smalltalk, could anyone show it to me so that
> redundant work can be avoided?
>
> Thanks.
>
> Regards,
> Zhe-Xi
> --
> View this message in context:
> http://forum.world.st/Search-Engine-for-Smalltalk-Codes-tp3168673p3168673.html
> Sent from the Squeak - Dev mailing list archive at Nabble.com.
>
>

bpi
Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

bpi
In reply to this post by Zhe-Xi Lim
Hi Zhe-Xi,

In 2002 Scott A. Crosby implemented full text search for Squeak. Unfortunately it was never integrated and Scott left the community. See the following post:
http://lists.squeakfoundation.org/pipermail/squeak-dev/2002-April/037964.html

If you search the mailing list for posts from around that time you will probably find more information.

The code seems to be on SqueakMap:
http://map.squeak.org/package/6e65267d-53e0-46b0-a4dd-7cb349e18f23
and on SqueakSource:
http://www.squeaksource.com/@Xjs1PWixYhd_s5Y1/nsS7RXdi

Most likely some work would be needed in order to make it run.

Cheers,
Bernhard

Am 30.12.2010 um 20:37 schrieb Zhe-Xi Lim:

> I am planning to implement a search engine just like Google to ease the
> searching of smalltalk codes in Squeak. The current available search in
> Squeak has drawbacks in the sense that it goes by the conventional way of
> information retrieval. I would like to index all the classes, comments and
> methods in Squeak image to provide an intelligent, faster and efficient way
> of searching facility in Squeak. This will also help in promoting codes
> re-usability in the development of Smalltalk.
>
> And then I would like to know if there is a search engine or information
> retrieval algorithms written in Smalltalk that already made available. If
> there is such a routine in Smalltalk, could anyone show it to me so that
> redundant work can be avoided?


Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

Zhe-Xi Lim
Hi Benhard,

Thanks for showing me the lights. I will study carefully the work done by Scott and then maybe a integrated search engine could be built on top of that.


Regards,
Zhe-Xi



bpi wrote
Hi Zhe-Xi,

In 2002 Scott A. Crosby implemented full text search for Squeak. Unfortunately it was never integrated and Scott left the community. See the following post:
http://lists.squeakfoundation.org/pipermail/squeak-dev/2002-April/037964.html

If you search the mailing list for posts from around that time you will probably find more information.

The code seems to be on SqueakMap:
http://map.squeak.org/package/6e65267d-53e0-46b0-a4dd-7cb349e18f23
and on SqueakSource:
http://www.squeaksource.com/@Xjs1PWixYhd_s5Y1/nsS7RXdi

Most likely some work would be needed in order to make it run.

Cheers,
Bernhard
bpi
Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

bpi
Hi Zhe-Xi,

I forgot to add that it would be *great* if you could revive some of this work! Full text indexing would be a great feature to have in Squeak. So feel yourself encouraged! ;-)

Cheers,
Bernhard

Am 31.12.2010 um 09:06 schrieb Zhe-Xi Lim:

> Thanks for showing me the lights. I will study carefully the work done by
> Scott and then maybe a integrated search engine could be built on top of
> that.
> bpi wrote:
>> In 2002 Scott A. Crosby implemented full text search for Squeak.
>> Unfortunately it was never integrated and Scott left the community. See
>> the following post:
>> http://lists.squeakfoundation.org/pipermail/squeak-dev/2002-April/037964.html
>>
>> If you search the mailing list for posts from around that time you will
>> probably find more information.
>>
>> The code seems to be on SqueakMap:
>> http://map.squeak.org/package/6e65267d-53e0-46b0-a4dd-7cb349e18f23
>> and on SqueakSource:
>> http://www.squeaksource.com/@Xjs1PWixYhd_s5Y1/nsS7RXdi
>>
>> Most likely some work would be needed in order to make it run.


Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

Zhe-Xi Lim
Bernhard,


Yes, I am doing this as my undergraduate degree's Final Year Project. Hopefully I may bring something great to Smalltalk Community. Stay tuned!

Thank You.


Regards,
Zhe-Xi

bpi wrote
Hi Zhe-Xi,

I forgot to add that it would be *great* if you could revive some of this work! Full text indexing would be a great feature to have in Squeak. So feel yourself encouraged! ;-)

Cheers,
Bernhard

Am 31.12.2010 um 09:06 schrieb Zhe-Xi Lim:
> Thanks for showing me the lights. I will study carefully the work done by
> Scott and then maybe a integrated search engine could be built on top of
> that.
> bpi wrote:
>> In 2002 Scott A. Crosby implemented full text search for Squeak.
>> Unfortunately it was never integrated and Scott left the community. See
>> the following post:
>> http://lists.squeakfoundation.org/pipermail/squeak-dev/2002-April/037964.html
>>
>> If you search the mailing list for posts from around that time you will
>> probably find more information.
>>
>> The code seems to be on SqueakMap:
>> http://map.squeak.org/package/6e65267d-53e0-46b0-a4dd-7cb349e18f23
>> and on SqueakSource:
>> http://www.squeaksource.com/@Xjs1PWixYhd_s5Y1/nsS7RXdi
>>
>> Most likely some work would be needed in order to make it run.

Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

SergeStinckwich
In reply to this post by Zhe-Xi Lim
On 31/12/10 15:06, Zhe-Xi Lim wrote:
>
> Hi Benhard,
>
> Thanks for showing me the lights. I will study carefully the work done by
> Scott and then maybe a integrated search engine could be built on top of
> that.

You should ask the author about the licence of his code before modifying it.

Regards,
--
Serge Stinckwich
UMI UMMISCO 209 (IRD/UPMC), Hanoi, Vietnam
Every DSL ends up being Smalltalk
http://doesnotunderstand.org/




Reply | Threaded
Open this post in threaded view
|

Re: Search Engine for Smalltalk Codes

Zhe-Xi Lim
In reply to this post by Zhe-Xi Lim
Hi,

I had created the search engine using advance indexing techniques. It is now available in Squeak Source: StSearch.

Feel free to try and give recommendations.

Zhe-Xi