Showing posts with label base. Show all posts
Showing posts with label base. Show all posts

Wednesday, March 21, 2012

punctuation in fulltext searches

I am using Fulltext search in a web application I wrote for our
company that is bascially a knowledge base search engine - the app
searches and returns matches against our SQL 2000 database. The
problem I am having is this:
I cannot seem to figure out how to search for phrases, booleans, and
search terms with punctuation, etc.
For example:
searching for the filename history.dbf becomes historydbf
searching for "this exact phrase" becomes the 3 seperate keywords
this, exact, and phrase.
I currently have code in the web app that strips out punctuation and
anything other than letters/numbers, because when I was allowing them,
my searches were blowing up with errors.
Can anyone help me to understand how can I allow these kinds of
searches without blowing up the app or crashing the sql search?
The app is located at http://www.resourcesystem.com/kb
Thanks in advance for any help or advice anyone might have for me!
Brad Miller
bmiller@.tdpi.com
I'm a little confused by your question. When I search on history.dbf I get
hits to history.dbf not historydbf.
If I search on "this exact phrase" using contains, I get hits to only "this
exact phrase"
If I search on boolean phrases, ie "this and that" the boolean operator is
ignored. It is effective when you do contains searches though.
Can you perhaps post your exact query here?
"Brad Miller" <bmiller@.tdpi.com> wrote in message
news:37725671.0403241019.7c4a8270@.posting.google.c om...
> I am using Fulltext search in a web application I wrote for our
> company that is bascially a knowledge base search engine - the app
> searches and returns matches against our SQL 2000 database. The
> problem I am having is this:
> I cannot seem to figure out how to search for phrases, booleans, and
> search terms with punctuation, etc.
> For example:
> searching for the filename history.dbf becomes historydbf
> searching for "this exact phrase" becomes the 3 seperate keywords
> this, exact, and phrase.
> I currently have code in the web app that strips out punctuation and
> anything other than letters/numbers, because when I was allowing them,
> my searches were blowing up with errors.
> Can anyone help me to understand how can I allow these kinds of
> searches without blowing up the app or crashing the sql search?
> The app is located at http://www.resourcesystem.com/kb
> Thanks in advance for any help or advice anyone might have for me!
> Brad Miller
> bmiller@.tdpi.com
sql

Saturday, February 25, 2012

publish report

Hello,

I have create a web base project that will programmatically publish report into report server 2005.

But when i run the code, i need to create a shared data source and set the DataSourceReference.

Is there any ways else so that i no need to create a shared data source but still can publish the report in report server 2005 using custom data source?

Thanks.

You don't have to use shared datasource. You can just define a report specific datasource, in which case, all the datasource properties are embedded in the rdl. http://msdn2.microsoft.com/en-us/library/ms159165.aspx