473,320 Members | 1,958 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

DotLucene with ASP?

I have been successfully using Java Lucene with various Java, Python
and PHP projects, and would like to try more of a native Microsoft
approach. My immediate total newbie question is how to call functions
in Lucene.Net.dll from ASP or VBA code. I tried loading this dll with
Regsvr32 and it said the dll was not loadable. I don't really want to
start compiling C#. Is there another way to load this or create a
reference? This is so easy to do with Python, so I imagine there must
be a comparable way to do it with ASP.

Oct 26 '06 #1
3 1504
If the uses clause dont work (at the top of the class)

i would suggest to register it in the GAC (Global Assembly Cache)
Then it would be accesible from the c#

OR

I think you can import the DLL from the project using Add Reference (Right
click on the project)

Regards
Martin

<ro**********@gmail.comskrev i meddelandet
news:11*********************@f16g2000cwb.googlegro ups.com...
>I have been successfully using Java Lucene with various Java, Python
and PHP projects, and would like to try more of a native Microsoft
approach. My immediate total newbie question is how to call functions
in Lucene.Net.dll from ASP or VBA code. I tried loading this dll with
Regsvr32 and it said the dll was not loadable. I don't really want to
start compiling C#. Is there another way to load this or create a
reference? This is so easy to do with Python, so I imagine there must
be a comparable way to do it with ASP.

Oct 26 '06 #2
<ro**********@gmail.comwrote:
I have been successfully using Java Lucene with various Java, Python
and PHP projects, and would like to try more of a native Microsoft
approach. My immediate total newbie question is how to call functions
in Lucene.Net.dll from ASP or VBA code. I tried loading this dll with
Regsvr32 and it said the dll was not loadable. I don't really want to
start compiling C#. Is there another way to load this or create a
reference? This is so easy to do with Python, so I imagine there must
be a comparable way to do it with ASP.
DotLucence is a .NET version of Lucene. If you're using vanilla ASP or
VBA, you can't use .NET libraries (easily, anyway).

--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet Blog: http://www.msmvps.com/jon.skeet
If replying to the group, please do not mail me too
Oct 28 '06 #3
Yes I figured it out. Just add a reference in the Project Explorer to
Lucene.Net.dll. I was just unfamiliar with the IDE (I'm using the
Visual Studio .NET 2005 Express Web Developer and C# that I downloaded
from Microsoft - it is very nice).

After that, all the Lucene content indexing and retrieval functions
worked for web sites programmed in either C# or VB. Works pretty much
the same as the other Lucene ports I've tried. Got an intranet search
engine going in no time.

Nov 5 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: in | last post by:
I was reading about the new desktop search tool, Beagle, that will be part of the Suse 9.3 release Wednesday: http://news.zdnet.co.uk/software/linuxunix/0,39020390,39190538,00.htm The cool...
0
by: mirek | last post by:
Hello, I want to delete document from the index. How can I do this? In IndexReader, there is implemented Delete but IndexReader is abstract class, cannot be used directly, so what should I use?...
2
by: Samuel R. Neff | last post by:
What options are available for doing full-text searches of database data without using a database-specific full-text engine? The only option I've found is Google's Search Appliance but it's an...
2
by: Peter Rilling | last post by:
If anyone has experience with DotLucene, then this question might be right up your alley. I have two lists of music titles. Each from a different source. I am trying to match determine...
0
by: Peter Rilling | last post by:
I am working on trying to compare "titles" from two different lists and trying to determine the most likely match. When a similar entry appears in both, the result works well, but what I need to...
2
by: John Bailo | last post by:
This looks like an extremely cool .net project to front end the open source indexer, Lucerne, as an api: http://www.codeproject.com/aspnet/DotLuceneSearch.asp -- Get the new...
2
by: Logan Noyes | last post by:
Can anyone recommend a good, reasonably priced software package for creating search functionality on an ASP.NET site? The site has about 1000 pages and the software package I seek would need to...
3
by: Sasha | last post by:
Has anyone used dtSearch .Net Engine? What was your experience? Would you recommend it others? I am deciding on a .net search engine and would like to hear your opinion. Thank you, Sasha
0
by: Rippo | last post by:
Hi I have the following code which uses Lucene to index documents, however I want to be able to use lucene to search upon the field summary (this is a bit of text the user supplies). Should I...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.