IIS Search: Filter Asp Code In Abstracts
I'm having bit of a problem with a search engine. I got an intranet running in a company with IIS, Indexing Server and ASP. I've realized a search engine which also returns abstracts from the documents.
Most pages in the website are ASP pages. That doesn't mean that it draws all its contents from databases. I'm using ASP for other stuff as well. So they're basically documents, but with extras and hence ASP.
I excluded all sorts of things, e.g. "_" directories, like _vti and _private. Also directories like "include" are left out as people don't need to search for javascript code or css style sheets. Those are not relevant to the users. And finally I also give people the opportunity to make files non-searchable with a quick tag.
So what's the problem? When I perform a search e.g. for "body" (without the "" quotes) it would in this example return some results and one of those results got an abstract with evident pieces of ASP code. Code:
View Replies
ADVERTISEMENT
I have a site set up that is used for researchers to submit abstracts of their research. It is saved in a Access2k db and then admins can get at the abstract, organize them and then we have a research forum where judges, well they judge the research and give out awards.
This year we wanted to try to enable a "search abstracts" function that would allow people to search on keywords in the body and title of the abstracts.
Does anyone have any info on the best way to implement this so that I can order by largest number of word matches from the search string and such? I am hoping to now have to rewrite the db as it stands.
Right now there is a text field for the title, and a memo field for the abstract. It includes html code (from editize). I can always search by sql, I guess the hard part is making an intelligent search. Any tut's or examples?
View Replies
View Related
I am using the Index search server that comes with MS IIS 3.0. The search works ok but how do I limit the search to only HTML/ASP files and not include MS Office files in the search results?
View Replies
View Related
We've had Index Server 2.0 running on an NT4/IIS4 server for several months now. It generates document abstracts and we retreive and display them using ASP/VBScript and ADO, using the SQL-querying method rather than the proprietary Index Server objects.
We're now trying to set up a replacement server based on Index Server 3.0 and Win2000/IIS5. We have the system up and running as before, with the exception of the abstracts.
Nothing is being returned for the abstracts - no data, no error message. "Generate Abstracts" is ticked in the Catalog Properties and we've ordered any number of re-scans and Stop/Starts of the service, but we're still not seeing any abstracts.
View Replies
View Related
I want the ASP code to pull data from the database. If i enter one of the field in the form and then click on Search button, the data for the other fields should automatically pop up.
View Replies
View Related
I have a site and i have a text box for someone to type in a zip code. i nee dto know how to program, or locate a database, where the results will display my business location(s) by zipcode and display the total distance between the zip code entered by the visitor to the site, and my locations.
like Midas has on their site (www.midas.com) where you type in a zip code and it returns the store locations and how far away they are from you.
View Replies
View Related
I am trying to implement a search form that lets people find businesses by zip codes with a certain distance (e.g. 10, 20, and 50 miles).what do I need to buy to have the resources to do this? I have seen some zip code databases but I am not sure how to setup the distance from point A to point B and return the results within the distance.
View Replies
View Related
I am creating student website and wants to create some featuer like if user come on my side and type his/her student id in provided SEARCH FIELD [TEXT BOX] that page will display perticular information of that user but before that it will ask for login name and password as well. I am making my website in XHTML [front end], JAVA SCRIPT[validation], ASP [server coding], IIS server.
View Replies
View Related
I'm trying to work out how to do a post code search with longitiude and latitude, the idea is to be able to input yuor postcode and the search will return all company stores in that area.
View Replies
View Related
i need code for search webpage meta keywords and meta description i need the webpage to be indexed completely up on entering webpage url.
View Replies
View Related
can anyone tell me where i can get a good tutorial for a quick search.
View Replies
View Related
point me to some example code of searching for a file, like *.*, or *.pdf, much like the Windows search function. I am at a smaller location, away from the main office, and although I can map a drive or just use to go to the desired location, the connection is too slow to search.
I'd like to implement a search function on the intranet web (at the main office), where it will search a certain directory and its subdirectories and return the results as network links (using the convention); actually it doesn't matter how it displays the links, as long as it shows me where stuff is. That way the search is run on the computer where the originating directories are.
View Replies
View Related
Is it possible to hide code from search engines. We have a dynamical asp-home page that takes two text files per page. One text file contains meta information. I want to stop all search engines to include this text file in the search result.
View Replies
View Related
I'm pretty new to this and im in the process of developing a site for a wildlife photographer in ASP and i need to implement an image search on the site including the functionality to add images to a lightbox etc. And to be honest i just dont know where to start... been searching and currently still searching .....
View Replies
View Related
Got a chinese website (has both chinese character and english), got to code search function for it, search for keywords in the webpages (htm/asp)
search in english it works, no problem
search in chinese it doesn't - it always return "nothing found"
you guys any idea?
View Replies
View Related
Ive written some ASP code to list information from a table in my database.. what i need is a drop down list to list all the regions (provided by a table called tblRegion), and when the region is selected that re-queries the list.. Code:
View Replies
View Related
I've got a website that I've been making some changes too as of late. It's not my website so I've been learning a lot, especially since I'm fairly new to coding and webdesign. So keep in mind, I'm just a newb. If there's not enough info here to allow anyone to help, just say so and I'll figure it out on my own. Here's my problem...
This site I'm working on has all kinds of directories and allows certain people within a company to upload files to certain directories. I've got a .asp file that shows all of the content providers for all directories in a table.
I want to make it so that in my directorylist.php file there's a button that will allow a user to click on this "View Content Providers for this Directory" button and it will read/filter this asp file, and spit out a list of only the users who have authority to upload files to that particular directory that the user is looking at.
Is there some way to link the two files to do that? Or is it just a change I need to make in the loop in the asp file or perhaps a change in the php file? I'll provide a piece of code from the .asp file. Code:
View Replies
View Related
On my page i run a SQL query that selects certain records from the database,
Is there any way to select a specific record from the recordset then another one. e.g. say i run a SQL that picks up all records with ID < 30 and then i want to pick one with an ID of 1 and then one with an ID of 4 without re-running the SQL query?
View Replies
View Related
I had an sql statement like 'WHERE MID(id,4,1) = 3' but when I try to use the filter method it returns the error:
'Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.'
rs.filter = "MID(id,4,1) = 3"
Thats what its supposed to look like right
View Replies
View Related
I've used Rs.Filter several time sin my code and they all work fine. However when I use
Code:
Rs.Requery adAsyncExecute
Rs.Filter = DateDiff("n",lastedit,NOW) < 15
I get
Quote:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another. Am I typo'ing something or can I just not use DateDiff in a filter?
View Replies
View Related
I am trying to get my SQL Query to to through a list of faults, and pull all the records from the previous month (say now is july(7) it pulls all from june (6)
the current SQL i have is....
SELECT Faults.DateAdded, Faults.[Teacher ID], Faults.[Computer ID], Faults.[Type of Fault], Faults.[Description of Fault], Faults.Fixed
FROM Faults
WHERE ((Month([DateAdded])=Month([Date])-1));
but this doesn't work, can anyone assist?
View Replies
View Related
I'm using APS VBScript web page on an Access2000 database and I am trying to select from a recodset using a date as the criteria.
I keep getting ADODB Data Type Mismatch errors no matter what I do to the database field (which hold a date/time) or the URL.
My URL looks something like ... result.asp?id='3/20/2005'...
The database field is an Access date/time field formatted to mm/dd/yyyy.
View Replies
View Related
Isapi is installed and rules are working. Now I have to change the links of my shopping cart from dynamic to url friendly.
How can I change the internal links of my cart in an automatic manner (some script maybe)? I am trying to avoid to go trhought the proces of 'seach and replace'.
I know it is possible to do it in PHP with one scripf for each kind of friendly url link. I am wondering if this can be done in ASP, better said, if the scripts are already done ready to adapt as I am not a coder.
View Replies
View Related
I have information in a database with the following structure:
3 Divisions - each division has several districts. Each district has several regions and each region has several areas.
I have a recordset of every area with the region, district and division they belong to.
I have 4 drop down menus on my page - area region, district and division.
How can I filter my recordset before each dropdown, so it only has DISTINCT records
View Replies
View Related
How do I create an asp page that searches two tables in my database. I want to create a page with multiple drop down lists which a visitor selects to filter my database results. For example a visitor can select to search the database for products with COLOR red and SIZE large - or COLOR black and SIZE small - How do I do this? Is it complicated because I am new to this ASP lark
View Replies
View Related
I want to dynamicaly filter the members in my pivottable.
Here you see how it's done the static way:
pview.RowAxis.InsertFieldSet pview.FieldSets("manager)
Set fld = pview.FieldSets("manager").Fields(0)
fld.FilterFunction = c.plFilterFunctionInclude
fld.FilterMembers = Array("ZWAENEPOEL Geert","VAN COILLIE Caroline")
but I receive the selected members from another page, they are all in
the field 'selectedmembers', so I tried this:
fld.FilterMembers = Array(selectedmembers.value)
View Replies
View Related
i have recordset rs on that i am applying filter as:
rs.Filter = " PRCD = '"&product&" ' and HQ_NAME='"&hqs"' "
here,PRCD is Column of datatype varchar(20)
HQ_NAME is Column of datatype varchar(20)
the problem is with PRCD,if substitue value directly as :
PRCD='SLO1NMK' filter is working but PRCD = '"&product&" '
not working.where as HQ_NAME='"&hqs&"' is working individually fine
View Replies
View Related
Does anyone know where to find a good working MS Word-tag filter, or how to build this.
View Replies
View Related
I've got a Access database of business information.I've made an ASP page with 26 hyperlinks, relating to each letter of the alphabet.I want each hyperlink to fire up a page which only shows the business names starting with that letter of the alphabet.
How can I write the href?I've got:
<a href=cat.asp?business=<% = rsProds("biz") %>>A</a> that wouldn't work since we only want businesses starting with A to be shown.
How do I make the value for bizname pass an sql LIKE 'A%' statement to cat.asp?
Is there a way to minimize the code for each hyperlink or does each letter have to be written out?What will the SQL statement in the resultant page the variable's sent to (cat.asp) look like?
View Replies
View Related
How can I filter by folder with ASP & Site Server 3.
I have no control over the catalog.
View Replies
View Related
is there any option for using the functionality,given by filters?Does filter take lot of time?
View Replies
View Related
I have an access table which I filtered with the code below.
'''''''''## FILTER AND SORT MAIN TO SOFTWARE ##''''''''''
rsMain.Filter = "asset = ' " & rsSoft("assetnumber") & " '"
'''''''''## END FILTER AND SORT MAIN TO SOFTWARE ##''''''''''
My question is is there a command that will return the amount of records in rsMain without using loops (while Do ect)?
View Replies
View Related
does anyone know where i can get a good free javascript that sorts, filters and pages my ASP page? if it will work with my ASP page and if this is the best way?
View Replies
View Related